View source: R/qgis_angletonearest.R
qgis_angletonearest | R Documentation |
QGIS Algorithm provided by QGIS (native c++) Align points to features (native:angletonearest). Rotates point features to align them to nearby features. This algorithm calculates the rotation required to align point features with their nearest feature from another reference layer. A new field is added to the output layer which is filled with the angle (in degrees, clockwise) to the nearest reference feature. Optionally, the output layer's symbology can be set to automatically use the calculated rotation field to rotate marker symbols. If desired, a maximum distance to use when aligning points can be set, to avoid aligning isolated points to distant features.
qgis_angletonearest(
INPUT = qgisprocess:::qgis_default_value(),
REFERENCE_LAYER = qgisprocess:::qgis_default_value(),
MAX_DISTANCE = qgisprocess:::qgis_default_value(),
FIELD_NAME = qgisprocess:::qgis_default_value(),
APPLY_SYMBOLOGY = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
INPUT |
|
REFERENCE_LAYER |
|
MAX_DISTANCE |
|
FIELD_NAME |
|
APPLY_SYMBOLOGY |
|
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 - Aligned layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.