Tutorial M11 001 GIS Inputs QGIS GPKG: Difference between revisions
Content deleted Content added
No edit summary |
|||
| (15 intermediate revisions by 3 users not shown) | |||
Line 24:
</ol>
<ol>
<li>Copy and
<li>Within the QGIS Browser Panel, navigate to the '''Module_11\TUFLOW\model\xs''' folder. Drag and drop the following layer into the '''M11_001.gpkg''':<br>▼
:*'''1d_xs_M11_channels_001_L'''▼
</ol>
▲
▲:*'''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 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 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>
<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>
<br>
</ol>
Line 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 73:
:* W - weir.
:* X - connecting channel used for side channels entering the main channel.
<li>Use the 'Identify Features' tool to inspect the attributes of the three 1d_nwk types:<br>
<br>
<br>
</ol>
Line 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 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>
<br>
</ol>
Line 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 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>
<br>
</ol>
Line 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 121:
<li>The 2d_bc SX points are snapped to the 1d_nwk culvert:<br>
<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 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>
<br>
</ol>
Line 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 157:
<br>
<br>
</ol>
Line 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 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>
<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,
<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 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>
<br>
</ol>
Line 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 212:
<li>Turn off editing to save the edits.<br>
<br>
<br>
<li>Right click on the '''0d_rl_M11_001_P''' and toggle on Editing.
Line 219:
<li>Turn off editing to save the edits.<br>
<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 228:
<li>Turn off editing to save the edits. <br>
<br>
</ol>
<br>
| |||