Skip to main content

Archive-backed tiles

One archive. The tiles the view actually needs.

The PMTiles module connects a single HTTP range-readable archive to tiled data sources, so applications can request tile metadata and payloads without managing a directory of objects.

Cloud-native reads

Ask for the data. Fetch only the bytes behind it.

Range-aware sources translate a logical request into scheduled byte ranges. Metadata, caching, and cancellation stay in the transport layer while the application works with a normal decoded result.

Range scheduler

mergecacheabort

offsets · limits · HTTP Range

Useful bytes

Header bytesdiscover the layout
Selected intervalsfetch only what is needed
Decoded resulttable, tile, or raster data

The same access pattern powers tiled scenes, columnar files, point clouds, and windowed rasters without making the whole object a prerequisite.

The archive boundary

Keep tile addressing separate from tile decoding.

PMTiles provides the archive index and byte ranges. The selected payload can then be handed to the appropriate vector, raster, or scene loader.

Index

Archive metadata and tile directory

Request

Tile coordinates and HTTP byte ranges

Payload

MVT, raster, or another tiled format

Runtime

Source scheduling and cache integration

Support for reading and packaging tiled data in PMTiles archives.

Detailed guide

PMTiles sources, writing and attribution

The sections below list the source and writer APIs and the underlying PMTiles library attribution.

Loaders and Writers​

APIDescription
PMTilesLoaderLoads tiled data from PMTiles archives.
PMTilesWriter / encodePMTilesPackages existing MVT, MLT and raster tile payloads into bounded PMTiles v3 archives. From v5.0.
encodeGeoArrowPMTilesReuses the GeoArrow tiler and MVT/MLT writers for bounded selected-tile authoring. From v5.0.
encodeRasterPMTilesExports selected byte-imagery regions as PNG tiles, reusing numeric raster sources and the shared sampler. From v5.0.

Attribution​

Archive reading and Hilbert tile addressing use the protomaps PMTiles library under BSD 3-Clause license.