Merge pull request #51 from mapbox/fitsample

Flag to drop as many features as necessary to keep tiles under the size limit
This commit is contained in:
Eric Fischer
2015-06-03 11:10:54 -07:00
3 changed files with 22 additions and 3 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ static void merge(struct merge *merges, int nmerges, unsigned char *map, FILE *f
}
while (head != NULL) {
fwrite(map + head->start, bytes, 1, f);
fwrite_check(map + head->start, bytes, 1, f, "merge temporary");
head->start += bytes;
struct merge *m = head;