sagang_watershedbasinsextended: QGIS algorithm - Watershed basins (extended)

View source: R/sagang_watershedbasinsextended.R

sagang_watershedbasinsextendedR Documentation

QGIS algorithm - Watershed basins (extended)

Description

QGIS Algorithm provided by SAGA Next Gen Watershed basins (extended) (sagang:watershedbasinsextended). —————- Arguments —————- DEM: DEM Argument type: raster Acceptable values: - Path to a raster layer CHANNELS: Drainage Network Argument type: raster Acceptable values: - Path to a raster layer BASINS: Basins Argument type: rasterDestination Acceptable values: - Path for new raster layer SUBBASINS: Subbasins Argument type: rasterDestination Acceptable values: - Path for new raster layer V_BASINS: Basins Argument type: vectorDestination Acceptable values: - Path for new vector layer V_SUBBASINS: Subbasins Argument type: vectorDestination Acceptable values: - Path for new vector layer HEADS: River Heads Argument type: vectorDestination Acceptable values: - Path for new vector layer MOUTHS: River Mouths Argument type: vectorDestination Acceptable values: - Path for new vector layer DISTANCE: Flow Distances Default value: false Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - 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_watershedbasinsextended(
  DEM = qgisprocess:::qgis_default_value(),
  CHANNELS = qgisprocess:::qgis_default_value(),
  BASINS = qgisprocess:::qgis_default_value(),
  SUBBASINS = qgisprocess:::qgis_default_value(),
  V_BASINS = qgisprocess:::qgis_default_value(),
  V_SUBBASINS = qgisprocess:::qgis_default_value(),
  HEADS = qgisprocess:::qgis_default_value(),
  MOUTHS = qgisprocess:::qgis_default_value(),
  DISTANCE = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

DEM

raster - DEM. Path to a raster layer.

CHANNELS

raster - Drainage Network. Path to a raster layer.

BASINS

rasterDestination - Basins. Path for new raster layer.

SUBBASINS

rasterDestination - Subbasins. Path for new raster layer.

V_BASINS

vectorDestination - Basins. Path for new vector layer.

V_SUBBASINS

vectorDestination - Subbasins. Path for new vector layer.

HEADS

vectorDestination - River Heads. Path for new vector layer.

MOUTHS

vectorDestination - River Mouths. Path for new vector layer.

DISTANCE

boolean - Flow Distances. 1 for true/yes. 0 for false/no. 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

  • BASINS - outputRaster - Basins

  • HEADS - outputVector - River Heads

  • MOUTHS - outputVector - River Mouths

  • SUBBASINS - outputRaster - Subbasins

  • V_BASINS - outputVector - Basins

  • V_SUBBASINS - outputVector - Subbasins


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