Have You Noticed That noticin.gs Have Noticed WOEIDs?

While everyone, well almost everyone, was fast asleep in London, Twitter quietly dropped a bomb-shell into their API announcements mailing list. Their new Trends API will help the service's users answer the perennial question "what's going on where am I".

So far, so geo but Twitter has noticed what I've been saying in my talks and accompanying decks for the last two years or so. "We're using Yahoo!'s Where on Earth IDs (WOEIDs) to name each location that we have information for -- we're doing so because those IDs give not only language-agnostic, but also permanent, stable, and unique identifiers for geographic locations.  For example, San Francisco has a permanent and unique WOEID of 2487956, London has 44418, and the Earth has WOEID 1."

Whilst there have been other uses of WOEIDs in the wild, including Alex Housley's Total Hotspots, Twitter picking on WOEIDs rather than another of the competing geo-identifiers is a massive credibility boost for the WOEID as a geographic standard for identifying and describing place. Using WOEIDs to geotag your content, be it Twitter status messages, blog posts or photos, automagically gives you access to an ever increasing range of data and web services that understand WOEIDs as well as those that still only understand longitude and latitude. Long/lat coordinates are an attribute of WOEIDs in case you were wondering. Proof of this is visible in the elegant and oddly addictive game of Noticings. Noticings is "a game of noticing things about you" jointly created by Tom Taylor. Tom was responsible for Boundaries, the amazing visualisation of Aaron Cope's Flickr Alpha shapes which allows geographies, such neighbourhoods, for which no formal definition exists, to be represented and viewed. Basically you tag Flickr photos with the "noticings" tag and the photo's location, either from an onboard GPS or on Flickr and then you score points for your photo of something you noticed. Which doesn't do it justice. The rules are in a constant state of flux but all to the better making it a Mornington Crescent for geotagged photos. Using WOEIDs as a stable and consistent geoidentifier is the glue that allows such a super-web-mash-up to be created. Flickr uses WOEIDs as a geotagging mechanism, either from the EXIF data embedded in a photo or by dragging and dropping the photo on a Map; these WOEIDs are then exposed via the Flickr API. The same Flickr API can be used to look for photos meeting certain criteria, such as the noticings tag and to discover photos taken in the same location, a fundamental part of Noticings. As Tom puts it ...

"(WOEIDs and GeoPlanet) gives us the opportunity to use colloquial geography rather than bounding boxes and radial searches and the like. I banged on about this in my talk at the AGI conference recently. I am such a geography bore. Anyway, we couldn’t have built Noticings without it."

For those who like the technical gory details, Tom's put up an excellent blog post to explain it all.

But it doesn't stop at photos and Flickr, once you have a WOEID you can pass it to any of the ever growing number of web APIs that know how to handle WOEIDs, Yahoo's GeoPlanet, Placemaker, Fire Eagle, YQL as well as services that speak long/lat. That's a lot of services, and the number's growing. Plus you get access to the horizontal and vertical relationships, parents, children and neighbours that a WOEID has as well as more obtuse colloquial geographies, all in multiple languages.

All of which is somewhat apt as I'm writing this in Munich at the back of the Telematics 2009 conference. While Munich is fine for the English speaking world, it's München in Germany and Monaco di Baviera to the Italians. But it may also be spelt as Muenchen and Munchen if special characters or accents aren't used. All of these names are simply multiple versions of the same place, and so are mapped to a single WOEID, 676757. Now go and notice something.

Posted via email from Gary's Posterous

Gary Gale

I'm Gary ... a Husband, Father, CTO at Kamma, geotechnologist, map geek, coffee addict, Sci-fi fan, UNIX and Mac user