Wednesday 16 September 2009

Advance to GO

Using Traffic4England today and the following display caught my eye.


What's happening here is there's a bunch of 'Go' signs with most of them referring to the same location. Kind of strange, but on closer examination it appears that the underlying XML from the Highways Agency contains errors (which is actually quite unusual).  In order to determine the item and event category,  Traffic4England examines the textual content of the various fields from the Highways Agency RSS feeds and attempts to determine the type of traffic event. In this case the XML content contains conflicting information, the item title says 'Road now Clear' while the underlying description says 'future roadworks on these dates'. Problem is which is it? In this case I've 3 options, assume clear, assume future roadworks or discard the entry. Given that this is and information system, discarding isn't really an option. Better to retain as much of the underlying data as possible and provide it to the user so they can decide what's happening.... which is why it looks like it does.

J.

No comments:

Post a Comment