https://github.com/mapbox/tippecanoe
Raw File
Tip revision: 9ecc56ba5bd2202ce53f2c04c8606b02ca5137d8 authored by Eric Fischer on 02 March 2015, 00:32:22 UTC
Reduce exponent again
Tip revision: 9ecc56b
projection.h
void latlon2tile(double lat, double lon, int zoom, unsigned int *x, unsigned int *y);
void tile2latlon(unsigned int x, unsigned int y, int zoom, double *lat, double *lon);
unsigned long long encode(unsigned int wx, unsigned int wy);
void decode(unsigned long long index, unsigned *wx, unsigned *wy);
back to top