qgis_setmvalue: QGIS algorithm - Set M value

View source: R/qgis_setmvalue.R

qgis_setmvalueR Documentation

QGIS algorithm - Set M value

Description

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

Usage

qgis_setmvalue(
  INPUT = qgisprocess:::qgis_default_value(),
  M_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.

M_VALUE

number - M 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 - M 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 - M Added


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