I work with QGIS 2.14 and I want to create a map of road network showing the slope of each road with at least this scale: <3%; 3-5%; 5-7%; 7-9%; >9%. I already have a vector layer of roads and the DEM. However, calculating the slope directly using the DEM data is not correct given that all my roads do not have the same direction as the direction of the slope. When I implement this step, some of my roads that are fully flat are referenced as being steep, although it follows the contours of the hill without climbing or descending.

I am absolutely not used to work with GRASS or any solution where coding skills are required.

I know that the website OpenRunner provides a solution but the categories are 0-5%, which is not precise enough for me.


1 Answer 1


There's an add-on called road slope calculator.

It does exactly what you want, you need a DGM and a shapefile of your road. Your minimal resolution is 5-times the DEM's pixel-size. For my case this is 5m hence the minimum segment-lenght for wich I could calculate slope would be 25 m.

enter image description here

Your output holds the height of start and end of the respective segment as well as lenght and percentage:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.