View source: R/clgeo_SuspiciousFeatures.R
clgeo_SuspiciousFeatures | R Documentation |
Function to get the list of index of suspicious geometries within a spatial data
collection, given a spatial data collection report returned by the function
clgeo_CollectionReport
clgeo_SuspiciousFeatures(report, errors.only = NULL)
report |
a report object as returned by |
errors.only |
an object of class |
an object of class vector
giving the numeric indexes of spatial
objects tagged as suspicious (i.e. that are not valid acccording to OGC
specifications)
Emmanuel Blondel emmanuel.blondel1@gmail.com
clgeo_CollectionReport
require(sf)
file <- system.file("extdata", "example.shp", package = "cleangeo")
sf <- sf::st_read(file)
sp <- as(sf, "Spatial")
report <- clgeo_CollectionReport(sp)
nv <- clgeo_SuspiciousFeatures(report)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.