Skip to content
/ gpstotz Public

Given a lat, lon coordinate pair returns the appropriate timezone

License

Notifications You must be signed in to change notification settings

cstich/gpstotz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Given a lat, lon coordinate pair returns the appropriate timezone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published