I'm trying to follow this tutorial so I have a method for creating contours in QGIS because I find the contours generated by the contour plugin a bit strange (very sharp edges and whatnot).

I can't get past the first stage of creating the raster using IDW interpolation.

I get the following error when I "Run as batch process":

NameError: name 'QgsDoubleSpinBox' is not defined

I am using QGIS 3.6 Noosa

I'm wondering if anyone can successfully create the raster and how to do it? Can anyone successfully do the whole tutorial in 3.6 or whatever version they're using?

There is downloadable input files with the tutorial and so I downloaded them and I add the layer as a vector layer. I have tried using the .dbf, .shx and .shp but they all produced the same error for me.

I'm new to QGIS so I might be doing something wrong.

Points to Raster to Contour Lines Tutorial

bumped to the homepage by Community yesterday

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


Try this tutorial How to create contour line in QGIS 3

  • I have successfully used that method to create contours, but I am not happy with the output. It produces very angular contours. Might be better for terrain than for environmental chemical concentrations. I am looking for a solution that gets the IDW interpolation working. Basically wondering if anyone else has been able to do it successfully and what I'm doing wrong. – Keith Apr 4 at 2:08
  • Yes, Contouring is suitable for terrain interpolation. For environmental application spatial interpolation like IDW, Kriging, etc works better. If you have problem especially about how to do IDW interpolation in QGIS, take a look this tutorial how to perform idw interpolation in QGIS. Hopefully it would help – Ideagora Geomatics Apr 5 at 4:56

If you have generated contours from a point based file using the Contour plugin, you may want to try using the Processing Toolbox, QGIS Vector Geometry "Smooth" routine.

Set your tolerances to what you can live with, and start with 5 iterations. The routine will create a temporary layer which can be made permanent.

I do this quite frequently with Topographic Point survey data. It takes a little bit of trial and error, but the routine is fast, and you can tailor the results to what you desire.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

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.