https://github.com/mapbox/tippecanoe
Raw File
Tip revision: 022f42c23be1727b5169832744c44a3903580675 authored by Eric Fischer on 20 June 2015, 00:47:04 UTC
Merge branch 'master' into consistent
Tip revision: 022f42c
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