Logo

Comparison of interpolation methods

interpol_comparison.zip (use QGIS3 and open the project file interpol_comparison.qgz)

The original samples are in the CSV file samples.xyz, a real gridded terrain in Tasmania (Australia) was randomly sampled with points that are far from each other.

Then, to ensure that no artefacts are created at the border of the dataset, an area in the middle of that dataset was chosen to perform interpolation with different methods.

All methods were used exactly at the same locations (centre of pixels). The output files contain the name of the method, and eventually the parameters used. The interpolation methods used are:

  1. IDW: (inverse distance to a power); r1500 == radius of 1500units; n10 == 10 closest neighbours; p2 == power of2
  2. laplace
  3. nn: nearest neighbour
  4. nni: natural neighbour (linear version)
  5. nni_c1: natural neighbour (C^1)
  6. tin: linear interpolation in a (Delaunay) TIN
  7. tin: C^1 interpolant in a (Delaunay) TIN

The best way to visualise the results is to use the plugin qgis2threejs and use the 3D view as an alternative for the QGIS3 3D-view, it is far more stable and robust for me. You can zoom in/out, and select interactively which datasets to display.