Difference between revisions of "QGIS Extract Ground Elevation"
Jump to navigation
Jump to search
(→Method) |
|||
Line 8: | Line 8: | ||
=Method= | =Method= | ||
<ol> | <ol> | ||
− | <li> | + | <li>Load DEM and 2d_zsh line layer files.</li> |
− | <li> | + | <li>Convert line vertexes to points, using the preferred method described in ''Plugins >> mmqgis >> Modify >> Convert Geometry Type''.</li> |
[[File:QGIS Lines to Points.jpg|500px]] | [[File:QGIS Lines to Points.jpg|500px]] | ||
<li>Set the following:<br> | <li>Set the following:<br> |
Revision as of 16:52, 19 February 2018
Introduction
This page describes the method for extracting ground elevation (or any other variable) from raster files or polygon attribute using "Point Sampling Tool". This method is useful when you want to:
- Extract ground elevation for the points snapped to breaklines
- Define ground elevation for 1D nodes/pits snapped to 1D channel/pipes
- etc...
In the example below, the ground elevation for the 2d_zsh point layer in the TUFLOW Tutorial 03 is extracted from the DEM file.
Method
- Load DEM and 2d_zsh line layer files.
- Convert line vertexes to points, using the preferred method described in Plugins >> mmqgis >> Modify >> Convert Geometry Type.
- Set the following:
- The source layer to be the line file you wish to convert
- The new geometry type to Nodes
- The output file