QGIS: calculate slope of line-segments

المشرف العام

Administrator
طاقم الإدارة
Using QGIS, I'd like to achieve the same as in question calculate-slope-of-street-segments.

I have a shapefile with lines (rivers) and a DEM. So I suppose the best way is somehow like this:

1 - create Spatialite-DB from Line-Shapefile

2 - calculate start-point and end-point as suggested by Micha in question how-to-convert-lines-to-start-points-and-end-points (probably adding these values to the same layer?)

3 - somehow calculate altitude of these points from DEM and add it to the same layer (should be possible in QGIS, no?)

4 - then calculate slope of lines from lenght and point-altitudes

Is this making sense? Would there be an easier way?



أكثر...
 
أعلى