rgeos v0.5-5


Monthly downloads



Interface to Geometry Engine - Open Source ('GEOS')

Interface to Geometry Engine - Open Source ('GEOS') using the C 'API' for topology operations on geometries. The 'GEOS' library is external to the package, and, when installing the package from source, must be correctly installed first. Windows and Mac Intel OS X binaries are provided on 'CRAN'. ('rgeos' >= 0.5-1): Up to and including 'GEOS' 3.7.1, topological operations succeeded with some invalid geometries for which the same operations fail from and including 'GEOS' 3.7.2. The 'checkValidity=' argument defaults and structure have been changed, from default FALSE to integer default '0L' for 'GEOS' < 3.7.2 (no check), '1L' 'GEOS' >= 3.7.2 (check and warn). A value of '2L' is also provided that may be used, assigned globally using 'set_RGEOS_CheckValidity(2L)', or locally using the 'checkValidity=2L' argument, to attempt zero-width buffer repair if invalid geometries are found. The previous default (FALSE, now '0L') is fastest and used for 'GEOS' < 3.7.2, but will not warn users of possible problems before the failure of topological operations that previously succeeded. From 'GEOS' 3.8.0, repair of geometries may also be attempted using 'gMakeValid()', which may, however, return a collection of geometries of different types.

Functions in rgeos

Name Description
Ring-class Class "Ring"
SpatialRings-class Class "SpatialRings"
SpatialRingsDataFrame-class Class "SpatialRingsDataFrame"
gpc.poly-class Class "gpc.poly"
SpatialCollections-class Class "SpatialCollections"
bbox2SP Converts a bounding box into a SpatialPolygons object.
SpatialRings create SpatialRings or SpatialRingsDataFrame
RGEOS Polygon Hole Comment Functions RGEOS Polygon Hole Comment Functions
SpatialCollections create SpatialCollections
gpc.poly.nohole-class Class "gpc.poly.nohole"
polyfile Read/Write polygon data
gArea Area of Geometry
gLength Length of Geometry
gDistance Distance between geometries
RGEOS Experimental Functions Experimental Functions
new-generics Generics/Methods for polygon objects
gTouches Geometry Relationships - Touches
gRelate Geometry Relationships - Intersection Matrix Pattern (DE-9IM)
gInterpolate Interpolate Points along Line Geometry
gProject Project Points to Line Geometry
gCrosses Geometry Relationships - Crosses and Overlaps
gNearestPoints Closest Points of two Geometries
gContains Geometry Relationships - Contains and Within
over Find spatial join or intersections
polygonsLabel Compute optimal label positions for polygons
gConvexHull Convex Hull of Geometry
gPointOnSurface Point on Surface of Geometry
gUnion Geometry Union
gPolygonize Linestring Polygonizer
gSymdifference Geometry Symmetric Difference
gIsSimple Is Geometry Simple?
gCoverageUnion Coverage Union
gSimplify Simplify Geometry
gBuffer Buffer Geometry
gEquals Geometry Relationships - Equality
gIntersects Geometry Relationships - Intersects and Disjoint
gIsEmpty Is Geometry Empty?
gIsRing Is Geometry a Ring?
RGEOS WKT Functions RGEOS WKT Functions
gCentroid Centroid of Geometry
gBoundary Boundary of Geometry
gDifference Geometry Difference
gIsValid Is Geometry Valid?
gIntersection Geometry Intersections
gMakeValid Make invalid geometries valid
gNode Linestring Noder
gDelaunayTriangulation Compute Delaunay triangulation between points
RGEOS Utility Functions RGEOS Utility Functions
gEnvelope Envelope of Geometry
No Results!

Last month downloads


Date 2020-09-01
LinkingTo sp
NeedsCompilation yes
LazyLoad yes
License GPL (>= 2)
URL https://r-forge.r-project.org/projects/rgeos/ https://trac.osgeo.org/geos/ http://rgeos.r-forge.r-project.org/index.html
SystemRequirements GEOS (>= 3.2.0); for building from source: GEOS from http://trac.osgeo.org/geos/; GEOS OSX frameworks built by William Kyngesburye at http://www.kyngchaos.com/ may be used for source installs on OSX.
RoxygenNote 6.1.1
Packaged 2020-09-02 08:53:02 UTC; rsb
Repository CRAN
Date/Publication 2020-09-07 11:50:03 UTC

Include our badge in your README