ParentFull threadgbhn·The S2 library is here: https://code.google.com/p/s2-geometry-library/It's based on the hilbert curve.View on HN