Tile number is uncompressed, tile content is compressed

This commit is contained in:
Erica Fischer
2023-01-30 13:21:32 -08:00
parent c5f18671d8
commit 34926cf1dc
+3 -3
View File
@@ -573,10 +573,10 @@ void rewrite(drawvec &geom, int z, int nextzoom, int maxzoom, long long *bbox, u
{
if (!within[j]) {
serialize_int(geomfile[j]->fp, nextzoom, &geompos[j], fname);
serialize_uint(geomfile[j]->fp, tx * span + xo, &geompos[j], fname);
serialize_uint(geomfile[j]->fp, ty * span + yo, &geompos[j], fname);
geomfile[j]->begin();
geomfile[j]->serialize_int(nextzoom, &geompos[j], fname);
geomfile[j]->serialize_uint(tx * span + xo, &geompos[j], fname);
geomfile[j]->serialize_uint(ty * span + yo, &geompos[j], fname);
within[j] = 1;
}