[GRASS-user] TPI (terrain position index) in GRASS GIS

Stefan Blumentrath Stefan.Blumentrath at nina.no
Thu Oct 8 03:50:32 PDT 2020


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 <grass-user-bounces at lists.osgeo.org> On Behalf Of Bernardo Santos
Sent: torsdag 8. oktober 2020 12:35
To: GRASS User List <grass-user at lists.osgeo.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20201008/2620e24a/attachment.html>


More information about the grass-user mailing list