QGIS SWMM GeoPackage Write to SWMM inp: Difference between revisions

Content deleted Content added
Created page with "== Introduction == This tool adds tables representing SWMM sections to an existing GeoPackage. The formatting works with the TUFLOW-SWMM tools for writing SWMM inp files. It i..."
 
 
(15 intermediate revisions by 2 users not shown)
Line 1:
== Introduction ==
This tool converts a GeoPackage into a SWMM inp file for use with SWMM models. <br>
This tool adds tables representing SWMM sections to an existing GeoPackage. The formatting works with the TUFLOW-SWMM tools for writing SWMM inp files.
It is recommended to use the <u>[[QGIS SWMM GeoPackage Create|GeoPackage - Create]]</u> and the <u>[[QGIS SWMM GeoPackage Add Sections|GeoPackage - Add Sections]]</u> processing tools to ensure the GeoPackage is in the correct format for this tool. This will avoid errors while converting the GeoPackage to a SWMM inp file.
It is recommended to use this tool to create new SWMM sections to eliminate potential future errors when using the other TUFLOW-SWMM tools.
<br>
 
== Usage ==
This tool, '''GeoPackage - Write to SWMM inp''', can be found in the QGIS processing toolbox panel under 'TUFLOW >> SWMM'. To open the Processing Toolbox Panelpanel, navigate to 'Processing' in the menubar and select 'Toolbox'.<br>
<br>
[[File:open_processing_toolbox.png]]<br>
<br>
This tool can also be accessed directly from the QGIS Layers Panel. Right click any layer from the SWMM GeoPackage and select 'TUFLOW' > 'SWMM - Export inp file'. This process is demonstrated in the second example video below.
<br>
 
=== Parameters ===
<ol>
<li>'''GPKG filenameInput modifyFile:''' SelectThe theGeoPackage ...that buttonwill tobe bring up a dialogue and then navigateused to the location ofcreate the GeoPackageSWMM toinp modifyfile.
<li>'''CRS for GeoPackage layers:''' Select the CRS (Coordinate Reference System) of the GeoPackage by either the drop down menu, or by selecting 'Select CRS' [[File:CRS_icon.png]] and using the CRS Selector.
<li>'''SWMM Sections to add:''' Select the ... button and tick on the SWMM sections to add to the GeoPackage.
</ol>
By default, this tool will save the SWMM inp file in the same folder location and with the same name as the GeoPackage input file.
<br><br>
[[File:GeoPackage_Write_to_SWMM_inp_Dialog_b.png]]
<br><br>
 
=== Example ===
<br>
{{Video|name=Animation_GeoPackage_Write_to_SWMM_inp_01b.mp4|width=1236}}
<br>
Accessing the tool from the QGIS Layers Panel:
[[File:add_sections_dialog.png]]
<br><br>
{{Video|name=Animation_GeoPackage_Write_to_SWMM_inp_02a.mp4|width=1236}}
 
=== Example ===
{{Video|name=Animation_Add_Sections_001a.mp4|width=1235}}