Fix the major bug: forgetting to offset back to world coordinates

This commit is contained in:
Eric Fischer
2014-12-04 14:08:36 -08:00
parent b7b476b36c
commit 028fef470e
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ struct pool_val *deserialize_string(char **f, struct pool *p, int type) {
void check(int geomfd, off_t geom_size, char *metabase, unsigned *file_bbox, struct pool *file_keys, unsigned *midx, unsigned *midy, const char *layername, int maxzoom, int minzoom, sqlite3 *outdb, double droprate, int buffer, const char *fname, struct json_pull *jp, const char *tmpdir) {
int i;
for (i = 0; i < maxzoom; i++) {
for (i = 0; i <= maxzoom; i++) {
fprintf(stderr, "\n");
long long most = 0;