QGIS Algorithm provided by SAGA Next Gen Ls-factor, field based (sagang:lsfactorfieldbased). ---------------- Arguments ---------------- DEM: Elevation Argument type: raster Acceptable values: - Path to a raster layer FIELDS: Fields (optional) Argument type: source Acceptable values: - Path to a vector layer STATISTICS: Field Statistics Argument type: vectorDestination Acceptable values: - Path for new vector layer UPSLOPE_AREA: Upslope Length Factor Argument type: rasterDestination Acceptable values: - Path for new raster layer UPSLOPE_LENGTH: Effective Flow Length Argument type: rasterDestination Acceptable values: - Path for new raster layer UPSLOPE_SLOPE: Upslope Slope Argument type: rasterDestination Acceptable values: - Path for new raster layer LS_FACTOR: LS Factor Argument type: rasterDestination Acceptable values: - Path for new raster layer BALANCE: Sediment Balance Argument type: rasterDestination Acceptable values: - Path for new raster layer METHOD: LS Calculation Default value: 0 Argument type: enum Available values: - 0: (0) Moore & Nieber 1989 - 1: (1) Desmet & Govers 1996 - 2: (2) Wischmeier & Smith 1978 Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' METHOD_SLOPE: Type of Slope Default value: 0 Argument type: enum Available values: - 0: (0) local slope - 1: (1) distance weighted average catchment slope Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' METHOD_AREA: Specific Catchment Area Default value: 1 Argument type: enum Available values: - 0: (0) specific catchment area (contour length simply as cell size) - 1: (1) specific catchment area (contour length dependent on aspect) - 2: (2) catchment length (square root of catchment area) - 3: (3) effective flow length Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' STOP_AT_EDGE: Stop at Edge Default value: true 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 EROSIVITY: Rill/Interrill Erosivity Default value: 1 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 STABILITY: Stability Default value: 0 Argument type: enum Available values: - 0: (0) stable - 1: (1) instable (thawing) Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3'

sagang_lsfactorfieldbased(
  DEM = qgisprocess:::qgis_default_value(),
  FIELDS = qgisprocess:::qgis_default_value(),
  STATISTICS = qgisprocess:::qgis_default_value(),
  UPSLOPE_AREA = qgisprocess:::qgis_default_value(),
  UPSLOPE_LENGTH = qgisprocess:::qgis_default_value(),
  UPSLOPE_SLOPE = qgisprocess:::qgis_default_value(),
  LS_FACTOR = qgisprocess:::qgis_default_value(),
  BALANCE = qgisprocess:::qgis_default_value(),
  METHOD = qgisprocess:::qgis_default_value(),
  METHOD_SLOPE = qgisprocess:::qgis_default_value(),
  METHOD_AREA = qgisprocess:::qgis_default_value(),
  STOP_AT_EDGE = qgisprocess:::qgis_default_value(),
  EROSIVITY = qgisprocess:::qgis_default_value(),
  STABILITY = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

DEM

raster - Elevation. Path to a raster layer.

FIELDS

source - Fields. Path to a vector layer.

STATISTICS

vectorDestination - Field Statistics. Path for new vector layer.

UPSLOPE_AREA

rasterDestination - Upslope Length Factor. Path for new raster layer.

UPSLOPE_LENGTH

rasterDestination - Effective Flow Length. Path for new raster layer.

UPSLOPE_SLOPE

rasterDestination - Upslope Slope. Path for new raster layer.

LS_FACTOR

rasterDestination - LS Factor. Path for new raster layer.

BALANCE

rasterDestination - Sediment Balance. Path for new raster layer.

METHOD

enum of ("(0) Moore & Nieber 1989", "(1) Desmet & Govers 1996", "(2) Wischmeier & Smith 1978") - LS Calculation. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

METHOD_SLOPE

enum of ("(0) local slope", "(1) distance weighted average catchment slope") - Type of Slope. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

METHOD_AREA

enum of ("(0) specific catchment area (contour length simply as cell size)", "(1) specific catchment area (contour length dependent on aspect)", "(2) catchment length (square root of catchment area)", "(3) effective flow length") - Specific Catchment Area. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

STOP_AT_EDGE

boolean - Stop at Edge. 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.

EROSIVITY

number - Rill/Interrill Erosivity. 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.

STABILITY

enum of ("(0) stable", "(1) instable (thawing)") - Stability. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

...

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

  • BALANCE - outputRaster - Sediment Balance

  • LS_FACTOR - outputRaster - LS Factor

  • STATISTICS - outputVector - Field Statistics

  • UPSLOPE_AREA - outputRaster - Upslope Length Factor

  • UPSLOPE_LENGTH - outputRaster - Effective Flow Length

  • UPSLOPE_SLOPE - outputRaster - Upslope Slope