New #Impromptu day!

The ”walk” tab now let’s you search for a station to walk to and the “wait” tab now actually exists. If real-time data is available, it is now shown.

Try it out here: https://impromptu.partim.org

Impromptu

@partim Nice! The walk button also makes it possible to walk from Frankfurt (M) Hbf (which only has trains to Amsterdam) to Frankfurt (Main) Hauptbahnhof or even, shock horror, to Francfort sur le Main. Data quality coming in here as that last one shows a train to 9560. Probably non-trivial to solve though.
@partim Oh, and by the way: the github source is stuck 8 months ago, have you moved elsewhere or just not committed the recent changes yet?

@patrick I saw the train to 9561 earlier. I might be using the wrong field for the destination.

The three Frankfurt Hbfs should have each other’s trains on the departure list. Not sure what I am doing wrong there.

@partim somewhat related - if you want an approximate reverse geocoder i built https://github.com/bovine3dom/fahrtle/blob/master/src/utils/geo.ts because i couldn't find an existing one that worked in the browser

approx ~300kB compressed

fahrtle/src/utils/geo.ts at master · bovine3dom/fahrtle

Race your friends using public transport on a map. Contribute to bovine3dom/fahrtle development by creating an account on GitHub.

GitHub
@bovine3dom I’m using the name field. I’ll check if there is something better and what Motis itself uses.
@partim Lovely simple and fast interface. I like the change station option, but is there a maximum distance (understandably) set? Selfishly, I was looking at a local bus stop, and if the range was say 600-700m, it might show stops on a different route, or does it only show before and after stops on same route anyway? Hope this makes sense.
@rhysw Sadly, the API endpoint for nearby stops doesn’t allow for additional options. I will have to figure out what to do there. Eventually I want to show all nearby stations on the map.