https://github.com/mapbox/tippecanoe
Raw File
Tip revision: bb13dc03e55a180480e428d57687313f941dd0fd authored by Eric Fischer on 20 November 2014, 22:31:50 UTC
Gzip -9 tiles. Don't bother writing tiles whose features all got clipped away.
Tip revision: bb13dc0
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