Skip to content

Select Connected Reaches

Coverage Status Report an issue

Summary

Select reaches connected to the selected one in the input layer.

Tags:
hydrography, graph, selection, connectivity

Usage

The input hydrographic network needs to be well oriented. You can use the Fix Link Orientation to check that.

This tool is useful to extract a subset of a hydrographic network.

Examples:

  • Select a downstream reach in the network, then execute Select Connected Reaches with upstream DIRECTION parameter. All the upstream reaches will be selected.
  • Select an upstream reach in the network, then execute Select Connected Reaches with downstream DIRECTION parameter. All the downstream axis will be selected.

Parameters

Parameter Description Type
Stream network (polylines)
INPUT
QgsProcessingParameterFeatureSource
From Node Field
FROM_NODE_FIELD
Default value: NODEA QgsProcessingParameterField
To Node Field
TO_NODE_FIELD
Default value: NODEB QgsProcessingParameterField
Direction
DIRECTION
QgsProcessingParameterEnum

See Also