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

From Tuflow
Jump to navigation Jump to search
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Introduction ==
 
== 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 provides users with 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.
 
<br>
 
<br>
 
This tool supports in-place editing if selected in the QGIS processing window.
 
This tool supports in-place editing if selected in the QGIS processing window.
  
== Running the Tool ==
+
== 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, '''Conduits - Assign node fields''', 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 11: Line 11:
 
=== Parameters ===
 
=== Parameters ===
 
<ol>
 
<ol>
<li>'''Input Layer:''' The existing conduits layer that will have be assigned the 'To Node' and 'From Node' fields.
+
<li>'''Input layer:''' The existing conduits layer to which the 'To Node' and 'From Node' fields will be assigned.  
<li>'''SWMM Node Layers:''' The existing node layers that are snapped to the endpoints of the conduits.
+
<li>'''Selected features only:''' If channel(s) in the conduits layer have been selected using the 'Select Features' tool, this option will become available. If checked on, the tool will only assign the 'To Node' and 'From Node' fields to the selected channel(s).
<li>'''Conduits:''' Determines the output file. For each of the following options, the tool will create a new conduits layer and won't overwrite the existing one.
+
<li>'''SWMM Node Layers:''' The existing node layers that are snapped to the endpoints of the channel(s) in the conduits layer.
:*'''Create Temporary Layer:''' Creates a temporary scratch layer.
+
<li>'''Conduits:''' Determines the location and filename of the output conduits layer.  
:*'''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 and save the updated conduits layer as a new layer in the GPKG.
 
:*'''Save to Database Table...:'''
 
:*'''Append to Layer...:'''
 
 
</ol>
 
</ol>
 +
'''Note:''' If 'Edit Feature In-Place' is selected, the tool only requires the 'SWMM Node Layers' parameter. That is, the tool will override the existing conduits file with the updated 'To Node' and 'From Node' fields.
 +
<br><br>
 +
[[File:Conduits_Assign_Node_Fields_Dialog_b.png]]
 +
<br><br>
  
'''Note:''' If 'Edit Feature In-Place' is selected, the tool only requires the 'SWMM Node Layers' parameter. Ie. The tool will overwite the existing conduits file with the updated "To Node" and "From Node" fields.
+
== Example ==
 
 
=== Example ===
 
Save to an existing GeoPackage:
 
 
<br>
 
<br>
{{Video|name=Animation_Assign_Nodes_001b.mp4|width=1235}}
+
{{Video|name=Animation_Conduits_Assign_Node_Fields_01c.mp4|width=1236}}
<br><br>
 
Using 'Edit Feature In-Place' tool:
 
 
<br>
 
<br>
{{Video|name=Animation_Assign_Nodes_002b.mp4|width=1235}}
+
Using the 'Edit Feature In-Place' tool:
 
<br><br>
 
<br><br>
 +
{{Video|name=Animation_Conduits_Assign_Node_Fields_02c.mp4|width=1236}}
 +
 +
  
 
{{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 12:19, 3 May 2024

Introduction

This tool provides users with 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, Conduits - Assign node fields, 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 to which the 'To Node' and 'From Node' fields will be assigned.
  2. Selected features only: If channel(s) in the conduits layer have been selected using the 'Select Features' tool, this option will become available. If checked on, the tool will only assign the 'To Node' and 'From Node' fields to the selected channel(s).
  3. SWMM Node Layers: The existing node layers that are snapped to the endpoints of the channel(s) in the conduits layer.
  4. Conduits: Determines the location and filename of the output conduits layer.

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

Conduits Assign Node Fields Dialog b.png

Example



Using the 'Edit Feature In-Place' tool:


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