W3C home > Mailing lists > Public > www-rdf-calendar@w3.org > April 2007

tzwhere.py: map lat/long to timezone via wikipedia

From: Dan Connolly <connolly@w3.org>
Date: Mon, 02 Apr 2007 15:06:09 -0500
To: RDF Calendar <www-rdf-calendar@w3.org>
Message-Id: <1175544369.18153.116.camel@dirk>

For a long time, it's been a goal of mine
to figure out how to map lat/long to timezone
using open data. I recently discovered the
missing link:

http://en.wikipedia.org/wiki/List_of_tz_zones_by_country

I had some code to map airport codes to lat/long via
wikipedia. I now have code to map an airport code
and a local date to a UTC offset:

http://dig.csail.mit.edu/2006/data4/tzwhere.py


I'd like to write it up a bit more, eventually, but
for now, I just thought I'd like www-rdf-calendar
know that I do still work on this sort of stuff,
from time to time.
  

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Monday, 2 April 2007 20:06:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 April 2007 20:06:19 GMT