gtraffic.info

gTraffic.info is a website I created to display bbc travel information.

I originally started working on this just after the original google maps standalone code came out here. At that time the BBC published their traffic and transport reports on their Travel News site.

Subsequently the backstage site came online and this is where the current data is supplied from.

The website is driven by an application written in Python which downloads the xml files and parses them into a format which the Google Map control can display. It also generates an xml summary file which is fetched periodically using an XMLHttpRequest object.

The icons on the traffic and transport pages are colour coded to indicate severity (red – severe, yellow – medium, green – slight).

I used the lats and longs for the cctv map from here (thanks Rhys Jones) but the format of the popup is my own. I plan to put the traffic data on the the cctv map as well when I can figure out how to get the map panel to resize properly.

There are a few things which don’t quite work as well as I would like.
- the selection occasionaly gets a bit mixed up.
- map panel doesn’t resize.
- cctv popup doesn’t always go to correct size.

I am aware that Google can yank there maps away whenever they feel like it so we’ll see how long this last for.

Comments and suggestions welcome.

Comments

Leave a Reply