mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
python: default to max dir depth 3, don't default compression in writer
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user