Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
r.tpicalculates a multiscale version of the Topographic Position Index (TPI) of Guisan et al. (1999). The TPI is calculated by averaging a DEM over a user-specified moving window size and subtracting the original DEM from the averaged version to get the residual. This has the effect of extracting finer-scale landforms from regional-scale relief. Positive TPI values represent ridges or hills, and negative TPI values represent valleys or pits.
Unlike the original TPI, r.tpi implements a multiscale version that calculates a standardized TPI over multiple neighborhood radii from minradius to maxradius, starting at the largest neighborhood size. For subsequent steps, the standardized TPI is updated with pixels where the absolute TPI values exceed the TPI values of the previous step. For large neighborhoods > 15, resampling is used rather than a focal function to generalize the DEM.
g.region raster=elevation@PERMANENT -a r.tpi input=elevation@PERMANENT minradius=1 maxradius=25 steps=5 output=tpi
Available at: r.tpi source code (history)
Latest change: Mon Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55
Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual