Tutorial M05 GIS Inputs QGIS GPKG: Difference between revisions
Content deleted Content added
| (8 intermediate revisions by one other user not shown) | |||
Line 1:
</span>▼
= Introduction =
QGIS is used to create, import and view input data.<br>
Line 20 ⟶ 17:
= Method =
Setup the GeoPackage Database:
Navigate to the '''Module_05\Tutorial_Data''' folder. Copy and save all the below layers into the ''' Module_05\TUFLOW\model\gis''' folder: ▼
<ol>
:*1d_nwk_M05_pipes_001_L▼
<li>Navigate to the '''Module_05\TUFLOW\model\gis''' folder. Save a copy of '''M02_001.gpkg''' as '''M05_001.gpkg'''.
:*1d_nwk_M05_pits_001_P▼
<li>Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'.
:*2d_sa_M05_001_R▼
<li>Navigate to the '''Module_05''' folder and select it.
:*2d_zsh_M02_landscape_002_L▼
:*2d_zsh_M02_landscape_002_P▼
▲
:*2d_zsh_M02_landscape_002_R▼
▲:*'''1d_nwk_M05_pipes_001_L'''
:*2d_mat_M02_landscape_002_R▼
▲:*'''1d_nwk_M05_pits_001_P'''
▲:*'''2d_sa_M05_001_R'''
▲:*'''2d_zsh_M02_landscape_002_L'''
▲:*'''2d_zsh_M02_landscape_002_P'''
▲:*'''2d_zsh_M02_landscape_002_R'''
▲:*'''2d_mat_M02_landscape_002_R'''
Investigate the supplied files:
<ol>
<li>Open the files, either: <br>
:*Within the QGIS Browser Panel, navigate to '''M05_001.gpkg''' and double click the layers, or
:*In File Explorer, drag and drop the '''M05_001.gpkg''' into the QGIS workspace and select the layers (hold Ctrl to select multiple).
<li>Use the 'Apply TUFLOW Styles to Open Layers'.
<li>The 2d_zsh landscape files create a TIN elevation footprint of the development. The 2d_mat file contains polygons that represent the updated land use due to the topography changes. See <u>[[
<li>The 1d_nwk layers represents pits and pipes. The pipes are a series of circular culverts with a set Manning’s roughness value. The pits are set up as a series of Q type pits to convey flow into the pipe network via SX connections.
<br>
{{Video|name=Animation_M05_GPKG_GIS_03.mp4|width=1253}}<br>
<br>
Line 47 ⟶ 51:
<li>Select '2d_bc' from the Empty Type list.
<li>In the Run ID box write 'M05_outlet_001'.
<li>Tick the 'Lines' Geometry Type
<li>In the Spatial Database Options, select 'All to one'. Navigate to the '''Module_05/TUFLOW/model/gis''' folder and select '''M05_001.gpkg'''. Click Save and hit 'OK'.
<li>The '''2d_bc_M05_outlet_001_L''' appears in the QGIS Layers Panel.
<li>Right click on the '''2d_bc_M05_outlet_001_L''' and toggle on Editing.
<li>Enable snapping and use the 'Edit Advanced Configuration' tool to select '''2d_bc_M05_outlet_001_L''' and '''1d_nwk_M05_pipes_001_L'''.
Line 55 ⟶ 61:
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M05_GPKG_GIS_01.mp4|width=1253}}<br>
<br>
</ol>
Line 62 ⟶ 68:
<ol>
<li>The 2d_sa layer contains four regions, each with a different name attribute to apply unique inflows to different parts of the development site: <br><br>
{{Video|name=Animation_M05_GPKG_GIS_02.mp4|width=1253}}<br>
</ol>
<br>
| |||