Tutorial M05 GIS Inputs QGIS GPKG: Difference between revisions

Content deleted Content added
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> = TUFLOW Pro..."
 
 
(9 intermediate revisions by one other user not shown)
Line 1:
<span style="color:#FF0000">
<font size = 18>Page Under Construction</font>
</span>
= Introduction =
QGIS is used to create, import and view input data.<br>
Line 14 ⟶ 11:
<li>Click 'OK' and save the QGIS workspace by selecting Project > Save As.<br>
<br>
[[File:M05_SHP_ConfigureProjectM05_GPKG_ConfigureProject_a.PNG]]<br><br>
<li>Set the QGIS 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 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
</spanol>
:*2d_zsh_M02_landscape_002_P
NavigateWithin the QGIS Browser Panel, navigate to the '''Module_05\Tutorial_Data''' folder. CopyDrag and save alldrop the belowfollowing layers into the ''' Module_05\TUFLOW\model\gis\M05_001.gpkg''' folder:
:*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
:*Drag and drop all .shp files into the QGIS workspace, or
:*In File Explorer, drag and drop the '''M05_001.gpkg''' into the QGIS workspace and select the layers (hold Ctrl to select multiple).
:*Select Layer > Add layer > Add Vector Layer and navigate to the ''' Module_05\TUFLOW\model\gis''' folder.
<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>[[Tutorial_M02_002_GIS_Inputs_QGISTutorial_M02_002_GIS_Inputs_QGIS_GPKG | Module 2]]</u> for more information.<br>
<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. SeeRefer Section 5.4 ofto the <u>[https://downloadsdocs.tuflow.com/_archiveclassic-hpc/TUFLOWmanual/Releaseslatest/2018-03/TUFLOW%20Manual.2018-03.pdf 2018 TUFLOW Manual]</u> for more information on the attributes. <br>
<br>
{{Video|name=Animation_M05_GPKG_GIS_03.mp4|width=1253}}<br>
[[File:Animation_M05_GIS_03c.gif]]<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 and hit 'OK'. The 2d_bc layer appears in the QGIS Layers panel.
<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>
[[File:Animation_M05_GIS_01e.gif]]<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>
[[File:Animation_M05_GIS_02e.gif]]<br>
</ol>
<br>