Compare commits

...
Author SHA1 Message Date
Erica Fischer 9827fa0c9c Don't enforce the tile size limit here if they said not to 2024-09-05 10:08:53 -07:00
+1 -1
View File
@@ -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;
}
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
// at least one byte in the output tile, so this can't possibly work.
skipped++;