Move projection and tile arithmetic to its own file

This commit is contained in:
Eric Fischer
2014-10-24 17:22:14 -07:00
parent 754dbf152a
commit 46100c34df
9 changed files with 82 additions and 79 deletions
-2
View File
@@ -24,6 +24,4 @@ struct index {
struct index *next;
};
unsigned long long encode(unsigned int wx, unsigned int wy);
long long write_tile(struct index *start, struct index *end, char *metabase, unsigned *file_bbox, int z, unsigned x, unsigned y, int detail, int basezoom, struct pool *file_keys, char *layername, sqlite3 *outdb, double droprate);