How to get Timezone from latitude/longitude ?
Bernd Nawothnig
Bernd.Nawothnig at t-online.de
Wed Jun 25 09:09:26 EDT 2014
On 2014-06-25, codetarsier at gmail.com wrote:
> I'm looking for a python-library which can help me to get Timezone and
> Timezone-offset(UTC) from latitude/longitude.
>
> I'm not able to find an easy way to do it.
You can find the data as a zipped shapefile here:
http://efele.net/maps/tz/world/
Download the data and use pyshp and/or gdal/ogr for the lookup.
It may not be as simple as you wanted it to be, but it is possible.
Bernd
--
no time toulouse
More information about the Python-list
mailing list