Tutorial M02 002 GIS Inputs QGIS: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1:
 
= Introduction =
QGIS is used to create, import and view input data.<br>
Line 4 ⟶ 5:
 
= Method =
Within the QGIS Browser Panel, navigateNavigate to the '''Module_02\Tutorial_Data''' folder. DragCopy and dropsave all the followingbelow layers into the '''M02_002.gpkg Module_02\TUFLOW\model\gis''' databasefolder:
Use the QGIS Browser Panel to create a new GeoPackage Database:
:*'''2d_zsh_M02_landscape_002_L'''
<ol>
:*'''2d_zsh_M02_landscape_002_P'''
<li>From the Browser Panel, navigate to the '''Module_02\TUFLOW\model\gis''' folder and right click on the '''gis''' folder and select New > GeoPackage...
:*'''2d_zsh_M02_landscape_002_R'''
<li>A geopackage database called '''New GeoPackage.gpkg''' will appear in the '''TUFLOW\model\gis''' folder.
:*'''2d_mat_M02_landscape_002_R'''
<li>Right click on '''New GeoPackage.gpkg''' and select Manage > Rename "New GeoPackage.gpkg"...
<li>Rename the GeoPackage database as 'M02_00'''2'''.gpkg'.
</ol>
<br>
Within the QGIS Browser Panel, navigate to the '''Module_02\Tutorial_Data''' folder. Drag and drop the following layers into the '''M02_002.gpkg''' database:
:*2d_zsh_M02_landscape_002_L
:*2d_zsh_M02_landscape_002_P
:*2d_zsh_M02_landscape_002_R
:*2d_mat_M02_landscape_002_R
 
Create two polygons, one raises the elevation to a set height and another raises the elevation by a set amount. <br>
Line 23 ⟶ 16:
<li>Select '2d_zsh' from the Empty Type list.
<li>In the Run ID box write 'M02_fill_002'.
<li>Tick the 'Regions' Geometry Type and hit 'OK'. The 2d_zsh file appears in the Layers panel.
<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 and hit 'OK' and hit 'OK'.
<li>The '''2d_zsh_M02_002_R''' appears in the Layers panel.
<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 32 ⟶ 23:
:*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_GIS_02.mp4|width=1279}}<br>
[[File:Animation M02 GIS 02.gif]]<br>
<br>
<li>Zoom to the south west corner of the grid to digitise the second polygon.
Line 41 ⟶ 32:
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M02_GIS_01.mp4|width=1279}}<br>
[[File:Animation M02 GIS 01.gif]]<br>
<br>
</ol>
Line 50 ⟶ 41:
<li>Select '2d_zsh' from the Empty Type list.
<li>In the Run ID box write 'M02_merge_002'.
<li>Tick the 'Regions' Geometry Type and hit 'OK'. The 2d_zsh file appears in the Layers panel. Zoom to the east side of the model. <br>
<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 and hit 'OK' and hit 'OK'.
<li>The 2d_zsh file appears in the Layers panel. Zoom to the east side of the model. <br>
<li>Right click on the '''2d_zsh_M02_merge_002_R''' and toggle on Editing.
<li>Select 'Add Polygon Feature'.
Line 59 ⟶ 48:
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M02_GIS_03.mp4|width=1279}}<br>
[[File:Animation M02 GIS 03.gif]]<br>
<br>
</ol>
Line 68 ⟶ 57:
<li>Select '2d_zsh' from the Empty Type list.
<li>In the Run ID box write 'M02_cut_002'.
<li>Tick the 'Regions' Geometry Type and hit 'OK'. The 2d_zsh file appears in the layers panel.
<li>The 2d_zsh file appears in the layers panel. Zoom to the channel where it meets the north road embankment. <br>
<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 and hit 'OK' and hit 'OK'.
<li>The 2d_zsh file appears in the layers panel. Zoom to the channel where it meets the north road embankment. <br>
<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_GIS_04.mp4|width=1279}}<br>
[[File:Animation M02 GIS 04.gif]]<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>
[[File:Animation M02 GIS 05.gif]]<br>
<br>
</ol>
Line 90 ⟶ 78:
:*Select Layer > Add layer > Add Vector Layer and navigate to the ''' Module_02\TUFLOW\model\gis''' folder.
<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. TheWith the 'Shape_Option' attribute 'TIN', the 'dZShape_Width' attribute specifies a sampling distance for the TIN triangles, intermediate sampling points are created at the line vertices and along the line at 'dZShape_Width' intervals.
<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_GIS_TIN_04.mp4|width=1279}}<br>
[[File:Animation M02 GIS TIN 03.gif]]<br>
</ol>
<br>
Line 105 ⟶ 93:
:*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>
[[File:Animation M02_GIS_mat_05.gif]]<br>
</ol>
<br>