s2: Spherical Geometry Operators Using the S2 Geometry Library
Provides R bindings for Google's s2 library for geometric calculations on the sphere. High-performance constructors and exporters provide high compatibility with existing spatial packages, transformers construct new geometries from existing geometries, predicates provide a means to select geometries based on spatial relationships, and accessors extract information about geometries.
| Version: | 1.1.9 |
| Depends: | R (≥ 3.0.0) |
| Imports: | Rcpp,wk (≥ 0.6.0) |
| LinkingTo: | Rcpp,wk |
| Suggests: | bit64,testthat (≥ 3.0.0),vctrs |
| Published: | 2025-05-23 |
| DOI: | 10.32614/CRAN.package.s2 |
| Author: | Dewey Dunnington [aut], Edzer Pebesma [aut, cre], Ege Rubak [aut], Jeroen Ooms [ctb] (configure script), Google, Inc. [cph] (Original s2geometry.io source code) |
| Maintainer: | Edzer Pebesma <edzer.pebesma at uni-muenster.de> |
| BugReports: | https://github.com/r-spatial/s2/issues |
| License: | Apache License (== 2.0) |
| URL: | https://r-spatial.github.io/s2/,https://github.com/r-spatial/s2,http://s2geometry.io/ |
| NeedsCompilation: | yes |
| SystemRequirements: | cmake, OpenSSL >= 1.0.1, Abseil >= 20230802.0 |
| Materials: | README,NEWS |
| In views: | Spatial |
| CRAN checks: | s2 results |
Documentation:
Downloads:
Reverse dependencies:
| Reverse imports: | conleyreg,dggridR,himach,mapi,mapsf,sf,spdep,spocc,tmap |
| Reverse suggests: | argoFloats,GeoThinneR,leaflet,mapview,move2,nhdR,RCzechia,sfnetworks,tidyterra |
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=s2to link to this page.