Use the first coordinates of the first feature as the origin for deltas

This commit is contained in:
Eric Fischer
2015-06-18 10:52:01 -07:00
parent 46626e4f08
commit 1a44538bdf
4 changed files with 19 additions and 6 deletions
+2
View File
@@ -26,3 +26,5 @@ void deserialize_byte(char **f, signed char *n);
struct pool_val *deserialize_string(char **f, struct pool *p, int type);
long long write_tile(char **geom, char *metabase, char *stringpool, unsigned *file_bbox, int z, unsigned x, unsigned y, int detail, int min_detail, int basezoom, struct pool **file_keys, char **layernames, sqlite3 *outdb, double droprate, int buffer, const char *fname, FILE *geomfile[4], int file_minzoom, int file_maxzoom, double todo, char *geomstart, long long along, double gamma, int nlayers, char *prevent);
extern unsigned initial_x, initial_y;