Coder Social home page Coder Social logo

gpstotz's Introduction

gpstotz 0.2

Given a lat, lon coordinate pair returns the appropriate timezone. Basically a Python wrapper for Eric Muller's map of timezones (http://efele.net/maps/tz/world/).

Usage

from gpstotz import gpstotz
lat = 51.50
lon = 0.12
timezone = gpstotz.gpsToTimezone(lat, lon)

Timezone boundaries

The library follows the shapely convention that boundaries are not part of the object. Thus, a measurement on the boundary of a timezone polygon is not part of the timezone.

To-Do

  • Add UTC-Offset

gpstotz's People

Contributors

cstich avatar

Stargazers

William MARTIN avatar Jinpeng Zhou avatar Will Napier avatar Kamal Gupta avatar 蹬 avatar Félix Hénon avatar Ryan Coe avatar Lucas Bento avatar Sibelius Seraphini avatar Arno Hautala avatar Helder Santana avatar DaCoEx avatar  avatar

Watchers

James Cloos avatar Félix Hénon avatar Evan Siroky avatar DaCoEx avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.