Skip to content

Satellite maps, bus models, live weather and a livelier bus screen - #1

Merged
intelarc merged 5 commits into
mainfrom
claude/new-session-mvz2ww
Sep 24, 2026
Merged

intelarc merged 5 commits into
mainfrom
claude/new-session-mvz2ww

Conversation

@intelarc

Copy link
Copy Markdown
Owner

What's new

Real maps (MapLibre, open source)

  • Satellite view from Esri World Imagery, or LINZ's NZ aerials (7.5 cm in Auckland) with a free LINZ Basemaps key in Settings or a LINZ_API_KEY repo secret. Street view from OpenFreeMap.
  • The 27H route card is now a live satellite preview that opens full screen, with buses gliding between GPS fixes. Tap a bus to see what it is.
  • Trains: a Diagram / Satellite / Map switch shows every train at its real GPS position.

What bus is coming

  • The vehicle label in AT's feed (TR3884, NB5760) gives the operator, and app/src/main/assets/fleet.tsv maps fleet ranges to models: CRRC eT12 MAX / eD12 MAX, Geely C13E, Enviro200, Enviro500 MMC, BCI CitiRider, Scania K320UB.
  • The bus scene draws double-deckers, and electrics get a ⚡ and no exhaust.
  • tools/fleet_survey.py runs on every CI build and lists fleet ranges the table doesn't know yet. The 27H's own NZ Bus ranges (NB5003–5077, NB5301–5314) are still unidentified.

Bus screen

  • A stops-away track showing the last stop the bus passed, rolling countdowns, pull to refresh and a next-bus summary strip.
  • Live Auckland weather from Open-Meteo: overcast skies, rain, fog and thunder in the scenes, and the temperature in the header.
  • Rangitoto and Maungakiekie backdrops. Settings are grouped into cards.

Build and CI

  • Every branch builds an APK. Only main publishes the release.
  • Screenshots can build a branch.
  • Only 64-bit native libs are included, which keeps the APK at about 17 MB.
  • The location permissions MapLibre adds are stripped.

Testing

  • Builds in CI. The fleet survey confirmed the label format against the live feed.
  • Not yet run on a device. The emulator screenshot run failed on runner disk space before booting.

🤖 Generated with Claude Code

https://claude.ai/code/session_011C2fAvFFcMRkaF7qSvRA1v


Generated by Claude Code

- Build APK runs on every push; only main publishes the release
- tools/fleet_survey.py lists the vehicle labels on the road and any the
  fleet table doesn't recognise (runs as a non-failing build step)
- Screenshots can build the branch it's run on, and prints small JPEGs
  into the log

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011C2fAvFFcMRkaF7qSvRA1v
- MapLibre (open source) maps: Esri World Imagery for the satellite view,
  or LINZ's NZ aerials with a free Basemaps key; OpenFreeMap streets
- Bus route map is now a live satellite preview that opens full screen,
  with buses gliding between GPS fixes; tap one for what it is
- Trains: Diagram / Satellite / Map switch shows every train at its real
  GPS position
- Bus model from the vehicle label via assets/fleet.tsv (e.g. TR3884 ->
  Tranzurban CRRC eD12 MAX); the scene draws double-deckers and electrics
- Stops-away track with the last stop the bus passed, animated countdowns,
  pull to refresh, next-bus summary, Rangitoto and Maungakiekie backdrops

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011C2fAvFFcMRkaF7qSvRA1v
- Settings grouped into cards; credits for the maps and fleet list
- Strip the location permissions MapLibre's manifest adds (unused)
- Fleet table: Ritchies Enviro500 MMC double-deckers, NZ Bus Geely C13E
- README: maps, fleet list and branch builds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011C2fAvFFcMRkaF7qSvRA1v
Open-Meteo (free, no key) every 15 minutes: cloud cover greys the sky and
thickens the clouds, drizzle and rain fall on a slant, fog hazes the
skyline, thunderstorms flash; the header shows the temperature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011C2fAvFFcMRkaF7qSvRA1v
@intelarc
intelarc merged commit 95fd752 into main Sep 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants