Tutorial M03 GIS Inputs QGIS GPKG: Difference between revisions

Content deleted Content added
Line 20:
 
= 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>
<li>Navigate to the '''Module_03\TUFLOW\model\gis''' folder. Save a copy of '''M02_002.gpkg''' as '''M03_001.gpkg'''.
<li>Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'.
<li>Navigate to the '''Module_03''' folder and select it.
</ol>
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\gisM03_001.gpkg''' folder:
:*'''1d_nwk_M03_culverts_001_L'''
:*'''2d_bc_M03_culverts_001_L'''
Line 27 ⟶ 33:
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 ‘Apply TUFLOW Styles to Open Layers’.
:*Right click on the '''1d_nwk_M03_culverts_001_L''' layer and turn on 'Show Labels'.
Line 50 ⟶ 56:
<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.