Expand description
Raster basemap archiver: XYZ/WMTS tile endpoints → PMTiles.
Downloads a tile pyramid from any {z}/{x}/{y} HTTP endpoint with
polite rate limiting and a resumable on-disk cache, then packs the
tiles into a PMTiles v3 archive with content deduplication. Supports
hybrid pyramids (planet low zooms + one deep-zoom region) for
basemap-drape demos.
Modules§
- archive
- Download a tile pyramid and pack it into a raster
PMTilesarchive. - cache
- Resumable on-disk tile cache.
- fetch
- Polite HTTP tile fetching with retry and backoff.
- pyramid
- Tile pyramid enumeration for raster archive builds.
- template
- XYZ/WMTS URL template expansion.
Structs§
- Http
Fetcher ureq-backed fetcher used by the CLI.- Pyramid
Spec - Zoom and spatial coverage for one raster build.
- Raster
Build Options - Options for one raster archive build.
- Raster
Build Stats - Summary of a completed raster build.
- UrlTemplate
- A validated tile URL template.
Functions§
- build_
raster_ archive - Download every pyramid tile (resuming from
cache_dir) and pack the archive atoutput. - run
- Build a raster basemap archive from the tiles
optionsdescribe and write it tooutput.