0

I'm working on QGIS, How do I intersect a DEM and a polyline to get the longitudinal section of a river?

3

This is what the 'profile from line' plug-in is for :)

N.

  • 3
    There is also the Profile plugin which I find more useful. – Nathan W Sep 20 '12 at 13:16
  • Did you mean "Profile Tool" plugin? There is also a "Profile export" plugin in the list. – AndreJ Sep 20 '12 at 18:10
3

Try the Profile from Line plugin. Make a line shapefile of the "longitudinal section" then run the plugin with your DEM and the line shape loaded. (Be sure to select the DEM raster in the plugin window). It creates a point layer with the DEM value as an attribute column.

  • It's creating a layer with only 2 points (at the ends of the line), I cannot understand why.... – Luca De Marchi Sep 20 '12 at 14:22
  • 1
    Most probably you have WGS84 4326 and the interval set to 4, which means 4 degrees of lat/lon. Try with an interval of 0.01, or a projected CRS with metres as units. – AndreJ Sep 20 '12 at 17:56
  • @Micha: Do you refer to the "Profile from line" plugin? – AndreJ Sep 20 '12 at 18:11
  • @Andre: Yes, I got the name wrong. Thanks for the correction. – Micha Sep 21 '12 at 6:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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