#include #include "common/wgs84.h" #include "osm.h" #define EPSILON 1e-6 static double index2mercator(int index, int zoom) { return rad2deg(-M_PI + 2 * M_PI * ((double)index / (1<