Hi Stefan,
Sure, that makes all sense! I am not used to DEM-realted indices, but I could 
have just thought a little...Thanks a lot!
B

    Em quinta-feira, 8 de outubro de 2020 12:50:35 GMT+2, Stefan Blumentrath 
<stefan.blumentr...@nina.no> escreveu:  
 
 #yiv0189279323 #yiv0189279323 -- _filtered {} _filtered {} _filtered 
{}#yiv0189279323 #yiv0189279323 p.yiv0189279323MsoNormal, #yiv0189279323 
li.yiv0189279323MsoNormal, #yiv0189279323 div.yiv0189279323MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:sans-serif;}#yiv0189279323
 a:link, #yiv0189279323 span.yiv0189279323MsoHyperlink 
{color:#0563C1;text-decoration:underline;}#yiv0189279323 a:visited, 
#yiv0189279323 span.yiv0189279323MsoHyperlinkFollowed 
{color:#954F72;text-decoration:underline;}#yiv0189279323 
p.yiv0189279323msonormal0, #yiv0189279323 li.yiv0189279323msonormal0, 
#yiv0189279323 div.yiv0189279323msonormal0 
{margin-right:0cm;margin-left:0cm;font-size:11.0pt;font-family:sans-serif;}#yiv0189279323
 span.yiv0189279323EmailStyle18 
{font-family:sans-serif;color:windowtext;}#yiv0189279323 
.yiv0189279323MsoChpDefault {font-size:10.0pt;} _filtered {}#yiv0189279323 
div.yiv0189279323WordSection1 {}#yiv0189279323 
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-boun...@lists.osgeo.org>On Behalf Of Bernardo 
Santos
Sent: torsdag 8. oktober 2020 12:35
To: GRASS User List <grass-user@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
   
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to