Berlin public transport in real time
71–80 of 143 posts
Re: Berlin public transport in real time
#72The URL: > http://fahrinfo.vbb.de/bin/help.exe Who would run this on a webserver?
RewriteRule /bin/help.exe /node/whatever.js [L,QSA] # where's your CGI now? I have seen such rewrites in place to keep old CGI URLs from breaking, as their consumers were scattered all over time and space, and it was easier to internally remap the old URLs (which have over the years essentially become a public API) than have them stop working.
Re: Berlin public transport in real time
#73Select this icon: http://stops.lt/vilnius/_images/vehicles.gif, on the right, to show vehicles as bubbles.
It is real time from GPS transmitters inside the vehicles.
Re: Berlin public transport in real time
#74Earlier quoted context omitted.
In my city, Eindhoven in the Netherlands, traffic lights are often calibrated to make sure that buses don't have to stop at a red light.
God, how I wish I lived in the Netherlands...
Re: Berlin public transport in real time
#75Isn't this a security concern?
Re: Berlin public transport in real time
#76Looks like they are just interpolating the location between two stations using the expected arrival times. If no expected arrival times are available, they simply simulate the location to match the planned arrival times. So this is not really "live". > VBB-Livekarte zeigt berechnete Positionen der Fahrzeuge zwischen zwei Stationen; falls kein Live-Fahrplan vorhanden, dann Position gemäß geplanten Fahrzeiten
Agreed, it's not really live, but still cool. There's a similar project for Swiss trains here: http://maps.vasile.ch/transit-sbb/ Source is available on Github (not my project).
Re: Berlin public transport in real time
#77Re: Berlin public transport in real time
#78Earlier quoted context omitted.
It's quite easy to make this particular *.exe path return an "Internal Error" by fuzzing the GET parameters, which may or may not be due to someone having written something that parses user-supplied data in C that then segfaults :)
Assuming that they're even using C. It may as well be a dumped executable Lisp image.
The software has a long history, the first webserver with it was started in 1995 and even that most likely reused logic from their first version of 1989. So the language choice is not too surprising.
Re: Berlin public transport in real time
#79Helsinki has one for their trams, subway and ferries: http://live.mattersoft.fi/hsl/Default.aspx?lang=en I really wish there was this service for buses. Quite often the digital displays saying when the bus will arrive are inaccurate, as are the actual timetables printed on the bus stop (when there is traffic etc.)
Los Angeles County was one such I think. I used theirs for some information visualization art projects a couple years ago.