Learn R Programming

⚠️There's a newer version (0.6-4) of this package.Take me there.

rgeos (version 0.5-8)

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

Description

Interface to Geometry Engine - Open Source ('GEOS') using the C 'API' for topology operations on geometries. Please note that 'rgeos' will be retired by the end of 2023, plan transition to sf functions using 'GEOS' at your earliest convenience. 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.

Copy Link

Version

Install

install.packages('rgeos')

Monthly Downloads

723

Version

0.5-8

License

GPL (>= 2)

Maintainer

Roger Bivand

Last Published

September 22nd, 2021

Functions in rgeos (0.5-8)

RGEOS Polygon Hole Comment Functions

RGEOS Polygon Hole Comment Functions
SpatialRings

create SpatialRings or SpatialRingsDataFrame
bbox2SP

Converts a bounding box into a SpatialPolygons object.
gpc.poly.nohole-class

Class "gpc.poly.nohole"
SpatialCollections

create SpatialCollections
Ring-class

Class "Ring"
SpatialRings-class

Class "SpatialRings"
SpatialCollections-class

Class "SpatialCollections"
SpatialRingsDataFrame-class

Class "SpatialRingsDataFrame"
gpc.poly-class

Class "gpc.poly"
polyfile

Read/Write polygon data
new-generics

Generics/Methods for polygon objects
RGEOS Experimental Functions

Experimental Functions
gArea

Area of Geometry
gBuffer

Buffer Geometry
gLength

Length of Geometry
gDistance

Distance between geometries
gInterpolate

Interpolate Points along Line Geometry
gContains

Geometry Relationships - Contains and Within
gProject

Project Points to Line Geometry
gTouches

Geometry Relationships - Touches
gRelate

Geometry Relationships - Intersection Matrix Pattern (DE-9IM)
gCrosses

Geometry Relationships - Crosses and Overlaps
polygonsLabel

Compute optimal label positions for polygons
gIntersects

Geometry Relationships - Intersects and Disjoint
gEquals

Geometry Relationships - Equality
gDifference

Geometry Difference
gIntersection

Geometry Intersections
gCoverageUnion

Coverage Union
gConvexHull

Convex Hull of Geometry
gPointOnSurface

Point on Surface of Geometry
gMaximumInscribedCircle

Centroid of Geometry
gPolygonize

Linestring Polygonizer
gMakeValid

Make invalid geometries valid
gIsRing

Is Geometry a Ring?
gIsValid

Is Geometry Valid?
gDelaunayTriangulation

Compute Delaunay triangulation between points
gIsSimple

Is Geometry Simple?
gIsEmpty

Is Geometry Empty?
gSymdifference

Geometry Symmetric Difference
RGEOS WKT Functions

RGEOS WKT Functions
gEnvelope

Envelope of Geometry
gSimplify

Simplify Geometry
gUnion

Geometry Union
RGEOS Utility Functions

RGEOS Utility Functions
over

Find spatial join or intersections
gMinumumRotatedRectangle

Centroid of Geometry
gNearestPoints

Closest Points of two Geometries
gNode

Linestring Noder
gCentroid

Centroid of Geometry
gBoundary

Boundary of Geometry