Add minimal support for alternate input projections

This commit is contained in:
Eric Fischer
2016-06-01 15:49:41 -07:00
parent 5da636ba23
commit af412e2038
11 changed files with 1838 additions and 12 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ long long parse_geometry(int t, json_object *j, long long *bbox, long long *fpos
long long x, y;
double lon = j->array[0]->number;
double lat = j->array[1]->number;
latlon2tile(lat, lon, 32, &x, &y);
projection(lon, lat, 32, &x, &y);
if (j->length > 2) {
static int warned = 0;