Cleaning Geometries from Spatial Objects

Provides a set of utility tools to inspect spatial objects, facilitate handling and reporting of topology errors and geometry validity issues. Finally, it provides a geometry cleaner that will fix all geometry problems, and eliminate (at least reduce) the likelihood of having issues when doing spatial data processing.


Build Status CRAN_Status_Badge Github_Status_Badge

cleangeo provides utilities to clean geometries from spatial objects in R. If you aim to do geoprocessing in R, this package will help you in cleaning your Spatial* objects before, and avoid geoprocessing errors later.`

Some projects using cleangeo:


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2-3 by Emmanuel Blondel, a year ago

Report a bug at

Browse source code at

Authors: Emmanuel Blondel [aut, cre]

Documentation:   PDF Manual  

Task views: Analysis of Spatial Data

GPL (>= 2) license

Imports methods, sp

Depends on rgeos, maptools

Suggests testthat, knitr, pbapply

Imported by rangeBuilder.

See at CRAN