Tutorial M11 001 GIS Inputs QGIS: Difference between revisions
Content deleted Content added
No edit summary |
|||
(18 intermediate revisions by 4 users not shown) | |||
Line 11:
<li>Click 'OK' and save the workspace by selecting Project > Save As.<br>
<br>
[[File:
<li>Set the workspace projection to EPSG:32760, see <u>[https://wiki.tuflow.com/index.php?title=Tutorial_Site_Familiarisation_QGIS#Set_the_Projection Set the Projection]</u>.
</ol>
Line 39:
<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>
{{Video|name=Animation_M11_001_GIS_01.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>
<br>
</ol>
Line 55:
:* W - weir.
:* X - connecting channel used for side channels entering the main channel.
See
<li>Use the 'Identify Features' tool to inspect the attributes of the three 1d_nwk types:<br>
<br>
{{Video|name=Animation_M11_001_GIS_03.mp4|width=1237}}<br>
<br>
</ol>
Line 68:
<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>
{{Video|name=Animation_M11_001_GIS_09.mp4|width=1237}}<br>
<br>
</ol>
Line 81:
<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>
{{Video|name=Animation_M11_001_GIS_04.mp4|width=1237}}<br>
<br>
</ol>
Line 91:
<li>The 2d_bc SX points are snapped to the 1d_nwk culvert:<br>
<br>
{{Video|name=Animation_M11_001_GIS_05.mp4|width=1237}}<br>
<br>
</ol>
Line 100:
<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_001_GIS_06a.mp4|width=1237}}<br>
<br>
</ol>
Line 110:
<br>
<li>Load the following layers into QGIS from the '''Module_11\TUFLOW\model\gis''' folder and use the 'Apply TUFLOW Styles to Open Layers':
:*'''2d_zsh_M11_hx_001_L.shp'''
:*'''2d_zsh_M11_hx_001_P.shp'''
<li>The 2d_zsh line layer is used to define breaklines along the bank of the channel:
:*No ‘Z’ attribute is specified, the elevations are taken from the 2d_zsh point layer.
:*The breakline has the same Shape_Width as the cell size, this is a thick breakline modifying whole cells.
:*The Shape_Option of 'MAX' is specified. The Zpt elevations only changes when the Z shape elevation at the Zpt is higher. The purpose of the Z shape is to enforce the highest elevations along the
<li>The 2d_zsh point layer is used to apply elevation to the breaklines:
:*The values in the 'Z' attribute are elevations assigned to each point and are interpolated along the breakline.
Line 121:
<br>
{{Video|name=Animation_M11_001_GIS_07.mp4|width=1237}}<br>
<br>
</ol>
Line 131:
<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_001_GIS_08.mp4|width=1237}}<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 the '''1d_wll_M11_001_L.shp''' from the '''Module_11\TUFLOW\model\gis''' folder into QGIS and use the 'Apply TUFLOW Styles to Open Layers'.
<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_001_GIS_10.mp4|width=1237}}<br>
<br>
</ol>
==Reporting
Reporting locations allow for the plotting of time series results across both the 1D and 2D sections of the model. Points are treated as water level output and lines as flow output.<br>
Create a reporting location layer:<br>
Line 157:
<ol>
<li>Load the '''2d_po_M01_001_L.shp''' and '''2d_po_M01_001_P.shp''' from the '''Module_11\TUFLOW\model\gis''' folder into QGIS.
<li>Right click on the '''0d_rl_M11_001_L''' and toggle on Editing.
<li>Copy the line from the 2d_po line layer into the 0d_rl line layer.
<li>Open the attribute table and enter Name as 'Loc1_L'.
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M11_001_GIS_11e.mp4|width=1237}}<br>
<br>
<li>Right click on the '''0d_rl_M11_001_P''' and toggle on Editing.
<li>Copy the point from the 2d_po point layer into the 0d_rl point layer.
<li>Open the attribute table and enter Name as 'Loc1_P'.
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M11_001_GIS_12e.mp4|width=1237}}<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.
<li>Right click on the '''0d_rl_M11_001_P''' and toggle on Editing.
<li>Use the 'Vertex Tool' to move the point.
<li>Enable snapping and use the 'Edit Advanced Configuration' tool to select '''1d_nwk_M11_channels_001_L'''.
<li>Use the 'Vertex Tool' to snap the point to the start/end of the 1d_nwk line.
<li>Turn off editing to save the edits. <br>
<br>
{{Video|name=Animation_M11_001_GIS_13a.mp4|width=1237}}<br>
</ol>
<br>
Line 180 ⟶ 191:
:*A 2d_code layer with zero attribute deactivating cells from the 2D domain was inspected.
:*A 1d_wll layer was inspected, lines were digitised perpendicular to flow and left to right looking downstream.
:*A 0d_rl layer was created to report flow and water level time series for the 1D and 2D
<br>
{{Tips Navigation
|