poka.sh

Docs

MBTILES

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

MBTiles Preview.

At a glance

Purpose An MBTiles tileset: a SQLite database of map tiles (raster or vector) with metadata.
Extensions .mbtiles
Poka parser poka-mbtiles
Viewer poka-tree-viewer
Depth tier Parser with a shared viewer (see Depth tiers)
Breadth tier B4 Summary (see Breadth tiers)

How much Poka reads

B4 Summary. The container and metadata are read and summarised (counts, properties, structure), but the main content is not rendered.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-mbtiles/src/main.rs (718 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has byte.mbtiles, world_l1.mbtiles, read by no test. Covers .mbtiles. The parser reads the SQLite file directly and shows every metadata row (name, format, bounds, centre, zoom range, attribution and the rest), tile counts per zoom level (also through the deduplicated map table) and the tables. Judgement: B4: the tileset is described and counted, but no tile is shown.

What Poka does not read

  • No tile is drawn: raster tiles are not shown and vector tiles are not decoded
  • The json metadata (vector layers) is shown as text, not decoded (judgement from the code)
  • Tile counts stop at 2,000,000 tiles

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

  • mbtiles (Martin) (candidate; Apache-2.0 OR MIT; Rust; https://github.com/maplibre/martin/tree/main/mbtiles) — MbTiles access and processing library from the Martin tile server; SQLite based (sqlx/rusqlite), so wasm32-wasip1 suitability is unverified.
  • martin (candidate; MIT OR Apache-2.0; Rust; https://github.com/maplibre/martin) — Blazing fast and lightweight tile server with PostGIS, MBTiles, and PMTiles support; v2.0.0-beta.3, updated 2026-10-09; matched on lib.rs, not tested

Sources

  • parsers/poka-mbtiles/src/main.rs
  • parsers/poka-mbtiles/plugin.json