ADR 0003 — Tiles: Planetiler with the Protomaps basemap profile, PMTiles v3 archives
Date: 2026-11-25 · Status: accepted
Context. Vector tiles must be generated reproducibly from OpenStreetMap extracts, with Natural Earth at low zooms (§4), in a standard container (§5).
Options.
- OpenMapTiles schema (planetiler-openmaptiles) — BSD-3 code, but the schema is CC-BY 4.0 and asks for a visible "© OpenMapTiles" credit on the map.
- Protomaps basemap profile v4 (Planetiler 0.10.2) — BSD-3 code, tile schema and visual design CC0, writes PMTiles directly, includes Natural Earth low zooms, OSM land and water polygons, multilingual names.
- A custom tile generator — excluded: no benefit for V1.
Decision. Infrastructure/tile-builder runs the Protomaps basemap profile (pinned commit, built from source with
Maven on the build node) and writes one PMTiles v3 archive per region, zoom 0–15. The style is ORIX's own
(ORIXMapStyle), not the Protomaps one. A world base map (zoom 0–6, 12.7 MB) is bundled in the application; world
labels come from Natural Earth 5.1.2 (public domain) as a 1.6 MB GeoJSON.
Measured on the build node (Mac Studio M4 Max, 16 cores, 64 GB), 2026-11-25, OSM data of 2026-11-24.
| Region | Input | Build time | Archive |
|---|---|---|---|
| Greater Montréal (bbox -74.35,45.15,-73.15,45.95) | 97 MB PBF | 1 min 48 s (first run, includes source downloads) | 96.4 MB |
| Québec City region (bbox -71.75,46.60,-70.85,47.10) | 22 MB PBF | under 2 min | 24.4 MB |
| Province of Québec | 1.17 GB PBF | about 2 min | 2.61 GB |
| World base, zoom 0–6 | Natural Earth + OSM coastlines | 1 min 20 s | 12.7 MB |
Consequences. Java 21+ and Maven are needed on the build node only. The province archive is large (2.6 GB): the pilot regions offered first are the two urban regions; the province is evaluated at maximum zoom 14 (overzoomed by the renderer) before being published.
Licences. OpenStreetMap ODbL 1.0 (tiles are a produced work / derivative database: attribution kept in every archive and shown in the app), Natural Earth public domain, OSM land/water polygons (osmdata.openstreetmap.de, ODbL).