mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-02 01:08:14 +00:00
The maxzoom=0 case couldn't have worked
This commit is contained in:
parent
241d96e57c
commit
7f6a5dc005
@ -444,6 +444,8 @@ void read_json(FILE *f, char *fname, char *layername, int maxzoom, int minzoom,
|
||||
struct index ix;
|
||||
ix.index = encode(cx, cy);
|
||||
ix.fpos = start;
|
||||
ix.type = mb_geometry[t];
|
||||
ix.maxzoom = z;
|
||||
fwrite_check(&ix, sizeof(struct index), 1, indexfile, fname, jp);
|
||||
} else {
|
||||
for (z = maxzoom; z >= 1; z--) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user