Google’s S2, geometry on the sphere, cells and Hilbert curve | Terra Incognita

Update - 05 Dec 2017: Google just announced that it will be commited to the development of a new released version of the S2 library, amazing news, repository can be found here. Google's S2 library is a real treasure, not only due to its capabilities for spatial indexing but also because it is a lib…