Learn R Programming

rgeos (version 0.6-4)

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 during October 2023, plan transition to 'sf' or 'terra' functions using 'GEOS', or the 'geos' package, at your earliest convenience (see and earlier blogs for guidance). 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

1,613

Version

0.6-4

License

GPL (>= 2)

Maintainer

Last Published

July 18th, 2023

Functions in rgeos (0.6-4)

polygonsLabel

Compute optimal label positions for polygons
gIsRing

Is Geometry a Ring?
over

Find spatial join or intersections
gEquals

Geometry Relationships - Equality
gCrosses

Geometry Relationships - Crosses and Overlaps
gContains

Geometry Relationships - Contains and Within
gIsEmpty

Is Geometry Empty?
gTouches

Geometry Relationships - Touches
gCentroid

Centroid of Geometry
gConvexHull

Convex Hull of Geometry
gDelaunayTriangulation

Compute Delaunay triangulation between points
gIsSimple

Is Geometry Simple?
gUnion

Geometry Union
gCoverageUnion

Coverage Union
gEnvelope

Envelope of Geometry
gMakeValid

Make invalid geometries valid
gBoundary

Boundary of Geometry
gNearestPoints

Closest Points of two Geometries
gNode

Linestring Noder
gPointOnSurface

Point on Surface of Geometry
gIntersects

Geometry Relationships - Intersects and Disjoint
RGEOS Utility Functions

RGEOS Utility Functions
gPolygonize

Linestring Polygonizer
RGEOS WKT Functions

RGEOS WKT Functions
gRelate

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

Simplify Geometry
gIsValid

Is Geometry Valid?
rgeos-deprecated

Deprecated functions and methods
gMaximumInscribedCircle

Centroid of Geometry
gMinumumRotatedRectangle

Centroid of Geometry
SpatialRings-class

Class "SpatialRings"
bbox2SP

Converts a bounding box into a SpatialPolygons object.
SpatialCollections-class

Class "SpatialCollections"
gpc.poly-class

Class "gpc.poly"
gInterpolate

Interpolate Points along Line Geometry
Ring-class

Class "Ring"
SpatialRings

create SpatialRings or SpatialRingsDataFrame
RGEOS Polygon Hole Comment Functions

RGEOS Polygon Hole Comment Functions
SpatialCollections

create SpatialCollections
new-generics

Generics/Methods for polygon objects
gLength

Length of Geometry
gpc.poly.nohole-class

Class "gpc.poly.nohole"
RGEOS Experimental Functions

Experimental Functions
polyfile

Read/Write polygon data
SpatialRingsDataFrame-class

Class "SpatialRingsDataFrame"
gDistance

Distance between geometries
gProject

Project Points to Line Geometry
gArea

Area of Geometry