backstage.bbc.co.uk

Use Our Stuff To Build Your Stuff

Prototypes

Traffic Maps

Having the BBC traffic information displayed on a interactive map really gives you a great feel for what's going on around the country. I think it would be especially useful if you were planning a long trip.

As a test, I hacked together a simple page which injects live traffic data supplied from the BBC into Google Maps.

Obviously this prototype is lacking many features, but it's a start.

  • 23 May 2005 04:43 PM

Comments  Post a comment

  • 1.
  • On 23 May 2005 05:06 PM,
  • bob james said:

awesome thanks :)

  • 2.
  • On 23 May 2005 05:35 PM,
  • Tim O´Brien said:

Excellent. Works really well, appears to be accurate on location.

  • 3.
  • On 24 May 2005 09:26 AM,
  • Dan Rus said:

What a great start - I'd love to see the BBC/Google adopt this and add the lower levels of traffic disruption

  • 4.
  • On 24 May 2005 10:02 AM,
  • Simon Brown said:

This is great, how did you manage to integrate the traffic data and the google maps?

Hi Simon,

It was actually very easy to do. Google Maps fetch XML data from the google website to show locations, business listings and direction data.

In a nutshell what I did was tell the Google Maps website to fetch the data from my own website. Then, I wrote a XSLT transformation which loads the Traffic Data XML available on the BBC website and transforms it into the XML format expected by Google Maps.

As soon as I have some time, I'm going to put a full tutorial up on my website: http://moo.datatribe.net

  • 6.
  • On 24 May 2005 01:21 PM,
  • Robert Hill said:

That is a great idea. I live in Scotland, so hope you start there when you roll it out nationwide!

  • 7.
  • On 10 Jan 2006 05:07 PM,
  • mark said:

it's broken!

Post a comment




Remember Me?




style: lo-fi | hi-fi