https://github.com/mapbox/tippecanoe
Raw File
Tip revision: b2eff136675f1340abb794fcd7b016663d981547 authored by Eric Fischer on 19 December 2014, 22:33:39 UTC
Impose a limit on the maximum number of features in a tile.
Tip revision: b2eff13
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