Introducing a new way to review your PRs.

Read the announcement

maplibre / maplibre-tile-spec

Next generation map vector tiles format

View on GitHub

20 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

MapLibre Tile Specification knowledge base

MapLibre Tile Specification is a multi-language implementation and validation repository for MapLibre Tile codecs. Its main components are C++, Java, Rust, TypeScript, a browser inspector, and QGIS integration.

The Rust workspace is the principal package-delivery surface: mlt-core implements codecs, while CLI, native-binding, Python, and WebAssembly packages expose them to users. Shared fixtures and cross-language tests maintain interoperability.

Repository automation under .github/workflows/ runs validation, benchmarking, publishing, and release tasks. Browser and desktop integrations consume decoder output for inspection or GIS workflows.

flowchart TD
  Fixtures[Shared fixtures and expected outputs] --> Cpp[C++ tile library]
  Fixtures --> Java[Java tile library]
  Fixtures --> RustCore[Rust mlt-core]
  Fixtures --> TS[TypeScript decoder]
  RustCore --> RustCLI[Rust conversion CLI]
  RustCore --> FFI[Rust FFI and Python]
  RustCore --> WASM[Rust WebAssembly package]
  WASM --> Inspector[Tile inspector application]
  TS --> Inspector
  Cpp --> Validation[Cross-language validation]
  Java --> Validation
  RustCore --> Validation
  Fixtures --> Validation
  Validation --> Automation[Automation and releases]
  RustCore --> QGIS[QGIS plugin integration]

Glossary

  • MLT: MapLibre Tile binary tile representation implemented by the repository's language packages.
  • MVT: Mapbox Vector Tile input/output format used by conversion paths.
  • Conformance assets: Repository-level fixtures, expected outputs, and sample tiles shared across implementations.
  • Tile inspector: Browser application that decodes tile bytes and presents structural, geometric, and byte-level views.
  • Synthetic data: Generated GeoJSON and related test inputs used to exercise codec behavior.

Codebase-wide invariants

  • Compatibility is validated against shared fixtures and expected outputs under test/fixtures/** rather than by a single implementation alone.
  • Rust delivery packages share a workspace definition in rust/Cargo.toml and depend on the core codec crate under rust/mlt-core/**.
  • Cross-language behavior is exercised in language-specific tests, including java/mlt-core/src/test/** and rust/mlt-core/tests/**.
  • Browser-facing decoding APIs are packaged through rust/mlt-wasm/src/** and rust/mlt-wasm/js/**.
  • Repository CI and release behavior is defined as versioned workflows in .github/workflows/**.

Routing table