clgeo_SummaryReport

Description

Function to get summary of a spatial data collection report returned by clgeo_CollectionReport

Usage

1
clgeo_SummaryReport(report)

Arguments

report

a report object as returned byclgeo_CollectionReport

Value

an object of class table giving the report summary. The summary gives the counting by value for each of the report 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

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

See Also

clgeo_CollectionReport

Examples

1
2
3
4
5
6
require(maptools)
 file <- system.file("extdata", "example.shp", package = "cleangeo")
 sp <- readShapePoly(file)

 report <- clgeo_CollectionReport(sp)
 clgeo_SummaryReport(report)