View source: R/qgis_checkvalidity.R
qgis_checkvalidity | R Documentation |
QGIS Algorithm provided by QGIS Check validity (qgis:checkvalidity). This algorithm performs a validity check on the geometries of a vector layer. The geometries are classified in three groups (valid, invalid and error), and a vector layer is generated with the features in each of these categories. By default the algorithm uses the strict OGC definition of polygon validity, where a polygon is marked as invalid if a self-intersecting ring causes an interior hole. If the "Ignore ring self intersections" option is checked, then this rule will be ignored and a more lenient validity check will be performed. The GEOS method is faster and performs better on larger geometries, but is limited to only returning the first error encountered in a geometry. The QGIS method will be slower but reports all errors encountered in the geometry, not just the first.
qgis_checkvalidity(
INPUT_LAYER = qgisprocess:::qgis_default_value(),
METHOD = qgisprocess:::qgis_default_value(),
IGNORE_RING_SELF_INTERSECTION = qgisprocess:::qgis_default_value(),
VALID_OUTPUT = qgisprocess:::qgis_default_value(),
INVALID_OUTPUT = qgisprocess:::qgis_default_value(),
ERROR_OUTPUT = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
INPUT_LAYER |
|
METHOD |
|
IGNORE_RING_SELF_INTERSECTION |
|
VALID_OUTPUT |
|
INVALID_OUTPUT |
|
ERROR_OUTPUT |
|
... |
further parameters passed to |
.complete_output |
logical specifying if complete out of |
.quiet |
logical specifying if parameter |
.messages |
logical specifying if messages from |
ERROR_COUNT - outputNumber - Count of errors
ERROR_OUTPUT - outputVector - Error output
INVALID_COUNT - outputNumber - Count of invalid features
INVALID_OUTPUT - outputVector - Invalid output
VALID_COUNT - outputNumber - Count of valid features
VALID_OUTPUT - outputVector - Valid output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.