1

I have some XYZ bathymetry data in an irregular, non north-up pattern -- i.e. not gridded. It is saved as a CSV file.

443564.526,6636541.778,-105.47
443564.526,6636538.778,-105.44
443567.526,6636544.778,-105.54

I can import the data into QGIS as Delimited and save as a Vector. What I want to be able to do is use the various Contour, slope analysis, Shaded relief etc tools. What do I need to do? Most of the answers I have found need either gridded data or externally generated raster files.

I have found this, but I don't know how I go about using it. https://www.gdal.org/gdal_grid.html

lambertj
  • 3,037
  • 3
  • 18
  • 37
Will Hutchins
  • 21
  • 1
  • 5

2 Answers2

2

Yes, the link you provided points to GDAL_GRID which is the same algorithm QGIS relies on to generate a raster file from a distribute of points. There are various methods of interpolation that you can read about online that will have some impact on the final surface. There are cell size considerations that you will need to be aware of that you may find answers for on GIS Stack Exchange.
Once you have created the raster surface from your points you can easily generate contours, slope surfaces, and hillshades using the native QGIS tools.

As @reevessii pointed out there are solutions for working with point data - and generating TIN surfaces from point data using third-party packages - but these sound like they are more than you need at this point.

GBG
  • 9,737
  • 1
  • 15
  • 44
  • It is the initial interpolation I am now struggling with. The Output Raster layer looks very and much of the 'data' is offset from the raw data points. If I look at the optional 'Triangulation' file I can see that the process has used the raw data correctly so it must be something wrong with the cell size I have input. – Will Hutchins Aug 28 '18 at 05:54
  • Maybe you can post your data? – GBG Aug 28 '18 at 14:38
  • Overview of all Simple Points and zoom on Bottom Left corner so you can see it is already gridded./Users/willhutchins/Desktop/overall.tiff – Will Hutchins Aug 29 '18 at 15:55
0

Four years after I asked this, I have now worked out the answer.

  1. Import the data points as 'Delimited text', setting relevant X,Y,Z columns.

  2. Save the layer as a Vector - GeoPackage or Shape both work.

  3. Convert to Raster - Menu-Raster-Conversion-Rasterize(Vector to Raster).

  4. You can now remove the Vector layer, all following steps are from the Raster.

  5. You can do pseudocolor, hillshade, slope analysis and profiles all from the raster.

WillH
  • 455
  • 1
  • 8