<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:html="http://www.w3.org/1999/html" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Ross Burton</title><link>http://www.burtonini.com/blog</link><description>A potted account of Ross' life</description><language>en</language><ttl>60</ttl><dc:creator>Ross Burton</dc:creator><admin:generatorAgent rdf:resource="http://pyblosxom.sourceforge.net/"/><admin:errorReportsTo rdf:resource="mailto:ross@burtonini.com"/><item><title>Today's Geohack</title><guid isPermaLink="false">computers/geo-2008-05-13-10-50</guid><link>http://www.burtonini.com/blog/computers/geo-2008-05-13-10-50</link><description>Following hot on the heels of Yahoo's announcement of their Internet Location Platform , I wrote a quick 20-line Python ...</description><content:encoded><![CDATA[    <p>
      Following hot on the heels of Yahoo's announcement of
      their <a href="http://developer.yahoo.com/geo/">Internet Location
      Platform</a>, I wrote a quick 20-line Python hack to convert from latitude and
      longitude to a place name.  Because the ILP doesn't yet expose the ability
      to go from a position to a <acronym title="Where On Earth
      ID">WOEID</acronym> we have to ask the Flickr web services to do this
      first (as Flickr is owned by Yahoo this is using the same backend).  Once
      we have the WOEID, it can be then be looked up on the ILP and useful
      information obtained.  Example speak more than words:
    </p>
    <pre>$ python geohack.py 
Using position 51.872330 0.161950
Got WOEID 12775
Got town Bishop's Stortford</pre>
    <p>
      Now to write a <a href="http://geoclue.freedesktop.org">GeoClue</a>
      provider which will fill in the locality information from the position.
      Long-term grand plans involve integrating all of this geo magic into
      Postr, somehow.
    </p>
    <p>
      <small>NP: <cite>Third</cite>, Portishead</small>
    </p>
]]></content:encoded><dc:date>2008-05-13T09:50:00Z</dc:date></item></channel></rss>