There are many question occurring on this forum regarding this issue, however the issue I am facing has not been answered in Generating DEM from contour Shapefile using QGIS?, which is that I have contour line data. Not point data.

Following the steps in Generating DEM from contour Shapefile using QGIS?. I have used SAGA Tool in the Processing Toolbox. Selected the Triangulation Tool from the Raster Creation Tools.

At this point It asks for the 'points' required for rasterising. But I want to input 'line data' does anyone know how to do this?

below shows the 'line data expressed in QGIS' enter image description here

the purpose behind this is due to the fact I need to create a 'height profile' using the Profile tool to create a cross section area from contours as seen in the example below.

enter image description here

I am using QGIS V 3.4

  • You can convert the contour lines into points with a tool like points along geometry or extract vertices – csk Jul 30 '19 at 16:21
  • Thankyou @CSK, I also found out another way which I will put below – Bodhi Jul 31 '19 at 8:55

This can be done using the

MMQGIS plugin

Once added it will show up in the tool bar at the top of the screen. Select/highland the 'line.data' layer you want to convert to 'points.data'. click on MMQGIS and a drop down will appear. Then click on Modify and then Convert Geometry Type

Then a box appears as seen below -->

enter image description here

Change the 'New Geometry Type' to nodes from default 'line centers' and save the output file. Once ready click apply and this will change line data to point data

| improve this answer | |

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.