Tutorial M11 001 GIS Inputs QGIS GPKG: Difference between revisions

Content deleted Content added
 
(22 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 27 ⟶ 24:
</ol>
 
NavigateWithin File Explorer, navigate to the '''Module_11\Tutorial_Data''' folder:
<ol>
<li>Copy and savepaste the '''xs''' folder into the '''Module_11\TUFLOW\model''' folder.
<li>Within the QGIS Browser Panel, navigate to the '''Module_11\TUFLOW\model\xs''' folder. Drag and drop the following layers into the '''M11_001.gpkg''':<br>
:*'''1d_xs_M11_bridges_002_L'''
:*'''1d_xs_M11_channels_001_L'''
:*'''1d_xs_M11_weirs_002_L'''
</ol>
<li>Within the QGIS Browser Panel, navigate to the '''Module_11\TUFLOW\model\xs''' folder. Drag and drop the following layerslayer into the '''Module_11\TUFLOW\model\gis\M11_001.gpkg''':<br>
:*'''1d_xs_M11_channels_001_L'''
 
Within the QGIS Browser Panel, navigate to the '''Module_11\Tutorial_Data''' folder. Drag and drop the following layers into the '''Module_11\TUFLOW\model\gis\M11_001.gpkg''': <br>
:*'''1d_bc_M11_001_P'''
:*'''1d_nwk_M03_culverts_001_L'''
Line 50 ⟶ 45:
A 1D open channel requires cross sections for processing of the channel geometry. For each cross section there is an individual comma separated csv file:
<ol>
<li>Load in the '''1d_xs_M11_channels_001_L''' layer from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layer.
Line 58 ⟶ 53:
<li>Use the 'Identify Features' tool to inspect a cross section line. Each line has a unique name in the 'Source' attribute field that links to a cross section csv contained within the '''xs''' folder. Type attribute 'XZ' specifies distance vs elevation cross section: <br>
<br>
[[File:{{Video|name=Animation_M11_GPKG_001_GIS_01.gif]]mp4|width=1237}}<br>
<br>
<li>Open the TUFLOW Viewer, the 1d_xs file automatically appears with a time series result 'XZ' showing. Select a 1d_xs line and view the cross section: <br>
<br>
{{Video|name=Animation_M11_001_GIS_02.mp4|width=1237}}<br>
[[File:Animation M11 001 GIS 02.gif]]<br>
<br>
</ol>
Line 69 ⟶ 64:
A 1d_nwk layer is used to model open channels. It contains information on inverts and to obtain data from the cross section the 1d_nwk and 1d_xs must be snapped:
<ol>
<li>Load in the '''1d_nwk_M11_channels_001_L''' layer from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layer.
Line 78 ⟶ 73:
:* W - weir.
:* X - connecting channel used for side channels entering the main channel.
SeeRefer Table 5-1 ofto the <u>[https://downloadsdocs.tuflow.com/_archiveclassic-hpc/TUFLOWmanual/Releaseslatest/2018-03/TUFLOW%20Manual.2018-03.pdf 2018 TUFLOW Manual]</u> for more information on the 1d_nwk types.
<li>Use the 'Identify Features' tool to inspect the attributes of the three 1d_nwk types:<br>
<br>
[[File:{{Video|name=Animation_M11_GPKG_001_GIS_03.gif]]mp4|width=1237}}<br>
<br>
</ol>
Line 88 ⟶ 83:
The 1D model extents both upstream and downstream of the 2D active domain:
<ol>
<li>Load in the '''1d_bc_M11_001_P''' layer from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layer.
Line 95 ⟶ 90:
<li>Use the 'Identify Features' tool to inspect the attributes of the three boundaries. A QT type (flow vs time) hydrograph is used to apply flow at the upstream boundary and a HQ (water level vs flow) boundary is used to remove flow from the downstream boundary based on a water level vs flow curve:<br>
<br>
[[File:{{Video|name=Animation_M11_GPKG_001_GIS_09.gif]]mp4|width=1237}}<br>
<br>
</ol>
Line 102 ⟶ 97:
1D culverts are included in a separate 1d_nwk layer. 1D culverts are described in detail in <u>[https://wiki.tuflow.com/index.php?title=Tutorial_M03 Module 3]</u>:
<ol>
<li>Load in the '''1d_nwk_M03_culverts_001_L''' layer from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layer.
Line 112 ⟶ 107:
<li>Two culverts within the open channel link upstream 1D channel to the downstream 1D channel underneath the roads, the culvert to the east is embedded into the 2D domain directly. Use the 'Identify Features' tool to inspect the attributes:<br>
<br>
[[File:{{Video|name=Animation_M11_GPKG_001_GIS_04.gif]]mp4|width=1237}}<br>
<br>
</ol>
Line 119 ⟶ 114:
The culvert on the east is connected to the 2D domain using 2d_bc layer SX type connection. It removes water out of the upstream cell(s) and deposits water back at the downstream cell(s):
<ol>
<li>Load in the '''2d_bc_M03_culverts_001_P''' layer from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layer.
Line 126 ⟶ 121:
<li>The 2d_bc SX points are snapped to the 1d_nwk culvert:<br>
<br>
{{Video|name=Animation_M11_GPKG_001_GIS_05.mp4|width=1237}}<br>
[[File:Animation M11 001 GIS 05.gif]]<br>
<br>
</ol>
The 1D open channel is linked to the 2D using a 2d_bc layer HX and CN type connections:
<ol>
<li>Load in the '''2d_bc_M11_hx_001_L''' layer from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layer.
Line 139 ⟶ 134:
<li>The CN lines connect the HX lines to the 1D channel. Where a CN line is connected to the HX line, the water level from the 1D nodes is transferred to the HX line. In between 1D nodes a linear interpolation of water level is applied. <br>
<br>
{{Video|name=Animation_M11_GPKG_001_GIS_06.mp4|width=1237}}<br>
[[File:Animation M11 001 GIS 06a.gif]]<br>
<br>
</ol>
Line 148 ⟶ 143:
[[File:2D Breaklines_all together.jpg|1200px]]<br>
<br>
<li>Load in the '''2d_zsh_M11_hx_001_L''' and '''2d_zsh_M11_hx_001_P''' layers from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layers, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layers (hold Ctrl to select multiple).
Line 162 ⟶ 157:
 
<br>
{{Video|name=Animation_M11_GPKG_001_GIS_07.mp4|width=1237}}<br>
[[File:Animation M11 001 GIS 07.gif]]<br>
<br>
</ol>
Line 169 ⟶ 164:
The area of the 1D open channel defined by the 1D/2D HX boundaries must be removed from the active 2D cells:
<ol>
<li>Load in the '''2d_code_M11_null_creek_001_R''' layer from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layer.
Line 176 ⟶ 171:
<li>The 2d_code layer is used to deactivate the area representing the 1D open channel with attribute of '0'. All cells within the polygon are removed from the 2D computations. <br>
<br>
{{Video|name=Animation_M11_GPKG_001_GIS_08.mp4|width=1237}}<br>
[[File:Animation M11 001 GIS 08.gif]]<br>
<br>
</ol>
 
==Water Level Lines==
Water Level Line (WLL) are used to display 1D results in map outputs. WLL do not change 1D hydraulic computations and are only used to display 1D results in plan (2D) formats. For more information on WLL, seerefer Section 9.5.2 ofto the <u>[https://downloadsdocs.tuflow.com/_archiveclassic-hpc/TUFLOWmanual/Releaseslatest/2018-03/TUFLOW%20Manual.2018-03.pdf 2018 TUFLOW Manual]</u>:
<ol>
<li>Load in the '''1d_wll_M11_001_L''' layer from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layer.
Line 190 ⟶ 185:
<li>The 1d_wll layer must be digitised perpendicular to the flow direction and from left to right looking downstream. An attribute of '2.5' is specified for all lines as a minimum distance interval along the WLL to generate triangulation points. <br>
<br>
{{Video|name=Animation_M11_GPKG_001_GIS_10.mp4|width=1237}}<br>
[[File:Animation M11 001 GIS 10.gif]]<br>
<br>
</ol>
Line 207 ⟶ 202:
Copy the line and point from the 2d_po layer:
<ol>
<li>Load in the '''2d_po_M01_001_L''' and '''2d_po_M01_001_P''' layers from '''Module_11\TUFLOW\model\gis\M11_001.gpkg''', either:
:*Within the QGIS Browser Panel, navigate to '''M11_001.gpkg''' and double click the layers, or
:*In File Explorer, drag and drop the '''M11_001.gpkg''' into the QGIS workspace and select the layers (hold Ctrl to select multiple).
Line 217 ⟶ 212:
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M11_GPKG_001_GIS_11.mp4|width=1237}}<br>
[[File:Animation_M11_001_GIS_11e.gif]]<br>
<br>
<li>Right click on the '''0d_rl_M11_001_P''' and toggle on Editing.
Line 224 ⟶ 219:
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M11_GPKG_001_GIS_12.mp4|width=1237}}<br>
[[File:Animation_M11_001_GIS_12e.gif]]<br>
<br>
<li>To ensure the point reporting functionality is correct, it needs to be snapped to the start/end of a 1d_nwk line.
Line 233 ⟶ 228:
<li>Turn off editing to save the edits. <br>
<br>
{{Video|name=Animation_M11_GPKG_001_GIS_13.mp4|width=1237}}<br>
[[File:Animation_M11_001_GIS_13a.gif]]<br>
</ol>
<br>