QGIS Algorithm provided by SAGA Next Gen Channel network and drainage basins (sagang:channelnetworkanddrainagebasins). —————- Arguments —————- DEM: Elevation Argument type: raster Acceptable values: - Path to a raster layer DIRECTION: Flow Direction Argument type: rasterDestination Acceptable values: - Path for new raster layer CONNECTION: Flow Connectivity Argument type: rasterDestination Acceptable values: - Path for new raster layer ORDER: Strahler Order Argument type: rasterDestination Acceptable values: - Path for new raster layer BASIN: Drainage Basins Argument type: rasterDestination Acceptable values: - Path for new raster layer SEGMENTS: Channels Argument type: vectorDestination Acceptable values: - Path for new vector layer BASINS: Drainage Basins Argument type: vectorDestination Acceptable values: - Path for new vector layer NODES: Junctions Argument type: vectorDestination Acceptable values: - Path for new vector layer THRESHOLD: Threshold Default value: 5 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression

sagang_channelnetworkanddrainagebasins(
  DEM = qgisprocess:::qgis_default_value(),
  DIRECTION = qgisprocess:::qgis_default_value(),
  CONNECTION = qgisprocess:::qgis_default_value(),
  ORDER = qgisprocess:::qgis_default_value(),
  BASIN = qgisprocess:::qgis_default_value(),
  SEGMENTS = qgisprocess:::qgis_default_value(),
  BASINS = qgisprocess:::qgis_default_value(),
  NODES = qgisprocess:::qgis_default_value(),
  THRESHOLD = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

DEM

raster - Elevation. Path to a raster layer.

DIRECTION

rasterDestination - Flow Direction. Path for new raster layer.

CONNECTION

rasterDestination - Flow Connectivity. Path for new raster layer.

ORDER

rasterDestination - Strahler Order. Path for new raster layer.

BASIN

rasterDestination - Drainage Basins. Path for new raster layer.

SEGMENTS

vectorDestination - Channels. Path for new vector layer.

BASINS

vectorDestination - Drainage Basins. Path for new vector layer.

NODES

vectorDestination - Junctions. Path for new vector layer.

THRESHOLD

number - Threshold. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.

...

further parameters passed to qgisprocess::qgis_run_algorithm()

.complete_output

logical specifying if complete out of qgisprocess::qgis_run_algorithm() should be used (TRUE) or first output (most likely the main) should read (FALSE). Default value is TRUE.

.quiet

logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.

.messages

logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.

Details

Outputs description

  • BASIN - outputRaster - Drainage Basins

  • BASINS - outputVector - Drainage Basins

  • CONNECTION - outputRaster - Flow Connectivity

  • DIRECTION - outputRaster - Flow Direction

  • NODES - outputVector - Junctions

  • ORDER - outputRaster - Strahler Order

  • SEGMENTS - outputVector - Channels