Tutorial M07 GIS Inputs QGIS GPKG: Difference between revisions

Content deleted Content added
 
(6 intermediate revisions by 2 users not shown)
Line 17:
 
= Method =
Setup the GeoPackage Database:
Navigate to the '''Module_07\TUFLOW\model\gis''' folder:
<ol>
:*Drag and drop the '''2d_code_M01_001_R.shp''' file into the workspace, or
:*Select Layer <li> Add layer > Add Vector Layer and navigateNavigate to the ''' Module_07\TUFLOW\model\gis''' folder. Save a copy of '''M02_001.gpkg''' as '''M07_001.gpkg'''.
<li>Within the QGIS Browser Panel, right click on 'Favorites' and select 'Add a Directory...'.
<li>Navigate to the '''Module_07\TUFLOW\model\gis''' folder: and select it.
</ol>
 
Open the '''2d_code_M01_001_R''' layer, either: <br>
:*Within the QGIS Browser Panel, navigate to '''Module_07\TUFLOW\model\gis\M07_001.gpkg''' and double click the layer, or
:*In File Explorer, drag and drop the '''Module_07\TUFLOW\model\gis\M07_001.gpkg''' into the QGIS workspace and select the layer.
:*Use the 'Apply TUFLOW Styles to Open Layers'.
 
Create quadtree nesting layer: <br>
<ol>
<li>Click on the ‘Import Empty File’ symbol from the TUFLOW Pluginplugin toolbar.
<li>Select '2d_qnl' from the Empty Type list.
<li>In the Run ID box write 'M07_001'.
<li>Tick the 'Regions' Geometry Type and hit 'OK'. The 2d_qnl (quadtree nesting layer) file appears in the Layers panel.
<li>In the Spatial Database Options, select 'All to one'. Navigate to the '''Module_07\TUFLOW\model\gis''' folder and select '''M07_001.gpkg'''. Click Save and hit 'OK'.
<li>The 2d_qnl (quadtree nesting layer) appears in the QGIS Layers Panel.
<li>Right click on the '''2d_qnl_M07_001_R''' and toggle on Editing.
<li>Select 'Add Polygon Feature' and digitise a polygon around the creek.
Line 33 ⟶ 42:
<li>Turn off editing to save the edits.<br>
<br>
{{Video|name=Animation_M07_GPKG_GIS_01.mp4|width=1269}}<br>
[[File:Animation M07 GIS 01a.gif]]<br>
<br>
</ol>