QGIS SWMM Conduits Assign Node Fields: Difference between revisions

From Tuflow
Jump to navigation Jump to search
Content deleted Content added
No edit summary
 
(22 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.


== 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, '''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. 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.
<li>'''Input layer:''' The existing conduits layer to which the 'To Node' and 'From Node' fields will be assigned.
<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>'''SWMM Node Layers:''' The existing node layers that are snapped to the endpoints of the conduits.
<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.
<li>'''Conduits:''' Determines the location and filename of the output conduits layer.
:*'''Create Temporary Layer:''' Creates a temporary scratch 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.

'''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><br>
[[File:Assign_Nodes_Dialog.png]]
[[File:Conduits_Assign_Node_Fields_Dialog_b.png]]
<br><br>
<br><br>


=== 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>
Using the 'Edit Feature In-Place' tool:
{{Video|name=Animation_Assign_Nodes_002b.mp4|width=1235}}
<br><br>
<br><br>
{{Video|name=Animation_Conduits_Assign_Node_Fields_02c.mp4|width=1236}}




{{Tips Navigation
{{Tips Navigation

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



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.



Example



Using the 'Edit Feature In-Place' tool:


Up
Back to TUFLOW QGIS Plugin Main Page