mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
python: default to max dir depth 3, don't default compression in writer
This commit is contained in:
@@ -46,7 +46,7 @@ class Reader:
|
||||
header = deserialize_header(self.get_bytes(0, 127))
|
||||
dir_offset = header["root_offset"]
|
||||
dir_length = header["root_length"]
|
||||
for depth in range(0, 3): # max depth
|
||||
for depth in range(0, 4): # max depth
|
||||
directory = deserialize_directory(self.get_bytes(dir_offset, dir_length))
|
||||
result = find_tile(directory, tile_id)
|
||||
if result:
|
||||
|
||||
Reference in New Issue
Block a user