Hi Brenado,

TPI is rather simple and can be computed with r.neighbors + r.mapcalc:

r.neighbors -c input=dem output=dem_avg_9 size=9
r.mapcalc expression=”TPI_9=dem-dem_avg_9”
g.remove -f type=raster name=dem_avg_9

Cheers
Stefan

From: grass-user <[email protected]> On Behalf Of Bernardo 
Santos
Sent: torsdag 8. oktober 2020 12:35
To: GRASS User List <[email protected]>
Subject: [GRASS-user] TPI (terrain position index) in GRASS GIS

Hi everyone,

Do any of you know if we can calculate TPI (terrain position index) in GRASS 
GIS?
Or should we go for other tools such as SAGA GIS?

Best wishes,
Bernardo Niebuhr
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to