Learn R Programming

cleangeo (version 0.3-1)

clgeo_SummaryReport: clgeo_SummaryReport

Description

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

Usage

clgeo_SummaryReport(report)

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 geometry issue

  • valid geometry validity status (according to OGC specifications)

  • issue_type type of geometry issue

  • msg catched message when error raised about geometry

Arguments

report

a report object as returned byclgeo_CollectionReport

Author

Emmanuel Blondel emmanuel.blondel1@gmail.com

See Also

clgeo_CollectionReport

Examples

Run this code
 require(sf)
 file <- system.file("extdata", "example.shp", package = "cleangeo")
 sf <- sf::st_read(file)
 sp <- as(sf, "Spatial")
 
 report <- clgeo_CollectionReport(sp)
 clgeo_SummaryReport(report)
 

Run the code above in your browser using DataLab