[OSM-talk-be] DE Lijn has new service ...
Marc Coevoet
sintsixtus at gmail.com
Tue Nov 15 18:19:26 UTC 2011
Hello,
De LIJN has a new service, where you can fetch the current status of
buses, and their delays...
One of the results for the Bus STop "Iper Markt" is:
http://reisinfo.delijn.be/realtime/halte/504710
As I suppose "504710" is the number of the bus stop, we will be able to
query the 42000 bus stops in a 10 lines script ;-)
AllBusStops=awk(some field from the lijn data);
for busStop in $AllBusStops
do
wget -O dir/$BusStop http://reisinfo.delijn.be/realtime/halte/$BusStop
done
Marc
--
The "Penguin" has arrived - and he's not going away - ever.
What's on Shortwave guide: choose an hour, go!
http://shortwave.tk
700+ Radio Stations on SW http://swstations.tk
300+ languages on SW http://radiolanguages.tk
More information about the Talk-be
mailing list