Difference between revisions of "Tutorial M10 002 GIS Inputs QGIS GPKG"

From Tuflow
Jump to navigation Jump to search
(Created page with "<span style="color:#FF0000"> <font size = 18>Page Under Construction</font> </span> = Introduction = QGIS is used to create, import and view input data.<br> <br> = Method =...")
 
Line 7: Line 7:
  
 
= Method =
 
= Method =
 +
Setup the GeoPackage Database:
 +
<ol>
 +
<li>Navigate to the '''Module_10\TUFLOW\model\gis''' folder. Save a copy of '''M10_001.gpkg''' as '''M10_002.gpkg'''.
 +
</ol>
 +
 
Increment the dambreak layer from Part 1 to change time trigger into water level trigger: <br>
 
Increment the dambreak layer from Part 1 to change time trigger into water level trigger: <br>
 
<ol>
 
<ol>
<li>Navigate to the '''Module_10\model\gis''' folder and open the '''2d_vzsh_M10_dambreak_001_R.shp''' in QGIS.
+
<li>Navigate to '''M10_002.gpkg''' and open the '''2d_vzsh_M10_dambreak_001_R''' in QGIS.
 
<li>Select the '''2d_vzsh_M10_dambreak_001_R''' layer in the Layers panel.  
 
<li>Select the '''2d_vzsh_M10_dambreak_001_R''' layer in the Layers panel.  
 
<li>Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar.
 
<li>Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar.
<li>The tool automatically renames the '''2d_vzsh_M10_dambreak_''001''_R''' to '''2d_vzsh_M10_dambreak_''002''_R'''.
+
<li>The tool automatically renames the '''2d_vzsh_M10_dambreak_''001''_R''' to '''2d_vzsh_M10_dambreak_''002''_R'''. Ensure the 'Output Database' is '''M10_002.gpkg'''.
 
<li>Select to remove the source layer from the workspace.  
 
<li>Select to remove the source layer from the workspace.  
 
<li>Click 'OK'.<br>
 
<li>Click 'OK'.<br>

Revision as of 15:58, 15 June 2023

Page Under Construction

Introduction

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

Method

Setup the GeoPackage Database:

  1. Navigate to the Module_10\TUFLOW\model\gis folder. Save a copy of M10_001.gpkg as M10_002.gpkg.

Increment the dambreak layer from Part 1 to change time trigger into water level trigger:

  1. Navigate to M10_002.gpkg and open the 2d_vzsh_M10_dambreak_001_R in QGIS.
  2. Select the 2d_vzsh_M10_dambreak_001_R layer in the Layers panel.
  3. Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar.
  4. The tool automatically renames the 2d_vzsh_M10_dambreak_001_R to 2d_vzsh_M10_dambreak_002_R. Ensure the 'Output Database' is M10_002.gpkg.
  5. Select to remove the source layer from the workspace.
  6. Click 'OK'.
  7. The tool removes the source layer from the Layers panel and the 2d_vzsh_M10_dambreak_002_R appears:

    Animation M10 002 GIS 01.gif

  8. Right click on the 2d_vzsh_M10_dambreak_002_R layer to toggle on Editing.
  9. Click on the 'Identify Features' tool and click on the polygon.
  10. Update the following attributes:
    • Trigger_1: WL_Trigger
    • Trigger_Value: 60
    • Period: 0.5
  11. Click 'OK' and turn off editing to save the edits.

    Animation M10 002 GIS 02.gif

Create a point to set the location of the water level trigger:

  1. Click on the ‘Import Empty File’ symbol from the TUFLOW Plugin toolbar.
  2. Select '2d_vzsh' from the Empty Type list.
  3. In the Run ID box write 'M10_dambreak_002'.
  4. Tick the 'Points' Geometry Type and hit 'OK'. The 2d_vzsh layer appears in the Layers panel.
  5. Right click on the 2d_zsh_M10_dambreak_002_P and toggle on Editing.
  6. Select 'Add Point Feature'.
  7. Digitise a point within the dam upstream of the location of the dam break.
  8. An attributes dialog displays, enter the following attributes:
    • Shape_Option: TRIGGER
    • Trigger_1: WL_Trigger
  9. Click 'OK' and turn off editing to save the edits.

    Animation M10 002 GIS 03.gif

Conclusion

  • A 2d_vzsh region layer was modified to simulate a dambreak based on water level at specific point.
  • A 2d_vzsh point layer was created to set the location of the water level trigger.


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