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.

Tests Vignettes

Available Snapshots

This version of s2 can be found in the following snapshots:


Imports/Depends/LinkingTo/Enhances (5)
  • Rcpp
  • wk
  • Rcpp
  • wk >= 0.6.0
  • R
  • Suggests (3)
  • bit64
  • testthat >= 3.0.0
  • vctrs
  • Version History