Picture+2

What is this?
This map shows all trains on the London Underground network in approximately real time. The yellow pins are stations (click for a local map of that station), the red pins trains.

How does it work?
Live departure data is fetched from the TfL API, and then it does a bit of maths and magic. It’s surprisingly okay given this was done in only a few hours at Science Hackday and the many naming/location issues encountered, some unresolved. A small number of stations are misplaced or missing; occasional trains behave oddly due to duplicate IDs; some H&C stations are missing in the TfL feed; the front end doesn’t update from the back end feed (hit refresh for now).

Who did this?
Matthew Somerville (with helpful hinderances from Frances Berriman and James Aylett). Source code.

click here to go there now.

Picture+3

What is this?
Live Mapping of all trains currently on approach to a particular station. The yellow pins are stations (click for a local map of that station), the red pins trains. The trains move in approximately real time, or rather quicker if you check the speed-up box.

How does it work?
Live departure data is fetched from the National Rail website, much like my timetable site, and then it does a bit of maths and magic.

Who did this?
Matthew Somerville. Formerly a civil servant, I’m now normally to be found working for mySociety helping create and update various popular democracy and civic websites, like TheyWorkForYou and FixMyStreet. But I’m always open to offers for other fun stuff. 🙂 I can be emailed at matthew@dracos.co.uk.

click here to go there now.

Enhanced by Zemanta