SPB Git

Repository Public BSD-3-Clause

spborix-maps

ORIX Maps — an independent, private, offline-first map app for iPhone and iPad. It draws its own vector maps from OpenStreetMap data, with offline search, routing, turn-by-turn guidance and signed downloadable regions, and no Apple or Google map service.

13 entries at the root
History

Latest commit chore: standardize SP Boucher source headers and attribution 6ad296c

NameLast commitUpdated
Apps chore: standardize SP Boucher source headers and attribution
docs docs: legendary README — icon, logo, live spbgit badges, screenshots, author; build 2 release...
Infrastructure chore: standardize SP Boucher source headers and attribution
Packages chore: standardize SP Boucher source headers and attribution
scripts chore: standardize SP Boucher source headers and attribution
.gitignore Track the Monaco PBF parser fixture (it was ignored, so a clean checkout failed the ORIXOSM...
.spb-source-governance.toml docs: legendary README — icon, logo, live spbgit badges, screenshots, author; build 2 release...
ARCHITECTURE.md Architecture, privacy and security documentation; hygiene checks
CHANGELOG.md docs: legendary README — icon, logo, live spbgit badges, screenshots, author; build 2 release...
LICENSE ORIX Atlas: Metal engine specification and offscreen prototype (base map layers, eight themes,...
README.md docs: legendary README — icon, logo, live spbgit badges, screenshots, author; build 2 release...
ROADMAP.md Roadmap, changelog, ADRs 0006-0007
STATUS.md docs: legendary README — icon, logo, live spbgit badges, screenshots, author; build 2 release...
README.md View source
ORIX Maps logo



ORIX Maps icon

# ORIX Maps

Private maps that work offline.

An independent, native map app for iPhone and iPad: it draws its own vector maps from open data,
searches, routes and guides on the device — no Apple or Google map service, no account, no tracking.

Author: Simon-Pierre Boucher

iOS Version Status Offline author

Swift SwiftUI Rendering Tiles Search Routing Signing Data

commits last-commit activity language languages size branches tags clones

Modules Swift files Lines Package tests App tests UI tests Languages Themes Privacy

Bundle TestFlight Xcode Regions Device


Vector map of downtown Montréal drawn from a downloaded region Offline search results for Stade olympique Directions with an alternative route and route warnings Turn-by-turn guidance in 3D during a simulated drive The eight ORIX map themes

Fiche d'un lieu en français, avec adresse et coordonnées Catalog of downloadable regions Statistics of a recorded track Midnight theme Topographic theme

All screenshots in this repository are real captures of the running app on the iOS simulator (scripts/uitest.sh iphone --screenshots); the full inventory is in docs/TESTING.md.

# Contents

# What it is

ORIX Maps is not a skin over MapKit. Install the app, download a region once, and everything below runs on the device:

  • Map — vector tiles from a local archive, eight themes (ORIX Day, Midnight, Terrain, Minimal, Transit, Topographic, Explorer, High Contrast), 3D buildings, a theme editor (Map Studio) and your own GeoJSON / GPX / KML layers.
  • Regions — signed .orixmap packages (map, search index, routing graph) downloaded from www.orixlab.dev, with resume, verification, update, rollback and import from Files.
  • Search — names, addresses with house numbers, 64 categories, coordinates, typo correction, reverse geocoding.
  • Directions and guidance — car, bicycle and walking; stops, alternatives, avoid options; spoken instructions in English and French; off-route detection and rerouting; simulated trips.
  • Your data — collections and saved places with private notes, GPS tracks with statistics and replay, history that can be switched off and erased; import and export in GPX, GeoJSON and KML.
  • Privacy — no account, no advertising, no analytics. The only network requests are the region catalog and the region files you choose to download; they carry no position, no search and no identifier (docs/PRIVACY.md).

# State

Version 1.0.0 (2), on TestFlight for internal testing since 2026-11-25. Not on the App Store; no public beta link. STATUS.md lists every feature with where it was verified (tests, simulator, real infrastructure) and what still needs a physical device. Next steps: ROADMAP.md. History: CHANGELOG.md.

Three pilot regions are published (OpenStreetMap data of 2026-11-24):

Region Package Contains
Québec City region 41 MB map (zoom 0–15), search, directions
Greater Montréal 222 MB map (zoom 0–15), search, directions
Québec (province) 1.73 GB map (zoom 0–14), search, directions

# How it works

flowchart LR
  subgraph Build node
    PBF[OpenStreetMap extract] --> T[Planetiler + Protomaps profile]
    PBF --> G[orix-geocoder-build]
    PBF --> R[orix-routing-build]
    T --> M[map.pmtiles]
    G --> S[search.sqlite]
    R --> O[routing.orixgraph]
    M --> P[orix-package build<br>Ed25519 signature]
    S --> P
    O --> P
  end
  P --> W[www.orixlab.dev/maps/v1<br>catalog + signed packages]
  W -->|HTTPS GET, Range, no identifier| A
  subgraph iPhone / iPad
    A[CatalogClient · DownloadManager] --> V[PackageVerifier] --> RS[RegionStore<br>atomic install]
    RS --> ML[MapLibre Native · Metal]
    RS --> SE[SearchEngine · FTS5]
    RS --> RT[Router · A*] --> NV[NavigationSession · voice]
  end

Architecture, decisions and formats: ARCHITECTURE.md, docs/adr/, docs/ORIXMAP_FORMAT.md, docs/CATALOG_API.md, docs/SECURITY.md, measurements in docs/BENCHMARKS.md.

# Modules

Module Role
ORIXGeoCore Coordinates, Web Mercator and tile math, geodesy, coordinate text (decimal, DMS, UTM)
ORIXMapStyle The eight themes, theme files, style documents for the tile schema
ORIXMapRenderer Engine-neutral map controller; MapLibre Native is the only third-party code in the app
ORIXMapPackage .orixmap container, signature verification, region store, catalog client, downloads
ORIXSearch Offline search and geocoding (SQLite FTS5, grid index, address resolution, categories)
ORIXRouting Memory-mapped road graph, A* with turn restrictions, profiles, maneuvers, EN/FR instructions
ORIXNavigation Map matching, progress, announcements, off-route detection, voice
ORIXLocation Position service with progressive permission; simulated positions
ORIXPlaces · ORIXTracks · ORIXGeoExchange Saved places and history; track recording and replay; GPX / GeoJSON / KML
ORIXTileStore · ORIXAtlas PMTiles and vector tile reader; prototype of the proprietary Metal engine (docs/ATLAS_ENGINE.md)
ORIXTerrain · ORIXPrivacy · ORIXDesignSystem Elevation profiles (no data distributed yet); log redaction and network policy; interface components
Infrastructure/ PBF reader, tile / geocoder / routing / package builders, build-region.sh, local distribution server

# Requirements

  • macOS with Xcode 27 (iOS 27 SDK; the app targets iOS / iPadOS 18.0 and later), XcodeGen (brew install xcodegen).
  • For building regions: a Mac with Homebrew (openjdk, maven, osmium-tool are installed by the setup step).

# Build and run

bash
scripts/build.sh packages            # tests of every Swift package (macOS)
scripts/build.sh debug               # generate the Xcode project and build for the simulator
scripts/build.sh run -ORIXSkipOnboarding YES          # install and launch on the "ORIXMaps iPhone" simulator
scripts/uitest.sh                    # end-to-end UI tests (see docs/TESTING.md)

The app downloads regions from https://www.orixlab.dev/maps/v1/. To work against a local distribution:

bash
python3 Infrastructure/distribution/dev-server.py data/dev-dist 8765 &
scripts/build.sh run -ORIXSkipOnboarding YES -ORIXCatalogURL http://127.0.0.1:8765/maps/v1/ -ORIXAutoDownload ca-qc-montreal

Launch arguments for tests and screenshots are documented in docs/TESTING.md.

# Demonstrating offline operation

  1. Launch, open Maps (menu ⋯ → Downloaded maps), download Québec City region (41 MB).
  2. Turn the network off (on a device: airplane mode; on the simulator: stop the dev server or use the Network Link Conditioner at 100 % loss).
  3. The region still draws at every zoom; search "Château Frontenac" or "pharmacie"; touch and hold the map to drop a pin and read its nearest address; ask for directions; choose Preview the drive (simulation).
  4. The Maps screen shows the catalog from its cache with the date it was fetched, marked as offline.

On the simulator this sequence is automated by the UI tests. On a physical device it has not been run yet.

# Building and publishing regions

bash
# on the build node
Infrastructure/build-region.sh setup                 # tools, tile profile, Swift builders, signing key (first time)
Infrastructure/build-region.sh fetch quebec          # Geofabrik extract, MD5 verified
Infrastructure/build-region.sh build ca-qc-montreal  # extract → tiles → search index → routing graph → signed package
Infrastructure/build-region.sh publish ca-qc-montreal
Infrastructure/build-region.sh deploy                # artefacts first, catalog last, checksums verified on the web node

Regions are declared in Infrastructure/regions.json. Formats: docs/ORIXMAP_FORMAT.md, docs/CATALOG_API.md. Measured build times and sizes: docs/BENCHMARKS.md.

# Release

docs/RELEASE.md: scripts/release.sh archive | export | validate | upload | status.

# Data and licences

Map data © OpenStreetMap contributors (ODbL 1.0); Natural Earth (public domain); land cover © ESA WorldCover (CC BY 4.0). Rendering by MapLibre Native (BSD-2-Clause); label fonts Noto Sans (SIL OFL 1.1). Full register: docs/DATA_SOURCES.md.

The source code of ORIX Maps is © 2026 Simon-Pierre Boucher, all rights reserved (see LICENSE).

# Limits to keep in mind

Maps can be wrong or out of date. There is no live traffic, no closures, no transit schedules. Durations are estimates without traffic. Not for aviation, marine navigation or emergency use.

# Author

Simon-Pierre Boucher — ORIX Labs · www.spboucher.ai · git.spboucher.ai · contact@spboucher.ai

ORIX family: www.orixlab.dev

Clone orix-maps

Anonymous clone and fetch. Pushing requires the owner's personal access token.

Snapshot of main

Files main
Menu

Theme