Make duplicate trimming less bad: only trim features indexed >1 time

This commit is contained in:
Eric Fischer
2014-11-06 11:27:10 -08:00
parent 7f6a5dc005
commit ea292def47
3 changed files with 49 additions and 33 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ struct index {
unsigned long long index;
long long fpos : 48;
int maxzoom : 8;
int type : 8;
int type : 7;
int candup : 1;
};
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, int buffer);