Name

ST_TPI — Returns a raster with the calculated Topographic Position Index.

Synopsis

raster ST_TPI(raster rast, integer nband, raster customextent, text pixeltype="32BF" , boolean interpolate_nodata=FALSE );

Description

Calculates the Topographic Position Index, which is defined as the focal mean with radius of one minus the center cell.

[Note]

This function only supports a focalmean radius of one.

Availability: 2.1.0

Examples

-- needs examples