Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
    
What about extracting line vertices elevations and looking for your 50 m change there? –  Baltok Jan 14 '13 at 14:41
    
What exactly is the "rise"? Is it the absolute value of the difference in elevations at the endpoints, or is it perhaps the range of elevations encountered throughout the segment? How do you propose to distinguish a rise of 50 m from a fall of 50 m? –  whuber Jan 14 '13 at 16:05
    
My answer to this question may help you: gis.stackexchange.com/questions/21211/… –  blindJesse Jan 14 '13 at 22:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.