This post was deleted

Replying to @⁨speculate7383@lemmy.today⁩

Here’s what I’m thinking:

  • Driving-focused routing; easy. BRouter already supports separate car, bicycle and foot routing modes/profiles, and its server accepts a profile= per request. So that one is universal.

  • Live turn-by-turn navigation and rerouting - should be easy. GPS position, route geometry, turn hints, destination coordinates and a local routing API are all sorted. The browser would track position against the active route, advance through manoeuvres as you approach them, detect when you move sufficiently off-route, then call BRouter again from current GPS position to the existing destination.

The main work is a navigation state machine…which…I might need to ask GPT or Claude for help tbh.

  • Spoken navigation: probably the easiest next thing. Turn hints are already converted into human-readable text. If a browsers expose SpeechSynthesis (which can speak text through the device’s speech system) then…yeah, done. The navigation state says “150 m from next manoeuvre”, Pi Maps can literally issue speechSynthesis.speak(…).

For guaranteed offline speech you would want an on-device voice installed on the phone, but almost every phone has that (unless you cut TTS out).

  • Address coverage - this one is a cheat…because we have Geocoded National Address Files here. G-NAF “…contains the details of every physical address in Australia, with more than 15 million addresses and coordinates, free to the public and updated quarterly”.

I’d be stupid not to use that (though I need to figure out the slice and dice). Obviously, that won’t translate to every place on Earth, but I am coding this for me, so … :)

What I can’t solve is the Traffic. Not really. I mean…sort of. Where I am, Main Roads WA exposes public ArcGIS services with incidents, roadworks, events, road closures, detours and traffic-signal outages, all queryable as JSON, all updated live. In theory, that means a live traffic layer with with road closures, traffic incidents, speed zones etc.

No live traffic congestion / data tho.

Let me sit on it for a bit. I never thought to release this…and these 4 are nagging me…but I really want to move onto the SmartTube project fully. Maybe I’ll just patch the first two or three low hanging fruit. The big issue is field testing it for weeks/months before I can call it properly done.

Honestly, I just wanted my own Google maps. I never thought to apply spit and polish for general release.

data.gov.auGeoscape Geocoded National Address File (G-NAF) - Data.gov.auGeoscape G-NAF is the geocoded address database for Australian businesses and governments. It’s the trusted source of geocoded address data for Australia with over 50 million contributed addresses...