Re: Very unique need

[email protected] (Dave Rolsky)
Newsgroups perl.datetime
Message-ID <[email protected]>
On Mon, 24 Mar 2008, William Heath wrote:

> I am enjoying DateTime::TimeZone as usual.  I have a unique need to be able
> to somehow know all the countries, cities, and postal codes that are in a
> certain TimeZone, can anyone recommend a way to do that?

_If_ you could get the geographic data describing a zone (as in "what 
shape is it") suitable for inserting into a GIS-capable DBMS like 
Postgres, then you could relatively easily do queries asking what cities 
or postal codes are in a given time zone.

I would note that postal codes and countries are themselves shapes which 
could be in more than one time zone. I don't think there are any 
multi-zone cities, fortunately.

However, getting this data and keeping it up to date seems like a very 
difficult proposition.


-dave

/*==========================
VegGuide.Org
Your guide to all that's veg
==========================*/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.