Difference between revisions of "QGIS SWMM GeoPackage Create from SWMM inp"

From Tuflow
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
This tool converts a SWMM input file (.inp) to a GeoPackage file (.gpkg) that can be visualized and edited within GIS.<br>
+
This tool converts a SWMM input file (.inp) to a GeoPackage file (.gpkg) that can be visualized and edited within GIS. For most tables, the GeoPackage file is a simple conversion of the SWMM tables. For tables that have columns with multiple options, each of the options has its own column (it is in a wide format that does not reuse columns for different purposes). Some of the tables in the inp file will be combined in the GeoPackage representation. For example, the XSection table is appended to the Conduits, Weirs, and Orifices tables, and the Losses table is appended to the Conduits table. Combining tables prevents the need to edit multiple tables when new features are added or moved. Fields usage can be inferred from looking at the SWMM input file documentation.<br>
For most tables, the GeoPackage file is a simple conversion of the SWMM tables. For tables that have columns with multiple options, each of the options has its own column (it is a wide-format that does not reuse columns for different purposes).<br>
 
Some of the tables in the inp file will be combined in the GeoPackage representation. For example, the XSection table is appeneded to the Conduits, Weirs, and Orifices tables and the Losses table is appended to the Conduits table. Combining tables prevents needing to edit multiple tables when new features are added or moved.<br>
 
Fields usage can be inferred from looking at the SWMM input file documentation.<br>
 
  
 
== Usage ==
 
== Usage ==
This tool can be found in the QGIS processing toolbox panel under 'TUFLOW > SWMM'. To open the Processing Toolbox Panel, navigate to 'Processing' in the menubar and select 'Toolbox'.<br>
+
This tool, '''GeoPackage - Create from SWMM inp''', can be found in the QGIS processing toolbox panel under TUFLOW >> SWMM. To open the Processing Toolbox panel, navigate to 'Processing' in the menubar and select 'Toolbox'.<br>
 
<br>
 
<br>
 
[[File:open_processing_toolbox.png]]<br>
 
[[File:open_processing_toolbox.png]]<br>
Line 13: Line 10:
 
=== Parameters ===
 
=== Parameters ===
 
<ol>
 
<ol>
<li>'''SWMM Input File (.inp):''' Select the ... button to bring up a dialogue and then navigate to the location of the SWMM inp file to convert.
+
<li>'''SWMM Input File (inp):''' The SWMM file (.inp) that will be used to create the GeoPackage.  
<li>'''CRS for GeoPackage:''' Select the desired CRS (Coordinate Reference System) for the GeoPackage by either the drop down menu, or by selecting 'Select CRS' [[File:CRS_icon.png]] and using the CRS Selector.
+
<li>'''CRS for GeoPackage:''' The CRS (Coordinate Reference System) for the output GeoPackage.
<li>'''SWMM Tags to ignore during conversion in a comma delimited list:''' '''<font color=red>???</font>'''
+
<li>'''SWMM Tags to ignore during conversion in a comma delimited list:''' The SWMM tags to be skipped during the conversion. The tool will exclude (skip) the features in the SWMM inp file with the listed tags.
<li>'''GeoPackage output filename:''' Select the ... button to bring up a dialogue and then navigate to the desired location of the GeoPackage.  
+
<li>'''GeoPackage output filename:''' Determines the location and filename of the output GeoPackage.
 
</ol>
 
</ol>
 
<br>
 
<br>
[[File:create_from_swmm_inp_dialog.png]]
+
[[File:GeoPackage_Create_From_SWMM_inp_Dialog_b.png]]
 
<br><br>
 
<br><br>
  
=== Example ===
+
== Example ==
{{Video|name=.mp4|width=1235}}
+
<br>
 +
{{Video|name=Animation_GeoPackage_Create_From_SWMM_inp_01b.mp4|width=1236}}
  
  

Latest revision as of 14:15, 3 May 2024

Introduction

This tool converts a SWMM input file (.inp) to a GeoPackage file (.gpkg) that can be visualized and edited within GIS. For most tables, the GeoPackage file is a simple conversion of the SWMM tables. For tables that have columns with multiple options, each of the options has its own column (it is in a wide format that does not reuse columns for different purposes). Some of the tables in the inp file will be combined in the GeoPackage representation. For example, the XSection table is appended to the Conduits, Weirs, and Orifices tables, and the Losses table is appended to the Conduits table. Combining tables prevents the need to edit multiple tables when new features are added or moved. Fields usage can be inferred from looking at the SWMM input file documentation.

Usage

This tool, GeoPackage - Create from SWMM inp, can be found in the QGIS processing toolbox panel under TUFLOW >> SWMM. To open the Processing Toolbox panel, navigate to 'Processing' in the menubar and select 'Toolbox'.

Open processing toolbox.png

Parameters

  1. SWMM Input File (inp): The SWMM file (.inp) that will be used to create the GeoPackage.
  2. CRS for GeoPackage: The CRS (Coordinate Reference System) for the output GeoPackage.
  3. SWMM Tags to ignore during conversion in a comma delimited list: The SWMM tags to be skipped during the conversion. The tool will exclude (skip) the features in the SWMM inp file with the listed tags.
  4. GeoPackage output filename: Determines the location and filename of the output GeoPackage.


GeoPackage Create From SWMM inp Dialog b.png

Example



Up
Go-up.png Back to TUFLOW QGIS Plugin Main Page