python: default to max dir depth 3, don't default compression in writer

This commit is contained in:
Brandon Liu
2022-10-16 12:33:39 +08:00
parent 991cdb302d
commit 819a0e6f2b
2 changed files with 1 additions and 4 deletions

View File

@@ -107,9 +107,6 @@ class Writer:
compressed_metadata = gzip.compress(json.dumps(metadata).encode())
header["clustered"] = True
header["internal_compression"] = Compression.GZIP
header[
"tile_compression"
] = Compression.GZIP # TODO: not necessarily true for non-vector
header["root_offset"] = 127
header["root_length"] = len(root_bytes)
header["metadata_offset"] = header["root_offset"] + header["root_length"]