I have a layer showing elevation curves and I'm trying to create an elevation profile using the Terrain Profile plugin. However, I only get a flat line. My guess is that I need to add Z values to the curves. The layer attribute table does have a column with height values(hoyde). enter image description here

Can this be done?


The Profile Tool you are using says that it:

plots profile lines from raster layers or point vector layer with elevation field

This means that it won't work on contours which is what you have. Two options are:

  • To get a Digital Elevation Model (DEM) from your contours by following the steps described in this answer.


  • Convert the contours to points. This could be done with the 'Points along Geometry' tool, described here.

Terrain data can be confusing on first acquaintance as there are lots of ways of representing it. There is a general tutorial here.

  • 1
    You may also be able to download a DEM for your area of interest. If available, it will be more accurate than converting the contours to a DEM, since the contours were probably created from a DEM in the first place, and you lose some information every time you do a conversion. – csk Apr 3 '19 at 17:43

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.