Difference between revisions of "QGIS SWMM Conduits Assign Node Fields"

From Tuflow
Jump to navigation Jump to search
Line 16: Line 16:
 
</ol>
 
</ol>
 
'''Note:''' If 'Edit Feature In-Place' is selected, the tool only requires the 'SWMM Node Layers' parameter. Ie. The tool will overwrite the existing conduits file with the updated "To Node" and "From Node" fields.  
 
'''Note:''' If 'Edit Feature In-Place' is selected, the tool only requires the 'SWMM Node Layers' parameter. Ie. The tool will overwrite the existing conduits file with the updated "To Node" and "From Node" fields.  
<br>
+
<br><br>
 
[[File:Assign_Nodes_Dialog.png]]
 
[[File:Assign_Nodes_Dialog.png]]
 
<br><br>
 
<br><br>

Revision as of 15:08, 13 December 2023

Introduction

This tool gives users the ability to reliably and efficiently assign the "To Node" and "From Node" fields of a conduits layer. It identifies the nodes snapped to the endpoints of conduits and assigns the "To Node" and "From Node" appropriately.
This tool supports in-place editing if selected in the QGIS processing window.

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'.

Open processing toolbox.png

Parameters

  1. Input Layer: The existing conduits layer that will have be assigned the 'To Node' and 'From Node' fields. To only update the fields of some of the layers' features, tick on 'Selected features only'. The tool will only update the fields of the conduits which have been selected.
  2. SWMM Node Layers: The existing node layers that are snapped to the endpoints of the conduits.
  3. Conduits: Determines the output file. Details on the options are below.

Note: If 'Edit Feature In-Place' is selected, the tool only requires the 'SWMM Node Layers' parameter. Ie. The tool will overwrite the existing conduits file with the updated "To Node" and "From Node" fields.

Assign Nodes Dialog.png

Output Options:
For each of the following options, the tool will create a new conduits layer and won't overwrite the existing one.

Create Temporary Layer:
  • Creates a temporary scratch layer. This layer will open into the QGIS workspace but it will not be saved anywhere.
Save to File...:
  • The user can navigate to a folder and save the updated conduits layer to a new GeoPackage Database.
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 updated conduits layer will be saved as that name in the GPKG.
Layer Name dialog.png
Save to Database Table...:
  • ???
Append to Layer...:
  • ???


Assign Nodes Dialog output options.png

Example

Save to an existing GeoPackage:



Using 'Edit Feature In-Place' tool:



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