checkGeometry: Geometry check and repair of SpatialPolygonsDataFrame

View source: R/checkGeometry.R

checkGeometryR Documentation

Geometry check and repair of SpatialPolygonsDataFrame

Description

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

Usage

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 April 8, 2022, 7:14 a.m.