View source: R/qgis_addautoincrementalfield.R
qgis_addautoincrementalfield | R Documentation |
QGIS Algorithm provided by QGIS (native c++) Add autoincremental field (native:addautoincrementalfield). This algorithm adds a new integer field to a vector layer, with a sequential value for each feature. This field can be used as a unique ID for features in the layer. The new attribute is not added to the input layer but a new layer is generated instead. The initial starting value for the incremental series can be specified. Specifying an optional modulus value will restart the count to START whenever the field value reaches the modulus value. Optionally, grouping fields can be specified. If group fields are present, then the field value will be reset for each combination of these group field values. The sort order for features may be specified, if so, then the incremental field will respect this sort order.
qgis_addautoincrementalfield(
INPUT = qgisprocess:::qgis_default_value(),
FIELD_NAME = qgisprocess:::qgis_default_value(),
START = qgisprocess:::qgis_default_value(),
MODULUS = qgisprocess:::qgis_default_value(),
GROUP_FIELDS = qgisprocess:::qgis_default_value(),
SORT_EXPRESSION = qgisprocess:::qgis_default_value(),
SORT_ASCENDING = qgisprocess:::qgis_default_value(),
SORT_NULLS_FIRST = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
INPUT |
|
FIELD_NAME |
|
START |
|
MODULUS |
|
GROUP_FIELDS |
|
SORT_EXPRESSION |
|
SORT_ASCENDING |
|
SORT_NULLS_FIRST |
|
OUTPUT |
|
... |
further parameters passed to |
.complete_output |
logical specifying if complete out of |
.quiet |
logical specifying if parameter |
.messages |
logical specifying if messages from |
OUTPUT - outputVector - Incremented
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.