powered by
Function to get a spatial data collection validation report. The function outputs a data.frame binding all geometry validity reports, each one produced by clgeo_GeometryReport
data.frame
clgeo_GeometryReport
clgeo_CollectionReport(sp)
object extending the Spatial-class as defined in sp
Spatial-class
an object of class data.frame with the following columns:
type eventual rgeos issue
valid geometry validity status (according to OGC specifications)
issue_type type of geometry issue
error_msg catched message when error raised about geometry
warning_msg catched message when warning raised about geometry
# NOT RUN { require(maptools) file <- system.file("extdata", "example.shp", package = "cleangeo") sp <- readShapePoly(file) report <- clgeo_CollectionReport(sp) # }
Run the code above in your browser using DataLab