QGIS Extract Ground Elevation: Difference between revisions
Content deleted Content added
No edit summary |
|||
| (9 intermediate revisions by 2 users not shown) | |||
Line 1:
=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
* Define ground elevation
* etc...
In the example below, the "Z" attribute (ground elevation)
=Method=
<ol>
<li>Ensure that DEM and 2d_zsh line layer files are opened, and the Point Sampling Tool plugin has been
<li>Convert line
<li>Open the Point Sampling Tool</li>
[[File:QGIS Extract Ground Elevation 001.png|
<li>Set the following:<br>
* Select the point layer converted at step 2 as the "Layer containing sampling points"
Line 17:
* Set the output layer file name
The plugin will create a new point layer file which contains all attributes in a 2d_zsh layer and the bed elevation as the 5th attribute.
<li>Open the Attribute Table of the newly created layar. Toggle editing and update "Z" attribute with "dem_m01" as shown in the image below</li>
[[File:QGIS Extract Ground Elevation 002.png|600px]]<br>
This point layer is now ready to be input with the 2d_zsh line layer into the TUFLOW model.
</ol>
| |||