Package: rgeos 0.6-4

Roger Bivand

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

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 <https://r-spatial.org/r/2023/05/15/evolution4.html> 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.

Authors:Roger Bivand [cre, aut], Colin Rundel [aut], Edzer Pebesma [ctb], Rainer Stuetz [ctb], Karl Ove Hufthammer [ctb], Patrick Giraudoux [ctb], Martin Davis [cph, ctb], Sandro Santilli [cph, ctb]

rgeos_0.6-4.tar.gz
rgeos_0.6-4.zip(r-4.5)rgeos_0.6-4.zip(r-4.4)rgeos_0.6-4.zip(r-4.3)
rgeos_0.6-4.tgz(r-4.4-x86_64)rgeos_0.6-4.tgz(r-4.4-arm64)rgeos_0.6-4.tgz(r-4.3-x86_64)rgeos_0.6-4.tgz(r-4.3-arm64)
rgeos_0.6-4.tar.gz(r-4.5-noble)rgeos_0.6-4.tar.gz(r-4.4-noble)
rgeos_0.6-4.tgz(r-4.4-emscripten)rgeos_0.6-4.tgz(r-4.3-emscripten)
rgeos.pdf |rgeos.html
rgeos/json (API)
NEWS

# Install 'rgeos' in R:
install.packages('rgeos', repos = c('https://predictiveecology.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/rgeos

Uses libs:
  • geos– Geometry engine for Geographic Information Systems

On CRAN:

6.85 score 7 stars 2 packages 11k scripts 1.5k downloads 144 mentions 121 exports 2 dependencies

Last updated 1 years agofrom:ede6fca0a3. Checks:OK: 1 WARNING: 3 NOTE: 5. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-win-x86_64NOTENov 02 2024
R-4.5-linux-x86_64WARNINGNov 02 2024
R-4.4-win-x86_64NOTENov 02 2024
R-4.4-mac-x86_64WARNINGNov 02 2024
R-4.4-mac-aarch64WARNINGNov 02 2024
R-4.3-win-x86_64NOTENov 02 2024
R-4.3-mac-x86_64NOTENov 02 2024
R-4.3-mac-aarch64NOTENov 02 2024

Exports:append.polyarea.polybbox2SPcheckP4ScoercecreatePolygonsCommentcreateSPCommentgAreagBinarySTRtreeQuerygBoundarygBuffergCentroidgContainsgContainsProperlygConvexHullgCoverageUniongCoveredBygCoversgCrossesgDelaunayTriangulationgDifferencegDisjointgDistancegEnvelopegEqualsgEqualsExactget_do_poly_checkget_RGEOS_CheckValidityget_RGEOS_dropSliversget_RGEOS_polyThresholdget_RGEOS_warnSliversget.bboxget.ptsgetScalegInterpolategIntersectiongIntersectsgIsEmptygIsRinggIsSimplegIsValidgLengthgLineMergegMakeValidgMaximumInscribedCirclegMinumumRotatedRectanglegNearestPointsgNodegOverlapsgPointOnSurfacegPolygonizegProjectgRelategSimplifygSymdifferencegTouchesgUnarySTRtreeQuerygUnaryUniongUniongUnionCascadedgWithingWithinDistanceintersectoverGeomGeomoverGeomGeomDFplotpoly_findInBoxGEOSpolygonsLabelread.polyfilereadWKTrgeos_extSoftVersionRGEOSAreaRGEOSBoundaryRGEOSBufferRGEOSContainsRGEOSConvexHullRGEOSCrossesRGEOSDisjointRGEOSDistanceRGEOSEnvelopeRGEOSEqualsRGEOSEqualsExactRGEOSGetCentroidRGEOSHausdorffDistanceRGEOSIntersectsRGEOSisEmptyRGEOSisRingRGEOSisSimpleRGEOSisValidRGEOSisWithinDistanceRGEOSLengthRGEOSLineMergeRGEOSOverlapsRGEOSPointOnSurfaceRGEOSRelateRGEOSTouchesRGEOSUnionCascadedRGEOSWithinRingrow.namesscale.polyset_do_poly_checkset_RGEOS_CheckValidityset_RGEOS_dropSliversset_RGEOS_polyThresholdset_RGEOS_warnSliverssetdiffsetScaleshowSpatialCollectionsSpatialRingsSpatialRingsDataFramesymdifftranslatetriangulatetristripunionversion_GEOSversion_GEOS0write.polyfilewriteWKT

Dependencies:latticesp

Readme and manuals

Help Manual

Help pageTopics
Converts a bounding box into a SpatialPolygons object.bbox2SP
Area of GeometrygArea RGEOSArea
Boundary of GeometrygBoundary RGEOSBoundary
Centroid of GeometrygCentroid RGEOSGetCentroid
Geometry Relationships - Contains and WithingContains gContainsProperly gCoveredBy gCovers gWithin RGEOSContains RGEOSWithin
Convex Hull of GeometrygConvexHull RGEOSConvexHull
Coverage UniongCoverageUnion
Geometry Relationships - Crosses and OverlapsgCrosses gOverlaps RGEOSCrosses RGEOSOverlaps
Compute Delaunay triangulation between pointsgDelaunayTriangulation
Distance between geometriesgDistance gWithinDistance RGEOSDistance RGEOSHausdorffDistance RGEOSisWithinDistance
Envelope of GeometrygEnvelope RGEOSEnvelope
Geometry Relationships - EqualitygEquals gEqualsExact RGEOSEquals RGEOSEqualsExact
Interpolate Points along Line GeometrygInterpolate
Geometry Relationships - Intersects and DisjointgDisjoint gIntersects RGEOSDisjoint RGEOSIntersects
Is Geometry Empty?gIsEmpty RGEOSisEmpty
Is Geometry a Ring?gIsRing RGEOSisRing
Is Geometry Simple?gIsSimple RGEOSisSimple
Is Geometry Valid?gIsValid RGEOSisValid
Length of GeometrygLength RGEOSLength
Make invalid geometries validgMakeValid
Centroid of GeometrygMaximumInscribedCircle
Centroid of GeometrygMinumumRotatedRectangle
Closest Points of two GeometriesgNearestPoints
Linestring NodergNode
Class "gpc.poly"append.poly,gpc.poly,gpc.poly-method area.poly,gpc.poly-method coerce,data.frame,gpc.poly-method coerce,gpc.poly,matrix-method coerce,gpc.poly,numeric-method coerce,gpc.poly,SpatialPolygons-method coerce,list,gpc.poly-method coerce,matrix,gpc.poly-method coerce,numeric,gpc.poly-method coerce,SpatialPolygons,gpc.poly-method get.bbox,gpc.poly-method get.pts,gpc.poly-method gpc.poly-class intersect,gpc.poly,gpc.poly-method plot,gpc.poly,ANY-method plot,gpc.poly-method scale.poly,gpc.poly-method setdiff,gpc.poly,gpc.poly-method show,gpc.poly-method symdiff,gpc.poly,gpc.poly-method triangulate,gpc.poly-method tristrip,gpc.poly-method union,gpc.poly,gpc.poly-method [,gpc.poly,ANY,ANY-method [,gpc.poly-method
Class "gpc.poly.nohole"coerce,gpc.poly.nohole,SpatialPolygons-method coerce,numeric,gpc.poly.nohole-method coerce,SpatialPolygons,gpc.poly.nohole-method gpc.poly.nohole-class
Point on Surface of GeometrygPointOnSurface RGEOSPointOnSurface
Linestring PolygonizergPolygonize
Project Points to Line GeometrygProject
Geometry Relationships - Intersection Matrix Pattern (DE-9IM)gRelate RGEOSRelate
Simplify GeometrygSimplify
Geometry Relationships - TouchesgTouches RGEOSTouches
Geometry UniongLineMerge gUnaryUnion gUnionCascaded RGEOSLineMerge RGEOSUnionCascaded
Generics/Methods for polygon objectsappend.poly append.poly-methods area.poly area.poly-methods get.bbox get.bbox-methods get.pts get.pts-methods new-generics scale.poly scale.poly-methods symdiff triangulate triangulate-methods tristrip tristrip-methods
Find spatial join or intersectionsoverGeomGeom overGeomGeomDF
Read/Write polygon datapolyfile read.polyfile write.polyfile
Compute optimal label positions for polygonspolygonsLabel
Experimental FunctionsgBinarySTRtreeQuery gUnarySTRtreeQuery poly_findInBoxGEOS
RGEOS Polygon Hole Comment FunctionscreatePolygonsComment createSPComment get_do_poly_check set_do_poly_check
RGEOS Utility FunctionscheckP4S getScale get_RGEOS_CheckValidity get_RGEOS_dropSlivers get_RGEOS_polyThreshold get_RGEOS_warnSlivers rgeos_extSoftVersion setScale set_RGEOS_CheckValidity set_RGEOS_dropSlivers set_RGEOS_polyThreshold set_RGEOS_warnSlivers translate version_GEOS version_GEOS0
RGEOS WKT FunctionsreadWKT writeWKT
Deprecated functions and methodsgBuffer gDifference gIntersection gSymdifference gUnion rgeos-deprecated RGEOSBuffer
Class "Ring"bbox,Ring-method coerce,Ring,SpatialPoints-method coordinates,Ring-method coordnames,Ring-method coordnames<-,Ring,character-method Ring-class
create SpatialCollectionsSpatialCollections
Class "SpatialCollections"plot,SpatialCollections,missing-method row.names,SpatialCollections-method SpatialCollections-class SpatialLinesNULL-class SpatialPointsNULL-class SpatialPolygonsNULL-class SpatialRingsNULL-class
create SpatialRings or SpatialRingsDataFrameRing SpatialRings SpatialRingsDataFrame
Class "SpatialRings"coerce,SpatialRings,SpatialPoints-method coordinates,SpatialRings-method coordnames,SpatialRings-method coordnames<-,SpatialRings,character-method plot,SpatialRings,missing-method row.names,SpatialRings-method row.names<-,SpatialRings,character-method SpatialRings-class spChFIDs,SpatialRings,character-method [,SpatialRings-method
Class "SpatialRingsDataFrame"bbox,SpatialRingsDataFrame-method coerce,SpatialRingsDataFrame,data.frame-method coerce,SpatialRingsDataFrame,SpatialPoints-method coerce,SpatialRingsDataFrame,SpatialRings-method coordinates,SpatialRingsDataFrame-method coordnames,SpatialRingsDataFrame-method coordnames<-,SpatialRingsDataFrame,character-method dim,SpatialRingsDataFrame-method names,SpatialRingsDataFrame-method names<-,SpatialRingsDataFrame,character-method plot,SpatialRingsDataFrame-method row.names,SpatialRingsDataFrame-method row.names<-,SpatialRingsDataFrame,character-method SpatialRingsDataFrame-class spChFIDs,SpatialRingsDataFrame,character-method [,SpatialRingsDataFrame-method