Tutorial M10 002 GIS Inputs QGIS GPKG: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
| (12 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<span style="color:#FF0000"> |
|||
<font size = 18>Page Under Construction</font> |
|||
</span> |
|||
= Introduction = |
= Introduction = |
||
QGIS is used to create, import and view input data.<br> |
QGIS is used to create, import and view input data.<br> |
||
| Line 14: | Line 11: | ||
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>Load in the '''2d_vzsh_M10_dambreak_001_R''' layer from '''M10_002.gpkg''', either: |
<li>Load in the '''2d_vzsh_M10_dambreak_001_R''' layer from '''Module_10\TUFLOW\model\gis\M10_002.gpkg''', either: |
||
:*Within the QGIS Browser Panel, navigate to '''M10_002.gpkg''' and double click the layer, or |
:*Within the QGIS Browser Panel, navigate to '''M10_002.gpkg''' and double click the layer, or |
||
:*In File Explorer, drag and drop the '''M10_002.gpkg''' into the QGIS Workspace and select the layer. |
:*In File Explorer, drag and drop the '''M10_002.gpkg''' into the QGIS Workspace and select the layer. |
||
<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>Within the 'Increment Selected Layer' tool window: |
|||
<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'''. |
|||
:*Ensure the 'Output Database' is '''Module_10\TUFLOW\model\gis\M10_002.gpkg'''. |
|||
<li>Select to remove the source layer from the workspace. |
|||
:*Ensure the 'Output Layer Name' is '''2d_vzsh_M10_dambreak_002_R'''. |
|||
<li>Click 'OK'.<br> |
|||
:*Select 'Remove Source Layer from Workspace'. |
|||
| ⚫ | |||
:*Select 'Increment layer only' and click 'OK'. |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
See <u>[[QGIS TUFLOW Increment Layer|Increment Layer Tool]]</u> for more information. |
|||
| ⚫ | |||
| ⚫ | |||
<br> |
<br> |
||
<li>Right click on the '''2d_vzsh_M10_dambreak_002_R''' layer to toggle on Editing. |
<li>Right click on the '''2d_vzsh_M10_dambreak_002_R''' layer to toggle on Editing. |
||
| Line 34: | Line 34: | ||
<li>Click 'OK' and turn off editing to save the edits.<br> |
<li>Click 'OK' and turn off editing to save the edits.<br> |
||
<br> |
<br> |
||
{{Video|name=Animation_M10_GPKG_002_GIS_02.mp4|width=1230}}<br> |
|||
<br> |
<br> |
||
| Line 43: | Line 43: | ||
<li>Select '2d_vzsh' from the Empty Type list. |
<li>Select '2d_vzsh' from the Empty Type list. |
||
<li>In the Run ID box write 'M10_dambreak_002'. |
<li>In the Run ID box write 'M10_dambreak_002'. |
||
<li>Tick the 'Points' Geometry Type |
<li>Tick the 'Points' Geometry Type |
||
<li>In the Spatial Database Options, select 'All to one'. Navigate to the '''Module_10/TUFLOW/model/gis''' folder and select '''M10_002.gpkg'''. Click Save and hit 'OK'. |
|||
<li>The 2d_vzsh file appears in the Layers panel. <br> |
|||
<li>Right click on the '''2d_zsh_M10_dambreak_002_P''' and toggle on Editing. |
<li>Right click on the '''2d_zsh_M10_dambreak_002_P''' and toggle on Editing. |
||
<li>Select 'Add Point Feature'. |
<li>Select 'Add Point Feature'. |
||
| Line 52: | Line 54: | ||
<li>Click 'OK' and turn off editing to save the edits.<br> |
<li>Click 'OK' and turn off editing to save the edits.<br> |
||
<br> |
<br> |
||
{{Video|name=Animation_M10_GPKG_002_GIS_03.mp4|width=1230}}<br> |
|||
[[File:Animation M10 002 GIS 03.gif]]<br> |
|||
<br> |
<br> |
||
</ol> |
</ol> |
||
Latest revision as of 12:22, 12 June 2025
Introduction
QGIS is used to create, import and view input data.
Method
Setup the GeoPackage Database:
- 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:
- Load in the 2d_vzsh_M10_dambreak_001_R layer from Module_10\TUFLOW\model\gis\M10_002.gpkg, either:
- Within the QGIS Browser Panel, navigate to M10_002.gpkg and double click the layer, or
- In File Explorer, drag and drop the M10_002.gpkg into the QGIS Workspace and select the layer.
- Select the 2d_vzsh_M10_dambreak_001_R layer in the Layers panel.
- Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar.
- Within the 'Increment Selected Layer' tool window:
- Ensure the 'Output Database' is Module_10\TUFLOW\model\gis\M10_002.gpkg.
- Ensure the 'Output Layer Name' is 2d_vzsh_M10_dambreak_002_R.
- Select 'Remove Source Layer from Workspace'.
- Select 'Increment layer only' and click 'OK'.
See Increment Layer Tool for more information.
- Right click on the 2d_vzsh_M10_dambreak_002_R layer to toggle on Editing.
- Click on the 'Identify Features' tool and click on the polygon.
- Update the following attributes:
- Trigger_1: WL_Trigger
- Trigger_Value: 60
- Period: 0.5
- Click 'OK' and turn off editing to save the edits.
Create a point to set the location of the water level trigger:
- Click on the ‘Import Empty File’ symbol from the TUFLOW Plugin toolbar.
- Select '2d_vzsh' from the Empty Type list.
- In the Run ID box write 'M10_dambreak_002'.
- Tick the 'Points' Geometry Type
- In the Spatial Database Options, select 'All to one'. Navigate to the Module_10/TUFLOW/model/gis folder and select M10_002.gpkg. Click Save and hit 'OK'.
- The 2d_vzsh file appears in the Layers panel.
- Right click on the 2d_zsh_M10_dambreak_002_P and toggle on Editing.
- Select 'Add Point Feature'.
- Digitise a point within the dam upstream of the location of the dam break.
- An attributes dialog displays, enter the following attributes:
- Shape_Option: TRIGGER
- Trigger_1: WL_Trigger
- Click 'OK' and turn off editing to save the edits.
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 |
|---|