Functions for converting from GeoJSON to S2 geometry objects.