SAGA-GIS Tool Library Documentation (v6.1.0)

Tool Topographic Position Index (TPI)

Topographic Position Index (TPI) calculation as proposed by Guisan et al. (1999). This is literally the same as the difference to the mean calculation (residual analysis) proposed by Wilson & Gallant (2000). The bandwidth parameter for distance weighting is given as percentage of the (outer) radius.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputElevationGrid (input)DEM--
OutputTopographic Position IndexGrid (output)TPI--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
StandardizeBooleanSTANDARD-Default: 0
ScaleValue rangeRADIUSkernel radius in map units-
Weighting FunctionChoiceDW_WEIGHTING-Available Choices:
[0] no distance weighting
[1] inverse distance to a power
[2] exponential
[3] gaussian weighting
Default: 0
Inverse Distance Weighting PowerFloating pointDW_IDW_POWER-Minimum: 0.000000
Default: 1.000000
Inverse Distance OffsetBooleanDW_IDW_OFFSETCalculates weights for distance plus one, avoiding division by zero for zero distancesDefault: 1
Gaussian and Exponential Weighting BandwidthFloating pointDW_BANDWIDTH-Minimum: 0.000000
Default: 75.000000

Command-line

Usage: saga_cmd ta_morphometry 18 [-DEM <str>] [-TPI <str>] [-STANDARD <str>] [-RADIUS_MIN <double>] [-RADIUS_MAX <double>] [-DW_WEIGHTING <str>] [-DW_IDW_POWER <double>] [-DW_IDW_OFFSET <str>] [-DW_BANDWIDTH <double>]
  -DEM:<str>            	Elevation
	Grid (input)
  -TPI:<str>            	Topographic Position Index
	Grid (output)
  -STANDARD:<str>       	Standardize
	Boolean
	Default: 0
  -RADIUS_MIN:<double>  	Scale
	Value range
  -RADIUS_MAX:<double>  	Scale
	Value range
  -DW_WEIGHTING:<str>   	Weighting Function
	Choice
	Available Choices:
	[0] no distance weighting
	[1] inverse distance to a power
	[2] exponential
	[3] gaussian weighting
	Default: 0
  -DW_IDW_POWER:<double>	Inverse Distance Weighting Power
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -DW_IDW_OFFSET:<str>  	Inverse Distance Offset
	Boolean
	Default: 1
  -DW_BANDWIDTH:<double>	Gaussian and Exponential Weighting Bandwidth
	Floating point
	Minimum: 0.000000
	Default: 75.000000