Tutorial M02 002 GIS Inputs QGIS GPKG: Difference between revisions
Content deleted Content added
| (10 intermediate revisions by 3 users not shown) | |||
Line 1:
= Introduction =
QGIS is used to create, import and view input data.<br>
Line 9 ⟶ 6:
Create a new GeoPackage Database:
<ol>
<li>Navigate to the '''Module_02\TUFLOW\model\gis''' folder. Save a copy of '''M02_001.gpkg''' as '''M02_002.gpkg'''.
</ol>
Line 25 ⟶ 21:
<li>In the Run ID box write 'M02_fill_002'.
<li>Tick the 'Regions' Geometry Type.
<li>In the Spatial Database Options, select 'All to one'. Navigate to the '''Module_02/TUFLOW/model/gis''' folder and select '''M02_002.gpkg'''. Click Save
<li>The '''
<li>Zoom to the area just upstream of the north road crest.<br>
<li>Right click on the '''2d_zsh_M02_fill_002_R''' to toggle on Editing and select 'Add Polygon Feature'.
Line 33 ⟶ 29:
:*Shape_Option = NO MERGE (assigns a single elevation to all Zpts falling within the polygon without interpolating the edges to the original topography) <br>
<br>
{{Video|name=Animation_M02_GPKG_GIS_002_02.mp4|width=1279}}<br>
<br>
<li>Zoom to the south west corner of the grid to digitise the second polygon.
Line 42 ⟶ 38:
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M02_GPKG_GIS_002_01.mp4|width=1279}}<br>
<br>
</ol>
Line 52 ⟶ 48:
<li>In the Run ID box write 'M02_merge_002'.
<li>Tick the 'Regions' Geometry Type.
<li>In the Spatial Database Options, select 'All to one'. Navigate to the '''Module_02/TUFLOW/model/gis''' folder and select '''M02_002.gpkg'''. Click Save
<li>The
<li>Right click on the '''2d_zsh_M02_merge_002_R''' and toggle on Editing.
<li>Select 'Add Polygon Feature'.
Line 60 ⟶ 56:
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M02_GPKG_GIS_002_03.mp4|width=1279}}<br>
<br>
</ol>
Line 70 ⟶ 66:
<li>In the Run ID box write 'M02_cut_002'.
<li>Tick the 'Regions' Geometry Type.
<li>In the Spatial Database Options, select 'All to one'. Navigate to the '''Module_02/TUFLOW/model/gis''' folder and select '''M02_002.gpkg'''. Click Save
<li>The '''2d_zsh_M02_cut_002'''
<li>Right click on the '''2d_zsh_M02_cut_002_R''' to toggle on Editing and select 'Add Polygon Feature'.
<li>Digitise a polygon similar to below, terminate the region and enter the following data in the attributes dialog: <br>
:*Shape_Width = -1<br>
<br>
{{Video|name=Animation_M02_GPKG_GIS_002_04.mp4|width=1279}}<br>
<br>
<li>Add more vertices by holding Shift and double click along the upstream and downstream sides of the polygon. By default TUFLOW uses the merge option and the negative Shape_Width instructs TUFLOW to sample the DEM elevation only at the location of the polygon vertices. <br>
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M02_GIS_05.mp4|width=1279}}<br>
<br>
</ol>
Line 87 ⟶ 83:
Investigate the supplied '''2d_zsh_M02_landscape_002''' files with TIN functionality:
<ol>
<li>Open the files, either:
:*Within the QGIS Browser Panel, navigate to '''M02_002.gpkg''' and double click the layers, or
:*In File Explorer, drag and drop the '''M02_002.gpkg''' into the QGIS workspace and select the layers (hold Ctrl to select multiple).
<li>The point layer specifies the elevation with the ‘Z’ attribute. Some of the point are snapped to the line layer setting the elevations along the line.
<li>The line layer assists in the TIN process.
<li>The region layer sets the area over which the TIN functionality takes place. Without points snapped to the perimeter vertices of the region, the elevations are inserted from the underlying Zpt elevations, it uses the default merge option.<br>
<br>
{{Video|name=Animation_M02_GPKG_GIS_002_TIN_02.mp4|width=1279}}<br>
</ol>
<br>
Investigate the supplied materials file:
<ol>
<li>Load into QGIS the '''2d_mat_M02_landscape_002_R''' file by, either:
:*
:*In
<li>Inspect the file:
:*The materials file contains polygons that represent the updated land use due to the topography modifications.
:*The material attribute associated with each polygon is an integer value based on the underlying land use type.<br>
<br>
{{Video|name=Animation_M02_GIS_mat_05.mp4|width=1279}}<br>
</ol>
<br>
| |||