Computational geometry and spatial indexing library for spherical surfaces
Computational geometry and spatial indexing on the sphere
s2geometry$ s2geometry --build-index --input coords.txt --output index.s2$ s2geometry --query --index index.s2 --lat 37.7749 --lon -122.4194 --radius 1000$ s2geometry --validate-geometry --input polygon.geo