View source: R/checkGeometry.R
checkGeometry | R Documentation |
This function checks the geometry of a SpatialPolygonsDataFrame input. Invalid geometries are repaired by the clgeo_Clean
function.
checkGeometry(spdf, bug.correct.rgeos = TRUE, bug.simpl.tol = 1e-05, bug.buf.width = 0, quiet = TRUE)
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 |
repaired SpatialPolygonsDataFrame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.