MCPcopy
hub / github.com/protomaps/PMTiles / all_tiles

Function all_tiles

python/pmtiles/pmtiles/reader.py:80–82  ·  view source on GitHub ↗
(get_bytes)

Source from the content-addressed store, hash-verified

78
79
80def all_tiles(get_bytes):
81 header = deserialize_header(get_bytes(0, 127))
82 return traverse(get_bytes, header, header["root_offset"], header["root_length"])

Callers 14

pmtiles_to_mbtilesFunction · 0.90
pmtiles_to_dirFunction · 0.90
test_all_tilesMethod · 0.90
test_export_tilesFunction · 0.90
test_export_zoom_bothFunction · 0.90
test_export_zoom_neitherFunction · 0.90
test_export_jobsFunction · 0.90
test_export_src_nodataFunction · 0.90
test_export_bilinearFunction · 0.90
test_skip_emptyFunction · 0.90

Calls 3

deserialize_headerFunction · 0.85
get_bytesFunction · 0.85
traverseFunction · 0.85

Tested by 12

test_all_tilesMethod · 0.72
test_export_tilesFunction · 0.72
test_export_zoom_bothFunction · 0.72
test_export_zoom_neitherFunction · 0.72
test_export_jobsFunction · 0.72
test_export_src_nodataFunction · 0.72
test_export_bilinearFunction · 0.72
test_skip_emptyFunction · 0.72
test_include_emptyFunction · 0.72
test_export_countFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…