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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("s2")

1.0.6 by Edzer Pebesma, a month ago


https://r-spatial.github.io/s2/, https://github.com/r-spatial/s2, https://s2geometry.io/


Report a bug at https://github.com/r-spatial/s2/issues


Browse source code at https://github.com/cran/s2


Authors: Dewey Dunnington [aut] , Edzer Pebesma [aut, cre] , Ege Rubak [aut] , Jeroen Ooms [ctb] (configure script) , Google , Inc. [cph] (Original s2geometry.io source code)


Documentation:   PDF Manual  


Apache License (== 2.0) license


Imports Rcpp, wk

Suggests testthat, vctrs

Linking to Rcpp, wk


Imported by himach, mapping, nngeo, sf, slga.

Suggested by RCzechia, conleyreg, mapview, nhdR, redist, scrubr, sen2r, sfnetworks, simplevis, stars, tmap.


See at CRAN