Skip to content

Fix Link Orientation

Summary

Check links are oriented downslope.

Tags:
hydrography, graph

Usage

  • Wrongly oriented links can be either modified and reversed (default), or selected in the input layer.
  • Input nodes must have Z coordinate (extracted from a DEM for example).
  • Optionnaly, outlets can be specified by selecting relevant nodes in the node layer.

Parameters

Parameter Description Type
Input layer
INPUT
QgsProcessingParameterFeatureSource
Do Not Modify and Select Mis-Oriented Links
DRYRUN
QgsProcessingParameterBoolean
From Node Field
FROM_NODE_FIELD
Default value: NODEA QgsProcessingParameterField
To Node Field
TO_NODE_FIELD
Default value: NODEB QgsProcessingParameterField
Nodes with Z coordinate
NODES
QgsProcessingParameterFeatureSource
How To Define Outlets
OUTLETS_DEFINITION
QgsProcessingParameterEnum
Node Primary Key
NODE_PK_FIELD
Default value: GID QgsProcessingParameterField
Oriented Network
OUTPUT
QgsProcessingParameterFeatureSink