Difference between revisions of "Tutorial M03 GIS Inputs QGIS"

From Tuflow
Jump to navigation Jump to search
Line 11: Line 11:
 
<li>Click 'OK' and save the workspace by selecting Project > Save As.<br>
 
<li>Click 'OK' and save the workspace by selecting Project > Save As.<br>
 
<br>
 
<br>
[[File:M03 Config Proj AF.png]]<br><br>
+
[[File:M03 Configure Project v2.png]]<br><br>
 
<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>.
 
<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>
 
</ol>

Revision as of 07:59, 18 November 2022

Introduction

QGIS is used to create, import and view input data.

TUFLOW Project Re-Configuration

Re-configure the TUFLOW project to use and save empty files to the correct folder:

  1. Go to Plugins > TUFLOW > Editing > Configure / Create TUFLOW Project.
  2. Change the folder which contains TUFLOW to the Module_03 folder. This is the only change required, the model folder structure and template empty files are supplied from previous model.
    Note: The 'results' and 'check' folder get automatically created when the TUFLOW model is run.
  3. Click 'OK' and save the workspace by selecting Project > Save As.

    M03 Configure Project v2.png

  4. Set the workspace projection to EPSG:32760, see Set the Projection.


Method

Navigate to the Module_03\Tutorial_Data folder. Copy and save all the below layers into the Module_03\TUFLOW\model\gis folder:

  • 1d_nwk_M03_culverts_001_L
  • 2d_bc_M03_culverts_001_L
  • 2d_bc_M03_culverts_001_R

Investigate the supplied files:

  1. Open the files, either:
    • Drag and drop the .shp files into the QGIS workspace; or
    • Select Layer > Add layer > Add Vector Layer and navigate to the Module_03\TUFLOW\model\gis folder.

    Animation M03 GIS 01.gif

  2. The 1d_nwk layer represents culverts placed under the road embankments crossing the flow paths. See Table 5-3 of the 2018 TUFLOW Manual for more information on the attributes.
  3. The 2d_bc layers use SX type connection to embed 1D networks into the 2D domain. It removes water out of the upstream cell(s) and deposits water back at the downstream cell(s). Both region and line SX links need a CN (connection) line snapped from the upstream and downstream vertex of the 1D network line to the SX boundary.

    Animation M03 GIS 02.gif

Connect the last 1D network culvert to 2D domain:

  1. Click on the ‘Import Empty File’ tool from the TUFLOW plugin toolbar.
  2. Select '2d_bc' from the Empty Type list.
  3. In the Run ID box write: 'M03_culverts_001'.
  4. Tick the 'Points' Geometry Type and hit 'OK'. The 2d_bc appears in the Layers panel.
  5. Zoom to the unconnected 1D culvert.
  6. Enable snapping, it is important the points are snapped to the network line.
  7. Right click on the ‘2d_bc_M03_culverts_001_P’ and toggle on editing.
  8. Select 'Add Point Feature'.
  9. Digitise a point snapped to upstream end and downstream end of the 1d_nwk layer.
  10. When terminating each point, an attributes dialog is displayed. Enter Type as 'SX'.
  11. Turn off editing to save the edits.
  12. The point SX connection selects a single cell at the upstream and downstream of the 1d_nwk layer.

    Animation M03 GIS 03A.gif

Conclusion

  • 1D network culverts were set up and connected to the 2D domain with 1D/2D links.


Up
Go-up.png Back to Module 3 Main Page