Closed bdon closed 2 years ago
This is now the default behavior of the python writer and https://github.com/protomaps/go-pmtiles , though is not officially part of the spec yet. Spec version 2 clients should be able to depend on this sorted assumption.
Other things to consider for v2:
possible v2:
bounds
, center
, minzoom
, maxzoom
possible v3:
gzip
compression for directories, or a very simple, data-specific Huffman-style encoding for directories.possible v3:
Spec v2 is now described in the readme, changes in bold: https://github.com/protomaps/PMTiles#specification
minzoom
, maxzoom
, bounds
keys (center
was omitted as the zoom level is somewhat arbitrary, you can calculate this yourself)Closing this for now until we revisit for v3.
This should allow O(log n) lookup of tile membership in a directory without creating a copy.