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

From Tuflow
Jump to navigation Jump to search
Line 43: Line 43:
 
Save to an existing GeoPackage:
 
Save to an existing GeoPackage:
 
<br>
 
<br>
{{Video|name=Animation_Assign_Nodes_001b.mp4|width=1235}}
+
{{Video|name=Animation_Conduits_Assign_Node_Fields_01a.mp4|width=1235}}
 
<br><br>
 
<br><br>
 
Using 'Edit Feature In-Place' tool:
 
Using 'Edit Feature In-Place' tool:
 
<br>
 
<br>
{{Video|name=Animation_Assign_Nodes_002b.mp4|width=1235}}
+
{{Video|name=Animation_Conduits_Assign_Node_Fields_02a.mp4|width=1235}}
 
<br><br>
 
<br><br>
  

Revision as of 10:10, 14 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 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.

    Assign Nodes Dialog output options 02.png

  1. Create Temporary Layer:
    • Creates a temporary scratch layer. This layer will open into the QGIS workspace but it will not be saved anywhere.
  2. Save to File...:
    • The user can navigate to a folder and save the updated conduits layer to a new GeoPackage Database.
  3. 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
  4. Save to Database Table...:
    • ???
  5. Append to Layer...:
    • ???


Example

Save to an existing GeoPackage:



Using 'Edit Feature In-Place' tool:



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