I have a geopackage (Ordnance Survey Terrain 50) that has two layers: a layer with contours but no elevation data, and a layer of point elevation data.

I'd like to create a DEM. The technique I've found requires contours that have elevation data. How do I combine the two layers in QGIS to give me this?

  • Ususally you can interpolate a DEM from point data (TIN or IDW-interpolation). Depending on the spacing of the points you may come up with a relatively low resolution.
    – Erik
    Commented Feb 4, 2020 at 10:46
  • Thanks for the response.
    – flyhigher
    Commented Feb 5, 2020 at 11:17

1 Answer 1


You don't need to create a DEM from the contours and spot heights, you can download the DEM directly. Select "ASCII Grid and GML (Grid): 162 Mb" on the OS Terrain® 50 download page.

enter image description here

If you really want to interpolate from the contours and spot heights... The contours do contain elevation. As per the user guide, the elevation of each contour is stored in the propertyValue attribute:

The draft INSPIRE elevation specification requires height values to be held in an attribute called ‘propertyValue’

enter image description here

  • That's very helpful. Thanks.
    – flyhigher
    Commented Feb 5, 2020 at 11:07

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.