Tutorial M11 002 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>  = Method =..."  | 
				|||
Line 7: 
= Method =  
Set up the GeoPackage Database: 
Navigate to the '''Module_11\Tutorial_Data''' folder. Copy and save the below layers into the '''Module_11\TUFLOW\model\gis''' folder:▼ 
<ol> 
:*1d_nwk_M11_bridges_002_L▼ 
<li>Navigate to the '''Module_11\TUFLOW\model\gis''' folder. Save a copy of '''M11_001.gpkg''' as '''M11_002.gpkg'''. 
:*1d_nwk_M11_weirs_002_L▼ 
</ol> 
▲ 
▲:*'''1d_nwk_M11_bridges_002_L''' 
▲:*'''1d_nwk_M11_weirs_002_L''' 
Investigate the supplied files: 
<ol> 
<li>Open the files, either: 
:*Within the QGIS Browser Panel, navigate to '''M11_002.gpkg''' and double click the layers, or 
:*In File Explorer, drag and drop the '''M11_002.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 1d_nwk bridge layer represents a bridge in 1D at the upstream and downstream road crossing. Type attribute ‘BB’ is specified, only pier loss and submerged deck loss coefficients are required, all other losses are automatically calculated. 
Line 23 ⟶ 27: 
[[File:Animation M11 002 GIS 06a.gif]]<br> 
<br> 
<li>Open the files, either: 
:*Within the QGIS Browser Panel, navigate to ''''M11_002.gpkg''' and double click the following layers, or  
::*''' 
::*'''1d_xs_M11_weirs_002_L''' 
:*In File Explorer, drag and drop the '''M11_002.gpkg''' into the QGIS workspace and select the layers above (hold Ctrl to select multiple). 
<li>Use the 'Apply TUFLOW Styles to Open Layers'. 
<li>Use the TUFLOW Viewer to view the 'HW' (height vs width) cross section of the bridges and 'XZ' (distance vs elevation) cross section of the weir. <br> 
Line 36 ⟶ 42: 
Increment the 1d_nwk layer to remove both culverts contained within the main channel. They are replaced by a bridge (upstream) and bridge and weir (downstream): <br> 
<ol> 
<li> 
:*Within the QGIS Browser Panel, navigate to '''M11_002.gpkg''' and double click the layer, or 
:*In File Explorer, drag and drop the '''M11_002.gpkg''' into the QGIS workspace and select the layer. 
<li>Select the '''1d_nwk_M03_culverts_001_L''' layer in the Layers panel.  
<li>Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar. 
<li>Manually change the name from '''1d_nwk_''M03''_culverts_''001''_L''' to '''1d_nwk_''M11''_culverts_''002''_L'''. Ensure the 'Output Database' is '''M11_002.gpkg'''. 
<li>Select to 'Remove Source Layer from Workspace' and click 'OK'.<br> 
<li>The tool removes the source layer from the Layers panel and the '''1d_nwk_M11_culverts_002_L''' appears. 
Line 53 ⟶ 61: 
Increment the code layer to change active and inactive areas at the downstream road where 1D weir is used instead of 2D overtopping: <br> 
<ol> 
<li> 
:*Within the QGIS Browser Panel, navigate to '''M11_002.gpkg''' and double click the layer, or 
:*In File Explorer, drag and drop the '''M11_002.gpkg''' into the QGIS workspace and select the layer. 
<li>Select the '''2d_code_M11_null_creek_001_R''' layer in the Layers panel.  
<li>Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar. 
<li>The tool automatically renames the '''2d_code_M11_null_creek_''001''_R''' to '''2d_code_M11_null_creek_''002''_R'''. Ensure the 'Output Database' is '''M11_002.gpkg'''. 
<li>Select to 'Remove Source Layer from Workspace' and click 'OK'.<br> 
<li>The tool removes the source layer from the Layers panel and the '''2d_code_M11_null_creek_002_R''' appears. 
Line 71 ⟶ 81: 
Increment the Z shape layer to change the elevation of the river banks at the downstream road: <br> 
<ol> 
<li> 
:*Within the QGIS Browser Panel, navigate to '''M11_002.gpkg''' and double click the layer, or 
:*In File Explorer, drag and drop the '''M11_002.gpkg''' into the QGIS workspace and select the layer. 
<li>Select the '''2d_zsh_M11_hx_001_L''' layer in the Layers panel.  
<li>Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar. 
<li>The tool automatically renames the '''2d_zsh_M11_hx_''001''_L''' to '''2d_zsh_M11_hx_''002''_L'''. Ensure the 'Output Database' is '''M11_002.gpkg'''. 
<li>Select to 'Remove Source Layer from Workspace' and click 'OK'.<br> 
<li>The tool removes the source layer from the Layers panel and the '''2d_zsh_M11_hx_002_L''' appears. 
Line 89 ⟶ 101: 
Increment the boundary condition layer to change the HX boundary at the downstream road: <br> 
<ol> 
<li> 
:*Within the QGIS Browser Panel, navigate to '''M11_002.gpkg''' and double click the layer, or 
:*In File Explorer, drag and drop the '''M11_002.gpkg''' into the QGIS workspace and select the layer. 
<li>Select the '''2d_bc_M11_hx_001_L''' layer in the Layers panel.  
<li>Click on the ‘Increment Selected Layer’ symbol from the TUFLOW Plugin toolbar. 
<li>The tool automatically renames the '''2d_bc_M11_hx_''001''_L''' to '''2d_bc_M11_hx_''002''_L'''. Ensure the 'Output Database' is '''M11_002.gpkg'''. 
<li>Select to 'Remove Source Layer from Workspace' and click 'OK'.<br> 
<li>The tool removes the source layer from the Layers panel and the '''2d_bc_M11_hx_002_L''' appears. 
 | |||