Repository Public BSD-3-Clause
1# ADR 0003 — Tiles: Planetiler with the Protomaps basemap profile, PMTiles v3 archives23Date: 2026-11-25 · Status: accepted45**Context.** Vector tiles must be generated reproducibly from OpenStreetMap extracts, with Natural Earth at low zooms6(§4), in a standard container (§5).78**Options.**9- *OpenMapTiles schema (planetiler-openmaptiles)* — BSD-3 code, but the schema is CC-BY 4.0 and asks for a visible10 "© OpenMapTiles" credit on the map.11- *Protomaps basemap profile v4 (Planetiler 0.10.2)* — BSD-3 code, tile schema and visual design CC0, writes PMTiles12 directly, includes Natural Earth low zooms, OSM land and water polygons, multilingual names.13- *A custom tile generator* — excluded: no benefit for V1.1415**Decision.** `Infrastructure/tile-builder` runs the Protomaps basemap profile (pinned commit, built from source with16Maven on the build node) and writes one PMTiles v3 archive per region, zoom 0–15. The style is ORIX's own17(`ORIXMapStyle`), not the Protomaps one. A world base map (zoom 0–6, 12.7 MB) is bundled in the application; world18labels come from Natural Earth 5.1.2 (public domain) as a 1.6 MB GeoJSON.1920**Measured on the build node (Mac Studio M4 Max, 16 cores, 64 GB), 2026-11-25, OSM data of 2026-11-24.**2122| Region | Input | Build time | Archive |23|---|---|---|---|24| 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 |25| Québec City region (bbox -71.75,46.60,-70.85,47.10) | 22 MB PBF | under 2 min | 24.4 MB |26| Province of Québec | 1.17 GB PBF | about 2 min | 2.61 GB |27| World base, zoom 0–6 | Natural Earth + OSM coastlines | 1 min 20 s | 12.7 MB |2829**Consequences.** Java 21+ and Maven are needed on the build node only. The province archive is large (2.6 GB): the30pilot regions offered first are the two urban regions; the province is evaluated at maximum zoom 14 (overzoomed by the31renderer) before being published.3233**Licences.** OpenStreetMap ODbL 1.0 (tiles are a produced work / derivative database: attribution kept in every34archive and shown in the app), Natural Earth public domain, OSM land/water polygons (osmdata.openstreetmap.de, ODbL).35