I have a DEM of Sudety mountains and linear .shp with several hiking paths.
I'm trying solve one problem: How to make a script based on input DEM and input line shapes that would count number of segments of hiking path where the terrain rise is higher than 50 meters or lower than -50 meters and sum these that are >50m to one field and that are <50m to another field.
I was trying to solve this problem with 3D line stack profiles and
arcpy.UpdateRowCursor, but don't know how to order an iteration that would compare row.HEIGHT with row.HEIGHT of the previous row.
Another question is how to name stack profile's output tables by a field name of particular row?