Tutorial M03 GIS Inputs QGIS GPKG: Difference between revisions

Content deleted Content added
No edit summary
 
(12 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 workspace by selecting Project > Save As.<br>
<br>
[[File:M03_SHP_ConfigureProjectM03_GPKG_ConfigureProject.PNG]]<br><br>
<li>Set the workspace projection to EPSG:32760, see <u>[[Tutorial_Site_Familiarisation_QGIS#Set_the_Projection | Set the Projection]]</u>.
</ol>
Line 20 ⟶ 17:
 
= Method =
Set up the GeoPackage Database:
Navigate to the '''Module_03\Tutorial_Data''' folder. Copy and save all the below layers into the '''Module_03\TUFLOW\model\gis''' folder:
<ol>
:*1d_nwk_M03_culverts_001_L
<li>Navigate to the '''Module_03\TUFLOW\model\gis''' folder. Save a copy of '''M02_001.gpkg''' as '''M03_001.gpkg'''.
:*2d_bc_M03_culverts_001_L
<li>Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'.
:*2d_bc_M03_culverts_001_R
<li>Navigate to the '''Module_03''' folder and select it.
</spanol>
NavigateWithin the QGIS Browser Panel, navigate to the '''Module_03\Tutorial_Data''' folder. CopyDrag and save alldrop the belowfollowing layers into the '''Module_03\TUFLOW\model\gis\M03_001.gpkg''' folder:
:*'''1d_nwk_M03_culverts_001_L'''
:*'''2d_bc_M03_culverts_001_L'''
:*'''2d_bc_M03_culverts_001_R'''
 
Investigate the supplied files:
<ol>
<li>Open the files, either: <br>
:*Within the QGIS Browser Panel, navigate to '''M03_001.gpkg''' and double click the layers, or
:*Drag and drop the .shp files into the QGIS workspace; or
:*In File Explorer, drag and drop the '''M03_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_03\TUFLOW\model\gis''' folder.
:*Select<li>Use the ‘Apply TUFLOW Styles to Open Layers’.
:*Right<li>Left click on the '''1d_nwk_M03_culverts_001_L''' layer and turn onselect 'ShowApply Label to Current LabelsLayer'.
<li>The 1d_nwk layer represents culverts placed under the road embankments crossing the flow paths. SeeRefer Table 5-3 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_M03_GPKG_GIS_01a.mp4|width=1279}}<br>
[[File:Animation M03 GIS 01.gif]]<br>
<br>
 
Line 41 ⟶ 44:
 
<br>
{{Video|name=Animation_M03_GPKG_GIS_02.mp4|width=1279}}<br>
[[File:Animation_M03_GIS_02a.gif]]<br>
<br>
</ol>
Line 50 ⟶ 53:
<li>Select '2d_bc' from the Empty Type list.
<li>In the Run ID box write: 'M03_culverts_001'.
<li>Tick the 'Points' Geometry Type and hit 'OK'. The 2d_bc appears in the Layers panel.
<li>In the Spatial Database Options, select 'All to one'. Navigate to the '''Module_03/TUFLOW/model/gis''' folder and select '''M03_001.gpkg'''. Click Save and hit 'OK'.
<li> Zoom to the unconnected 1D culvert. <br>
<li>The '''2d_bc_M03_culverts_001_P''' appears in the Layers panel.
<li> Zoom to the unconnected 1D culvert. <br>
<li>Enable snapping, it is important the points are snapped to the network line.
:*Right click anywhere in the Toolbar panel and tick on the Snapping Toolbar.
Line 64 ⟶ 69:
 
<br>
{{Video|name=Animation_M03_GPKG_GIS_03.mp4|width=1279}}<br>
[[File:Animation M03 GIS 03A.gif]]<br>
<br>
</ol>