sagang_channelnetwork: QGIS algorithm - Channel network

View source: R/sagang_channelnetwork.R

sagang_channelnetworkR Documentation

QGIS algorithm - Channel network

Description

QGIS Algorithm provided by SAGA Next Gen Channel network (sagang:channelnetwork). —————- Arguments —————- ELEVATION: Elevation Argument type: raster Acceptable values: - Path to a raster layer SINKROUTE: Flow Direction (optional) Argument type: raster Acceptable values: - Path to a raster layer CHNLNTWRK: Channel Network Argument type: rasterDestination Acceptable values: - Path for new raster layer CHNLROUTE: Channel Direction Argument type: rasterDestination Acceptable values: - Path for new raster layer SHAPES: Channel Network Argument type: vectorDestination Acceptable values: - Path for new vector layer INIT_GRID: Initiation Grid Argument type: raster Acceptable values: - Path to a raster layer INIT_METHOD: Initiation Type Default value: 2 Argument type: enum Available values: - 0: (0) Less than - 1: (1) Equals - 2: (2) Greater than Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' INIT_VALUE: Initiation Threshold Default value: 0 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 DIV_GRID: Divergence (optional) Argument type: raster Acceptable values: - Path to a raster layer DIV_CELLS: Tracing: Max. Divergence 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 TRACE_WEIGHT: Tracing: Weight (optional) Argument type: raster Acceptable values: - Path to a raster layer MINLEN: Min. Segment Length Default value: 10 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

Usage

sagang_channelnetwork(
  ELEVATION = qgisprocess:::qgis_default_value(),
  SINKROUTE = qgisprocess:::qgis_default_value(),
  CHNLNTWRK = qgisprocess:::qgis_default_value(),
  CHNLROUTE = qgisprocess:::qgis_default_value(),
  SHAPES = qgisprocess:::qgis_default_value(),
  INIT_GRID = qgisprocess:::qgis_default_value(),
  INIT_METHOD = qgisprocess:::qgis_default_value(),
  INIT_VALUE = qgisprocess:::qgis_default_value(),
  DIV_GRID = qgisprocess:::qgis_default_value(),
  DIV_CELLS = qgisprocess:::qgis_default_value(),
  TRACE_WEIGHT = qgisprocess:::qgis_default_value(),
  MINLEN = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

ELEVATION

raster - Elevation. Path to a raster layer.

SINKROUTE

raster - Flow Direction. Path to a raster layer.

CHNLNTWRK

rasterDestination - Channel Network. Path for new raster layer.

CHNLROUTE

rasterDestination - Channel Direction. Path for new raster layer.

SHAPES

vectorDestination - Channel Network. Path for new vector layer.

INIT_GRID

raster - Initiation Grid. Path to a raster layer.

INIT_METHOD

enum of ⁠("(0) Less than", "(1) Equals", "(2) Greater than")⁠ - Initiation Type. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

INIT_VALUE

number - Initiation 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.

DIV_GRID

raster - Divergence. Path to a raster layer.

DIV_CELLS

number - Tracing: Max. Divergence. 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.

TRACE_WEIGHT

raster - Tracing: Weight. Path to a raster layer.

MINLEN

number - Min. Segment Length. 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

  • CHNLNTWRK - outputRaster - Channel Network

  • CHNLROUTE - outputRaster - Channel Direction

  • SHAPES - outputVector - Channel Network


JanCaha/r_package_qgis documentation built on Nov. 3, 2024, 5:25 p.m.