rgeos v0.5-2


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.

Functions in rgeos

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

Last month downloads


Date 2019-10-02
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 2019-10-03 07:49:27 UTC; rsb
Repository CRAN
Date/Publication 2019-10-03 09:50:02 UTC

Include our badge in your README