gdal_slope: QGIS algorithm Slope

View source: R/gdal_slope.R

gdal_slopeR Documentation

QGIS algorithm Slope

Description

QGIS Algorithm provided by GDAL Slope (gdal:slope)

Usage

gdal_slope(
  INPUT = qgisprocess::qgis_default_value(),
  BAND = qgisprocess::qgis_default_value(),
  SCALE = qgisprocess::qgis_default_value(),
  AS_PERCENT = qgisprocess::qgis_default_value(),
  COMPUTE_EDGES = qgisprocess::qgis_default_value(),
  ZEVENBERGEN = qgisprocess::qgis_default_value(),
  OPTIONS = qgisprocess::qgis_default_value(),
  EXTRA = qgisprocess::qgis_default_value(),
  OUTPUT = qgisprocess::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

raster - Input layer. Path to a raster layer.

BAND

band - Band number. Integer value representing an existing raster band number.

SCALE

number - Ratio of vertical units to horizontal. A numeric value.

AS_PERCENT

boolean - Slope expressed as percent instead of degrees. 1 for true/yes. 0 for false/no.

COMPUTE_EDGES

boolean - Compute edges. 1 for true/yes. 0 for false/no.

ZEVENBERGEN

boolean - Use Zevenbergen&Thorne formula instead of the Horn's one. 1 for true/yes. 0 for false/no.

OPTIONS

string - Additional creation options. String value.

EXTRA

string - Additional command-line parameters. String value.

OUTPUT

rasterDestination - Slope. 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

  • OUTPUT - outputRaster - Slope


JanCaha/r_package_qgis documentation built on March 7, 2023, 7:17 a.m.