mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 01:45:41 +02:00
Don't enforce the tile size limit here if they said not to
This commit is contained in:
@@ -2023,7 +2023,7 @@ long long write_tile(decompressor *geoms, std::atomic<long long> *geompos_in, ch
|
|||||||
adjusted_feature_count = adjusted_feature_count * (skipped + kept) / kept;
|
adjusted_feature_count = adjusted_feature_count * (skipped + kept) / kept;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (too_many_bytes || adjusted_feature_count > adjusted_max_tile_size) {
|
if (too_many_bytes || (adjusted_feature_count > adjusted_max_tile_size && !prevent[P_KILOBYTE_LIMIT])) {
|
||||||
// Even being maximally conservative, each feature is still going to be
|
// Even being maximally conservative, each feature is still going to be
|
||||||
// at least one byte in the output tile, so this can't possibly work.
|
// at least one byte in the output tile, so this can't possibly work.
|
||||||
skipped++;
|
skipped++;
|
||||||
|
|||||||
Reference in New Issue
Block a user