checkGeometry: Geometry check and repair of SpatialPolygonsDataFrame

Description Usage Arguments Value

Description

This function checks the geometry of a SpatialPolygonsDataFrame input. Invalid geometries are repaired by the clgeo_Clean function.

Usage

1
2
checkGeometry(spdf, bug.correct.rgeos = TRUE, bug.simpl.tol = 1e-05,
  bug.buf.width = 0, quiet = TRUE)

Arguments

spdf

SpatialPolygonsDataFrame input

bug.correct.rgeos

correct rgeos bug, see TopologyException (last call: 13-04-2017). Default: TRUE

bug.simpl.tol

tolerance in rgeos::gSimplify. Default: 0.00001

bug.buf.width

buffer width in rgeos::gBuffer. Default: 0

quiet

no outputs in console. Default: TRUE

Value

repaired SpatialPolygonsDataFrame


ggRaver/Lslide documentation built on June 20, 2019, 2:29 p.m.