Tutorial M10 001 GIS Inputs QGIS GPKG: Difference between revisions

Content deleted Content added
 
(14 intermediate revisions by 3 users not shown)
Line 1:
<span style="color:#FF0000">
<font size = 18>Page Under Construction</font>
</span>
= Introduction =
QGIS is used to create, import and view input data.<br>
Line 20 ⟶ 17:
 
= 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.
</spanol>
 
NavigateWithin the QGIS Browser Panel, navigate to the '''Module_10\Tutorial_Data''' folder. CopyDrag and drop the belowfollowing GISlayers filesfrom their separate databases into the '''Module_10\TUFLOW\model\gis\M10_001.gpkg''' folderdatabase: <br>
:*'''2d_zsh_M10_damwall_001_L'''
:*'''2d_vzsh_M10_dambreak_001_R'''
Line 28 ⟶ 32:
Investigate the supplied files:
<ol>
<li>Open the files, either: <br>
:*Within the QGIS Browser Panel, navigate to '''Module_10\TUFLOW\model\gis\M10_001.gpkg''' and double click the layers, or
:*Drag and drop all .shp files into the QGIS workspace, or
:*SelectIn LayerFile >Explorer, Add layer > Add Vector Layerdrag and navigate todrop the '''Module_10\TUFLOW\model\gis\M10_001.gpkg''' folder.into <br>the QGIS workspace and select the layers (hold Ctrl to select multiple).
<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.
:*The line has the same Shape_Width as the cell size, this is a thick breakline modifying whole cells.
<br>
{{Video|name=Animation_M10_GPKG_001_GIS_01.mp4|width=1238}}<br>
[[File:Animation M10 001 GIS 01a.gif]]<br>
<br>
<li>The 2d_vzsh polygon layer represents the location of the dam break:
Line 41 ⟶ 45:
:*Trigger_Value sets the simulation time in hours that the dam break is to commence. A value of 1 indicates the dam break begins at 1 hour.
:*Period sets the time in hours over which the change in elevation occurs. A value of 0.25 sets a period of 15 minutes replicating the break.
For more information, seerefer Table 6-9 ofto the <u>[https://downloadsdocs.tuflow.com/_archiveclassic-hpc/TUFLOWmanual/Releaseslatest/2018-03/TUFLOW%20Manual.2018-03.pdf 2018 TUFLOW Manual]</u>.<br>
<br>
{{Video|name=Animation_M10_GPKG_001_GIS_02.mp4|width=1238}}<br>
[[File:Animation M10 001 GIS 02.gif]]<br>
<br>
<li>The 2d_iwl polygon layer represents the initial water level of the dam as 59m at all cells within the polygon.<br>
<br>
{{Video|name=Animation_M10_GPKG_001_GIS_03.mp4|width=1238}}<br>
[[File:Animation M10 001 GIS 03.gif]]<br>
<br>
 
Line 53 ⟶ 57:
<li>Select the '''2d_sa_M10_inflow_001_R''' in the Layers panel and use the 'Apply TUFLOW Styles to Current Layer' tool.<br>
<br>
{{Video|name=Animation_M10_GPKG_001_GIS_04.mp4|width=1238}}<br>
[[File:Animation M10 001 GIS 04.gif]]<br>
<br>
</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>Load in the '''2d_bc_M01_001_L''' layer from '''Module_10\TUFLOW\model\gis\M10_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M10_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M10_001.gpkg''' into the QGIS Workspace and select the layer.
<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>UpdateWithin the 'OutputIncrement Selected Layer Name' totool '''2d_bc_M10_001_L.shp'''.window:
:*Ensure the 'Output Database' is '''M10_001.gpkg'''.
<li>Click 'OK'.<br>
<li>The tool removes:*Ensure the source'Output layerLayer fromName' the Layers panel and theis '''2d_bc_M10_001_L''' appears.
:*Select 'Remove Source Layer from Workspace'.
:*Select 'Increment Layer only' and click 'OK'.
The tool removes the source layer from the Layers panel and the '''2d_bc_M10_001_L''' appears.<br>
See <u>[[QGIS TUFLOW Increment Layer | Increment Layer Tool]]</u> for more information.
<li>Right click on the '''2d_bc_M10_001_L''' layer to toggle on Editing.
<li>Zoom to the upstream inflow, select and delete the line.
<li>Click 'OK' and turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M10_GPKG_001_GIS_05a.mp4|width=1238}}<br>
[[File:Animation M10 001 GIS 05.gif]]<br>
</ol>
<br>