Compress individual features in the temporary files

This commit is contained in:
Erica Fischer
2023-01-24 13:24:36 -08:00
parent 21c946dd49
commit 484dc27c5e
6 changed files with 46 additions and 18 deletions
+1 -1
View File
@@ -2659,7 +2659,7 @@ long long write_tile(FILE *geoms, std::atomic<long long> *geompos_in, char *stri
std::string pbf = tile.encode();
if (!prevent[P_TILE_COMPRESSION]) {
compress(pbf, compressed);
compress(pbf, compressed, true);
} else {
compressed = pbf;
}