I have a slope layer and I want to calculate the average slope along a line. This line isn't necessarily straight (e.g its a route, I would like to be able to input geographic coordinates along that line and have a script that outputs the average slope). Is this possible?
|
A simple approach that you could automate in ArcMap using Python would be to break your line into points at a chosen interval As @whuber mentioned there is an accuracy trade-off with simplicity, but if you're looking for a simple solution that you could script quickly the above should help. |
|||||||
|
|
If the slope layer only gives the slope value, it is not possible. To calculate the average slope value along the line you also need the slope planar orientation. The whole slope vector is necessary. Keep in mind slope computation usually depends a lot on the input DEM resolution. |
|||||
|
