You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make it work correctly with geographic (lat/long) data. I'm actually going to add TPI to my DEM Surface Tools extension (http://www.jennessent.com/arcgis/surface_area.htm), and I will make it work correctly with both projected and geographic data. It is actually not that hard; you just need to build an array (or some other data structure in memory) that holds the north/south, east/west and diagonal cell-to-cell distances for each row in the DEM. Then, when you are calculating the east-west and north-south gradients (i.e. to get slope), you just adjust your calculations using those true cell-to-cell distances. I think I have all this illustrated in the manual for the DEM Surface Tools (at least conceptually; I don't get into coding details in the manual).
The text was updated successfully, but these errors were encountered:
A suggestion from Jeff Jenness:
The text was updated successfully, but these errors were encountered: