Sample Elevation GDAL Grid Method

Sample Elevation GDAL Grid Method#

To interpolate the elevation to a grid layer from a using the GDAL Grid method.

../../../_images/Sample002.png

Sample Elevation#

  1. Click the Sampling grid elevation from point or raster file button and enter the required data in the dialog fields. As shown below.

  2. Select the Fill NODATA option to set the elevation of empty grid elements from neighbors.

  3. Click Run.

../../../_images/Sample003.png
  1. Learn more about the GDAL Grid method with the help buttons.

  2. Click the button once to load a GDAL page with interpolation algorithm data.

  3. Click the button again to load a GDAL grid tutorial.

../../../_images/Sample004.png
  1. When the interpolation process is complete, several new elevation files are written to the project elevation directory.

  2. The clipped elevation raster to eliminate excess data.

  3. The elevation csv file is used for the interpolation.

  4. The elevation_xyz_gdalgrid.tif is sampled to the grid layer.

../../../_images/image5.png
  1. A log of the interpolation process helps the user track the progress.

  2. The user can set the CPU thread count and the memory cache allowed by the processors. This ensures the computer will not slow down while the optimized calculations are performed.

  3. Once the Finished Computation message appears. Click Close.

Check this image here:

../../../_images/Sample006.png

Troubleshooting#

  1. This process can be slow if the project has high resolution elevation data. If LiDAR point data is being used, try the LiDAR processor instead. If a high-resolution raster is being used. try the Sample Elevation from Raster instead.

  2. If the elevation data has the wrong CRS or does not have complete coverage, calculation may still be performed but the elevation will be no good. Always spot check the elevation.

  3. If the Finished Computation message is displayed but the grid table still has -9999 as the elevation, the raster CRS is not being read correctly. Save the data as a new layer and assign the correct CRS.