TUFLOW SWMM Tutorial M03: Difference between revisions
Content deleted Content added
Chris Huxley (talk | contribs) |
Chris Huxley (talk | contribs) |
||
Line 87:
= SWMM Inputs =
==Update SWMM GeoPackage Spatial Database==
In previous tutorials we have created new SWMM GeoPackage databases for our new entries. This tutorial will demonstrate a different update approach. Instead of creating a new SWMM GeoPackage database, we will update an existing database (sw03_001) by adding new SWMM Sections for the hydrology elements we will be incorporating into the model in this tutorial.
<ol>
<li>Go to '''Processing > Toolbox''' from the top dropdown menu options to open the Processing Toolbox Panel.
<li>Go to '''TUFLOW > SWMM''' in the processing tool list and select 'GeoPackage -
<li>Select the following:
: GPKG filename modify: '''TUFLOW_SWMM_Module_03\TUFLOW\model\swmm\sw03_001.gpkg'''
: CRS for GeoPackage: '''Project CRS: EPSG:32760 - WGS 84 / UTM zone 60S'''.
:
<li>Click 'Run'.
</ol>
'''<video>'''
<li>In File Explorer, navigate to the '''TUFLOW\model\swmm''' folder and drag and drop '''sw03_001.gpkg''' into QGIS. ▼
<li>When prompted by QGIS, under 'Options', tick on 'Add layers to group', then select 'Add Layers' to open all vectors within '''sw03_001.gpkg'''. By default, all items in the available list should have been selected. ▼
The above steps have added the new Sections to the SWMM GeoPackage database. The new additonal sections however are not currently displayed in the QGIS layers panel. We need to close the database and reopen it to view the change.
<li>In the QGIS Layers panel, move '''sw03_001.gpkg''' to the top of the list. This will ensure the data within this database file is displayed above all other layers in the project. ▼
<ol>
<li> Right click '''sw03_001''' in the QGIS layer panel and select '''Remove Group...'''.
▲<li> In File Explorer, navigate to the '''TUFLOW\model\swmm''' folder and drag and drop '''sw03_001.gpkg''' into QGIS.
▲<li> When prompted by QGIS, under 'Options', tick on 'Add layers to group', then select 'Add Layers' to open all vectors within '''sw03_001.gpkg'''. By default, all items in the available list should have been selected.
▲<li> In the QGIS Layers panel, move '''sw03_001.gpkg''' to the top of the list. This will ensure the data within this database file is displayed above all other layers in the project when we are making edits.
<br><br>
'''<<Video>>'''
| |||