of the S2 geometry library:
(or "go get code.google.com/p/gos2/s2".)
Package s2 implements types and functions for working with geometry in
S² (spherical geometry).
Its related packages, parallel to this one, are s1 (operates on S¹),
r1 (operates on ℝ¹) and r3 (operates on ℝ³).
This package provides types and functions for the S2 cell hierarchy
and coordinate systems. The S2 cell hierarchy is a hierarchical
decomposition of the surface of a unit sphere (S²) into “cells”; it is
highly efficient, scales from continental size to under 1 cm² and
preserves spatial locality (nearby cells have close IDs).
A presentation that gives an overview of S2 is
Note that it is not as complete as the C++ version it is based on, but
it works well for what it does support, and is sufficient for geo
indexing and the like.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.