sagang_womblingedgedetection: QGIS algorithm - Wombling (edge detection)

View source: R/sagang_womblingedgedetection.R

sagang_womblingedgedetectionR Documentation

QGIS algorithm - Wombling (edge detection)

Description

QGIS Algorithm provided by SAGA Next Gen Wombling (edge detection) (sagang:womblingedgedetection). —————- Arguments —————- TMAGNITUDE: Minimum Magnitude Default value: 90 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 TDIRECTION: Maximum Angle Default value: 30 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 TNEIGHBOUR: Minimum Neighbours 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 ALIGNMENT: Alignment Default value: 1 Argument type: enum Available values: - 0: (0) between cells - 1: (1) on cell Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' NEIGHBOUR: Edge Connectivity Default value: 1 Argument type: enum Available values: - 0: (0) Rooke's case - 1: (1) Queen's case Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' FEATURE: Feature Argument type: raster Acceptable values: - Path to a raster layer EDGE_POINTS: Edge Points Argument type: vectorDestination Acceptable values: - Path for new vector layer EDGE_LINES: Edge Segments Argument type: vectorDestination Acceptable values: - Path for new vector layer GRADIENTS_OUT: Output of Gradients 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 GRADIENTS: Gradients Argument type: rasterDestination Acceptable values: - Path for new raster layer

Usage

sagang_womblingedgedetection(
  TMAGNITUDE = qgisprocess:::qgis_default_value(),
  TDIRECTION = qgisprocess:::qgis_default_value(),
  TNEIGHBOUR = qgisprocess:::qgis_default_value(),
  ALIGNMENT = qgisprocess:::qgis_default_value(),
  NEIGHBOUR = qgisprocess:::qgis_default_value(),
  FEATURE = qgisprocess:::qgis_default_value(),
  EDGE_POINTS = qgisprocess:::qgis_default_value(),
  EDGE_LINES = qgisprocess:::qgis_default_value(),
  GRADIENTS_OUT = qgisprocess:::qgis_default_value(),
  GRADIENTS = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

TMAGNITUDE

number - Minimum Magnitude. 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.

TDIRECTION

number - Maximum Angle. 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.

TNEIGHBOUR

number - Minimum Neighbours. 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.

ALIGNMENT

enum of ⁠("(0) between cells", "(1) on cell")⁠ - Alignment. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

NEIGHBOUR

enum of ⁠("(0) Rooke's case", "(1) Queen's case")⁠ - Edge Connectivity. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

FEATURE

raster - Feature. Path to a raster layer.

EDGE_POINTS

vectorDestination - Edge Points. Path for new vector layer.

EDGE_LINES

vectorDestination - Edge Segments. Path for new vector layer.

GRADIENTS_OUT

boolean - Output of Gradients. 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.

GRADIENTS

rasterDestination - Gradients. Path for new raster layer.

...

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

  • EDGE_LINES - outputVector - Edge Segments

  • EDGE_POINTS - outputVector - Edge Points

  • GRADIENTS - outputRaster - Gradients


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