Tutorial M10 001 GIS Inputs QGIS GPKG: Difference between revisions

Content deleted Content added
Line 20:
 
= Method =
Set up the GeoPackage Database:
Navigate to the '''Module_10\Tutorial_Data''' folder. Copy the below GIS files into the '''Module_10\TUFLOW\model\gis''' folder:
<ol>
<ol><li>Navigate to the '''Module_10\TUFLOW\model\gis''' folder. andSave opena thecopy of '''2d_bc_M01_001_LM02_001.shpgpkg''' inas QGIS'''M10_001.gpkg'''.
<li>Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'.
<li>Navigate to the '''Module_10''' folder and select it.
</ol>
 
Within the QGIS Browser Panel, navigate to the '''Module_10\Tutorial_Data''' folder. Drag and drop the following layers into the '''M10_001.gpkg''': <br>
:*'''2d_zsh_M10_damwall_001_L'''
:*'''2d_vzsh_M10_dambreak_001_R'''
Line 28 ⟶ 35:
Investigate the supplied files:
<ol>
<li>Open the files, either: <br>
:*Within the QGIS Browser Panel, navigate to '''M04_001.gpkg''' and double click the layers, or
:*Drag and drop all .shp files into the QGIS workspace, or
:*In File Explorer, drag and drop the '''M04_001.gpkg''' into the QGIS workspace and select the layers (hold Ctrl to select multiple).
:*Select Layer > Add layer > Add Vector Layer and navigate to the '''Module_10\TUFLOW\model\gis''' folder. <br>
<li>The 2d_zsh line layer represents the dam wall:
:*A ‘Z’ attribute of 65 is specified, the elevations are set to 65 metres along the length of the line.
Line 57 ⟶ 64:
</ol>
Increment the 2d_bc layer from Module 01 and remove the upstream inflow:
<ol>
<ol><li>Navigate to the '''Module_10\model\gis''' folder and open the '''2d_bc_M01_001_L.shp''' in QGIS.
<li>Navigate to the '''M10_001.gpkg''' and open the '''2d_bc_M01_001_L''' in QGIS.
<li>Select the '''2d_bc_M01_001_L''' layer in the Layers panel.
<li>Use the 'Apply TUFLOW Styles to Current Layer' tool.
<li>Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar.
<li>Update the 'Output Layer Name' to '''2d_bc_M10_001_L.shp'''.
<li>Click 'OK'.<br>
<li>The tool removes the source layer from the Layers panel and the '''2d_bc_M10_001_L''' appears.