Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/protomaps/PMTiles
/ create_raster_example.py
File
create_raster_example.py
python/pmtiles/examples/create_raster_example.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Generates a raster tile archive for conformance testing.
2
3
from
urllib.request
import
Request, urlopen
4
from
pmtiles.tile
import
zxy_to_tileid, tileid_to_zxy, TileType, Compression
Callers
nothing calls this directly
Calls
5
Writer
Class · 0.90
zxy_to_tileid
Function · 0.90
tileid_to_zxy
Function · 0.90
write_tile
Method · 0.80
finalize
Method · 0.80
Tested by
no test coverage detected