sagang_directionalaverage: QGIS algorithm - Directional average

View source: R/sagang_directionalaverage.R

sagang_directionalaverageR Documentation

QGIS algorithm - Directional average

Description

QGIS Algorithm provided by SAGA Next Gen Directional average (sagang:directionalaverage). —————- Arguments —————- INPUT: Input Argument type: raster Acceptable values: - Path to a raster layer RESULT: Output Grid Argument type: rasterDestination Acceptable values: - Path for new raster layer ANG: Angle (in degrees) 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 R1: Main Radius 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 R2: Transversal radius Default value: 0.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

Usage

sagang_directionalaverage(
  INPUT = qgisprocess:::qgis_default_value(),
  RESULT = qgisprocess:::qgis_default_value(),
  ANG = qgisprocess:::qgis_default_value(),
  R1 = qgisprocess:::qgis_default_value(),
  R2 = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

raster - Input. Path to a raster layer.

RESULT

rasterDestination - Output Grid. Path for new raster layer.

ANG

number - Angle (in degrees). 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.

R1

number - Main Radius. 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.

R2

number - Transversal radius. 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

  • RESULT - outputRaster - Output Grid


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