QGIS Interpolation – How to Create a Raster Heightmap from Contour Lines in a Vector Layer

interpolationqgis

I'm a beginner with GIS software and I'm trying to get a raster greyscale heightmap from contour lines (read from a GeoPackage) in QGIS.

I'm using the Grid interpolation tools (menu Raster>Analysis>Grid (***)), and I'm faced with two issues:

  1. It only seems to work from points vector layers and not lines (I'm not able to select a line layer in the dialog box).

  2. If I use a point layer (for test purposes only), I cannot find how to specify the 'size' of pixels (which are way too big with the default settings).

Am I using the right tool? What am I missing?

Best Answer

The easiest way would be to use TIN-Interpolation from the Toolbox which can take a contour-line layer for input:

enter image description here