--- license: odbl pretty_name: Stealth offline map — Romania tags: [offline, maps, openstreetmap, hiking, offroad, pmtiles, terrain] size_categories: [n<1K] --- # Stealth offline map: Romania An offline map region for the Stealth iOS app (private, on-device). The app downloads these files once and draws the map, searches places and reads elevation entirely on the iPhone. ## Files | File | What | Source | Licence | |---|---|---|---| | `base.pmtiles` | Base map vector tiles, z0–14 (Protomaps basemap v4) | Protomaps daily build `20261025`, cut to Romania's boundary | ODbL 1.0 (© OpenStreetMap contributors) | | `trails.pmtiles` | Paths, tracks, unpaved roads (`sac_scale`, `trail_visibility`, `tracktype`, `surface`, `4wd_only`…) and marked hiking routes (`osmc:symbol` colour), z8–14 | Geofabrik `romania-latest.osm.pbf` of 2026-10-25 | ODbL 1.0 (© OpenStreetMap contributors) | | `places.sqlite` | 53,965 places with an FTS5 index: settlements, health and emergency, water, shelters and huts, peaks and passes, campsites, fuel | Same OSM extract | ODbL 1.0 (© OpenStreetMap contributors) | | `terrain.pmtiles` | Terrain (DEM), Terrarium-encoded lossless WebP, 512 px, z0–11 | Mapterhorn `planet.pmtiles`, cut to Romania | © Mapterhorn; Copernicus GLO-30 © DLR e.V. 2010–2014 and © Airbus Defence and Space GmbH 2014–2018, provided under COPERNICUS by the European Union and ESA; Romania LAKI II © ANCPI (OGL-ROU-1.0) | | `contours.pmtiles` | Contour lines every 20/50/100 m (index lines every 100 m), z10–13 | Traced from `terrain.pmtiles` | Same as terrain | `SHA256SUMS` lists each file's hash. The app also pins each file's hash to this dataset revision. ## Attribution Show "© OpenStreetMap contributors" and "© Mapterhorn" with the map, and the Copernicus credit above where terrain or contours are used. ## How it was built The scripts are in the Stealth repository, under `native/Tools/maps/`: ``` pmtiles extract https://build.protomaps.com/20261025.pmtiles base.pmtiles --region=romania.geojson --maxzoom=14 pmtiles extract https://download.mapterhorn.com/planet.pmtiles terrain.pmtiles --region=romania.geojson --maxzoom=11 build_trails.py romania-latest.osm.pbf trails.geojsonseq tippecanoe -o trails.pmtiles -Z8 -z14 --drop-densest-as-needed --extend-zooms-if-still-dropping --no-tile-size-limit trails.geojsonseq build_places.py romania-latest.osm.pbf places.sqlite build_contours.py terrain.pmtiles contours.geojsonseq tippecanoe -o contours.pmtiles -l contours -Z10 -z13 -y ele -y idx --no-tile-size-limit --no-feature-limit contours.geojsonseq ``` The boundary is Geofabrik's `romania.poly`. Under the ODbL, `trails.pmtiles` and `places.sqlite` are derivative databases and are offered under the same licence. Trail difficulty and track grades come from OpenStreetMap volunteers. They can be missing or out of date, so always check local conditions.