Difference between revisions of "QGIS SWMM Integrity Make Object Names Unique"

From Tuflow
Jump to navigation Jump to search
(Created page with "== Introduction == This tool adds a suffix (.#) to duplicately named SWMM features. SWMM features must be uniquely named to avoid errors when running the simulation. == Usage...")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
This tool adds a suffix (.#) to duplicately named SWMM features. SWMM features must be uniquely named to avoid errors when running the simulation.
+
This tool adds a suffix (.#) to SWMM features with duplicate names. SWMM features must have unique names to avoid errors during simulation.
  
 
== Usage ==
 
== Usage ==
This tool, '''Integrity - Make node names unique''', 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, '''Integrity - Make object names unique''', 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 10: Line 10:
 
=== Parameters ===
 
=== Parameters ===
 
<ol>
 
<ol>
<li>'''Input SWMM Layer:''' The existing SWMM layer that will be updated. To only update the names of some of the layers' features, select the desired ones and tick on 'Selected features only'.
+
<li>'''Input layer:''' The existing SWMM layer to be updated.  
<li>'''Output Layer:''' Determines the location and filename of the output file. Details on the options are below.  
+
<li>'''Selected features only:''' If feature(s) in the input SWMM layer have been selected using the 'Select Features' tool, this option will become available. If checked on, the tool will only update the selected feature(s).
 +
<li>'''Cleaned Objects:''' Determines the location and filename of the output file.  
 
</ol>
 
</ol>
<br>
+
'''Note:''' If 'Edit Feature In-Place' is selected, the tool does not require any input parameters. Once the tool is double-clicked in the processing toolbox, the selected layer will automatically be updated.
[[File:make_node_names_unique_dialog.png]]
+
<br><br>
 +
[[File:Integrity_Make_Object_Names_Unique_Dialog_a.png]]
 
<br><br>
 
<br><br>
  
:'''Output Options:'''<br>
+
== Example ==
:For each of the following options, the tool will output a new layer and won't override any existing files. <br>
+
<br>
<ol>
+
{{Video|name=Animation_Integrity_Make_Object_Names_Unique_01b.mp4|width=1236}}
 
<br>
 
<br>
[[File:output_options_a.png]]
+
Using the 'Edit Feature In-Place' tool:
 
<br><br>
 
<br><br>
:<li>Create Temporary Layer:
+
{{Video|name=Animation_Integrity_Make_Object_Names_Unique_02b.mp4|width=1236}}
:*Creates a temporary scratch layer. This layer will open into the QGIS workspace but it will '''not''' be saved anywhere.
 
:<li>Save to File...:
 
:*The user can navigate to a folder and save the layer to a new GeoPackage Database.
 
:<li>Save to GeoPackage...:
 
:*The user can navigate to an existing GeoPackage Database. Once selected, a 'Layer Name' dialog will appear. Enter the new layer name, and the new layer will be saved as that name in the GPKG.
 
::[[File:Layer_Name_dialog.png]]
 
</ol>
 
 
<br>
 
<br>
 
=== Example ===
 
{{Video|name=Animation_Integrity_Node_Names_Unique_01a.mp4|width=1235}}
 
 
  
 
{{Tips Navigation
 
{{Tips Navigation
 
|uplink=[[TUFLOW_QGIS_Plugin#Usage| Back to TUFLOW QGIS Plugin Main Page]]
 
|uplink=[[TUFLOW_QGIS_Plugin#Usage| Back to TUFLOW QGIS Plugin Main Page]]
 
}}
 
}}

Latest revision as of 14:48, 3 May 2024

Introduction

This tool adds a suffix (.#) to SWMM features with duplicate names. SWMM features must have unique names to avoid errors during simulation.

Usage

This tool, Integrity - Make object names unique, 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. Input layer: The existing SWMM layer to be updated.
  2. Selected features only: If feature(s) in the input SWMM layer have been selected using the 'Select Features' tool, this option will become available. If checked on, the tool will only update the selected feature(s).
  3. Cleaned Objects: Determines the location and filename of the output file.

Note: If 'Edit Feature In-Place' is selected, the tool does not require any input parameters. Once the tool is double-clicked in the processing toolbox, the selected layer will automatically be updated.

Integrity Make Object Names Unique Dialog a.png

Example



Using the 'Edit Feature In-Place' tool:


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