Difference between revisions of "QGIS Creating a Grid from Points"

From Tuflow
Jump to navigation Jump to search
Line 3: Line 3:
 
=Method=
 
=Method=
 
<ol>
 
<ol>
 +
<li>Install the Interpolation Plugin via '''Plugins >>> Manage and Install Pllugins'''</li>
 
<li>Open the desired shapefile in QGIS.</li>
 
<li>Open the desired shapefile in QGIS.</li>
<li>Select ''Plugins >>> Interpolation >>> Interpolation'' from the menu items.</li>
+
<li>Select ''Raster >>> Interpolation'' from the menu items.</li>
 
<li>In the '''Input''' section of the Interpolation dialogue, use the drop down list to select the appropriate Vector Layer, select the attribute to interpolate. This is the '''Elevation''' attribute if using a check file. Select '''Add''' to include this in the interpolation.</li>
 
<li>In the '''Input''' section of the Interpolation dialogue, use the drop down list to select the appropriate Vector Layer, select the attribute to interpolate. This is the '''Elevation''' attribute if using a check file. Select '''Add''' to include this in the interpolation.</li>
 
<li>In the '''Output''' section of the dialogue:
 
<li>In the '''Output''' section of the dialogue:

Revision as of 15:28, 7 February 2018

Introduction

In this page a DEM is created from point shapefile containing elevations. For this example the zpt_check file from module 1 of the TUFLOW tutorial model will be used, but the process can apply to any point layer. This is useful for visualising the final elevations for a model simulation from a TUFLOW Zpt Check file.

Method

  1. Install the Interpolation Plugin via Plugins >>> Manage and Install Pllugins
  2. Open the desired shapefile in QGIS.
  3. Select Raster >>> Interpolation from the menu items.
  4. In the Input section of the Interpolation dialogue, use the drop down list to select the appropriate Vector Layer, select the attribute to interpolate. This is the Elevation attribute if using a check file. Select Add to include this in the interpolation.
  5. In the Output section of the dialogue:
    • Set a interpolation method. For this demonstration a TIN method is used, but feel free to experiment.
    • Set the X and Y cell size to an appropriate number (half the cell size if using a zpt_check file).
    • Specify the output file name.
    TuteM01 QGIS zpt check 01.png


  6. Select OK and the interpolation will be processed, this may take a few minutes depending on the number of points.
  7. In the properties dialogue, set the Style Colormap to "Pseudocolor" for a quick visualisation, or alternatively set a custom colormap. The grid should appear as below.
    Tip: To enable relief shading see the relief shading tip in the QGIS tips and tricks.
    TuteM01 QGIS zpt check 02.png