mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
That's still not right. Don't generate a tile with no layers.
This commit is contained in:
@@ -1061,7 +1061,7 @@ long long write_tile(FILE *geoms, long long *geompos_in, char *metabase, char *s
|
||||
oprogress = progress;
|
||||
}
|
||||
|
||||
if (totalsize > 0) {
|
||||
if (totalsize > 0 && tile.layers.size() > 0) {
|
||||
if (totalsize > 200000 && !prevent[P_FEATURE_LIMIT]) {
|
||||
fprintf(stderr, "tile %d/%u/%u has %lld features, >200000 \n", z, tx, ty, totalsize);
|
||||
fprintf(stderr, "Try using -B to set a higher base zoom level.\n");
|
||||
|
||||
Reference in New Issue
Block a user