sagang_fragmentationalternative: QGIS algorithm - Fragmentation (alternative)

View source: R/sagang_fragmentationalternative.R

sagang_fragmentationalternativeR Documentation

QGIS algorithm - Fragmentation (alternative)

Description

QGIS Algorithm provided by SAGA Next Gen Fragmentation (alternative) (sagang:fragmentationalternative). —————- Arguments —————- CLASSES: Classification Argument type: raster Acceptable values: - Path to a raster layer DENSITY: Density (Percent) Argument type: rasterDestination Acceptable values: - Path for new raster layer CONNECTIVITY: Connectivity (Percent) Argument type: rasterDestination Acceptable values: - Path for new raster layer FRAGMENTATION: Fragmentation Argument type: rasterDestination Acceptable values: - Path for new raster layer FRAGSTATS: Summary Argument type: vectorDestination Acceptable values: - Path for new vector layer CLASS: Class Identifier 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 AGGREGATION: Level Aggregation Default value: 0 Argument type: enum Available values: - 0: (0) average - 1: (1) multiplicative Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' BORDER: Add Border 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 WEIGHT: Connectivity Weighting Default value: 1.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 DENSITY_MIN: Minimum Density (Percent) 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 DENSITY_INT: Minimum Density for Interior Forest (Percent) Default value: 99 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 LEVEL_GROW: Search Distance Increment 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 DENSITY_MEAN: Density from Neighbourhood 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

Usage

sagang_fragmentationalternative(
  CLASSES = qgisprocess:::qgis_default_value(),
  DENSITY = qgisprocess:::qgis_default_value(),
  CONNECTIVITY = qgisprocess:::qgis_default_value(),
  FRAGMENTATION = qgisprocess:::qgis_default_value(),
  FRAGSTATS = qgisprocess:::qgis_default_value(),
  CLASS = qgisprocess:::qgis_default_value(),
  AGGREGATION = qgisprocess:::qgis_default_value(),
  BORDER = qgisprocess:::qgis_default_value(),
  WEIGHT = qgisprocess:::qgis_default_value(),
  DENSITY_MIN = qgisprocess:::qgis_default_value(),
  DENSITY_INT = qgisprocess:::qgis_default_value(),
  LEVEL_GROW = qgisprocess:::qgis_default_value(),
  DENSITY_MEAN = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

CLASSES

raster - Classification. Path to a raster layer.

DENSITY

rasterDestination - Density (Percent). Path for new raster layer.

CONNECTIVITY

rasterDestination - Connectivity (Percent). Path for new raster layer.

FRAGMENTATION

rasterDestination - Fragmentation. Path for new raster layer.

FRAGSTATS

vectorDestination - Summary. Path for new vector layer.

CLASS

number - Class Identifier. 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.

AGGREGATION

enum of ⁠("(0) average", "(1) multiplicative")⁠ - Level Aggregation. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

BORDER

boolean - Add Border. 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.

WEIGHT

number - Connectivity Weighting. 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.

DENSITY_MIN

number - Minimum Density (Percent). 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.

DENSITY_INT

number - Minimum Density for Interior Forest (Percent). 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.

LEVEL_GROW

number - Search Distance Increment. 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.

DENSITY_MEAN

boolean - Density from Neighbourhood. 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

  • CONNECTIVITY - outputRaster - Connectivity (Percent)

  • DENSITY - outputRaster - Density (Percent)

  • FRAGMENTATION - outputRaster - Fragmentation

  • FRAGSTATS - outputVector - Summary


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