qgis_setzvalue: QGIS algorithm - Set Z value

View source: R/qgis_setzvalue.R

qgis_setzvalueR Documentation

QGIS algorithm - Set Z value

Description

QGIS Algorithm provided by QGIS (native c++) Set Z value (native:setzvalue). This algorithm sets the Z value for geometries in a layer. If Z values already exist in the layer, they will be overwritten with the new value. If no Z values exist, the geometry will be upgraded to include Z values and the specified value used as the initial Z value for all geometries.

Usage

qgis_setzvalue(
  INPUT = qgisprocess:::qgis_default_value(),
  Z_VALUE = qgisprocess:::qgis_default_value(),
  OUTPUT = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

source - Input layer. Path to a vector layer.

Z_VALUE

number - Z Value. 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.

OUTPUT

sink - Z Added. Path for new vector 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 - outputVector - Z Added


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