Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73589

Re: How to get Timezone from latitude/longitude ?

From Akira Li <4kir4.1i@gmail.com>
Subject Re: How to get Timezone from latitude/longitude ?
Date 2014-06-26 00:44 +0400
References <9d6022cc-c5ca-448b-921f-fba9241f4b5c@googlegroups.com> <CACwCsY5zke8zT5YDdaWmBWsLa5ZS+TJRHn127sq8kTCp6kuTZA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.11243.1403729110.18130.python-list@python.org> (permalink)

Show all headers | View raw


Larry Martell <larry.martell@gmail.com> writes:

> On Wed, Jun 25, 2014 at 8:53 AM,  <codetarsier@gmail.com> wrote:
>> Hi,
>>
>> 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.
>>
>> Thanks in advance.
>
> It took me 30 seconds on google to find this:
>
> https://github.com/pegler/pytzwhere

Note: tzwhere may consume 750GB memory doing nothing
https://github.com/pegler/pytzwhere/pull/10

You could generate a postgis timezone database from efele.net/tz map or
use an online service instead http://stackoverflow.com/a/16519004


--
akira

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How to get Timezone from latitude/longitude ? codetarsier@gmail.com - 2014-06-25 05:53 -0700
  Re: How to get Timezone from latitude/longitude ? Bernd Nawothnig <Bernd.Nawothnig@t-online.de> - 2014-06-25 15:09 +0200
  Re: How to get Timezone from latitude/longitude ? Larry Martell <larry.martell@gmail.com> - 2014-06-25 09:09 -0400
  Re: How to get Timezone from latitude/longitude ? Chris Angelico <rosuav@gmail.com> - 2014-06-25 23:27 +1000
    Re: How to get Timezone from latitude/longitude ? Marko Rauhamaa <marko@pacujo.net> - 2014-06-25 17:00 +0300
      Re: How to get Timezone from latitude/longitude ? Grant Edwards <invalid@invalid.invalid> - 2014-06-25 14:24 +0000
        Re: How to get Timezone from latitude/longitude ? Ethan Furman <ethan@stoneleaf.us> - 2014-06-25 07:34 -0700
          Re: How to get Timezone from latitude/longitude ? Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-06-26 11:29 +1200
            Re: How to get Timezone from latitude/longitude ? codetarsier@gmail.com - 2014-06-26 02:24 -0700
  Re: How to get Timezone from latitude/longitude ? Akira Li <4kir4.1i@gmail.com> - 2014-06-26 00:44 +0400

csiph-web