View source: R/qgis_snappointstogrid.R
qgis_snappointstogrid | R Documentation |
QGIS Algorithm provided by QGIS (native c++) Snap points to grid (native:snappointstogrid). This algorithm modifies the coordinates of geometries in a vector layer, so that all points or vertices are snapped to the closest point of the grid. If the snapped geometry cannot be calculated (or is totally collapsed) the feature's geometry will be cleared. Note that snapping to grid may generate an invalid geometry in some corner cases. Snapping can be performed on the X, Y, Z or M axis. A grid spacing of 0 for any axis will disable snapping for that axis.
qgis_snappointstogrid(
INPUT = qgisprocess:::qgis_default_value(),
HSPACING = qgisprocess:::qgis_default_value(),
VSPACING = qgisprocess:::qgis_default_value(),
ZSPACING = qgisprocess:::qgis_default_value(),
MSPACING = qgisprocess:::qgis_default_value(),
OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
INPUT |
|
HSPACING |
|
VSPACING |
|
ZSPACING |
|
MSPACING |
|
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 - Snapped
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.