Solved

List of timezones and GPS co-ordinates?

Posted on 2014-02-03
3
352 Views
Last Modified: 2014-02-11
Hi

I need a list of the time zones and their approx corresponding co-ordinates (LAT LONG)

If a user selects London as their time zone, I want the map to zoom out to show the UK with London in the center

It doesn't have to be exact, just a rough idea of LAT and LONG
0
Comment
Question by:websss
  • 2
3 Comments
 
LVL 19

Expert Comment

by:regmigrant
ID: 39829488
If you want this for a commercial website you will have to pay a license but here are some resources which offer something close

http://stackoverflow.com/questions/7155918/list-of-major-cities-with-latitude-longitude-and-timezone

https://developers.google.com/maps/documentation/timezone/
0
 

Author Comment

by:websss
ID: 39831771
Thanks
However i need it the other way around
Instead of passing in a lat and long and returning time zone, i want to pass in time zone and return lat and long

or just simply have a rough set of co-ordinates assigned to each of these options:
<select name="ctl00$cbmAdminUserTimezone" id="cbmAdminUserTimezone" class="k-textbox" style="width: 207px; padding: 2px;">
	<option selected="selected" value="-1">Select</option>
	<option value="Dateline Standard Time">(UTC-12:00) International Date Line West</option>
	<option value="UTC-11">(UTC-11:00) Coordinated Universal Time-11</option>
	<option value="Hawaiian Standard Time">(UTC-10:00) Hawaii</option>
	<option value="Alaskan Standard Time">(UTC-09:00) Alaska</option>
	<option value="Pacific Standard Time (Mexico)">(UTC-08:00) Baja California</option>
	<option value="Pacific Standard Time">(UTC-08:00) Pacific Time (US &amp; Canada)</option>
	<option value="US Mountain Standard Time">(UTC-07:00) Arizona</option>
	<option value="Mountain Standard Time (Mexico)">(UTC-07:00) Chihuahua, La Paz, Mazatlan</option>
	<option value="Mountain Standard Time">(UTC-07:00) Mountain Time (US &amp; Canada)</option>
	<option value="Central America Standard Time">(UTC-06:00) Central America</option>
	<option value="Central Standard Time">(UTC-06:00) Central Time (US &amp; Canada)</option>
	<option value="Central Standard Time (Mexico)">(UTC-06:00) Guadalajara, Mexico City, Monterrey</option>
	<option value="Canada Central Standard Time">(UTC-06:00) Saskatchewan</option>
	<option value="SA Pacific Standard Time">(UTC-05:00) Bogota, Lima, Quito</option>
	<option value="Eastern Standard Time">(UTC-05:00) Eastern Time (US &amp; Canada)</option>
	<option value="US Eastern Standard Time">(UTC-05:00) Indiana (East)</option>
	<option value="Venezuela Standard Time">(UTC-04:30) Caracas</option>
	<option value="Paraguay Standard Time">(UTC-04:00) Asuncion</option>
	<option value="Atlantic Standard Time">(UTC-04:00) Atlantic Time (Canada)</option>
	<option value="Central Brazilian Standard Time">(UTC-04:00) Cuiaba</option>
	<option value="SA Western Standard Time">(UTC-04:00) Georgetown, La Paz, Manaus, San Juan</option>
	<option value="Pacific SA Standard Time">(UTC-04:00) Santiago</option>
	<option value="Newfoundland Standard Time">(UTC-03:30) Newfoundland</option>
	<option value="E. South America Standard Time">(UTC-03:00) Brasilia</option>
	<option value="Argentina Standard Time">(UTC-03:00) Buenos Aires</option>
	<option value="SA Eastern Standard Time">(UTC-03:00) Cayenne, Fortaleza</option>
	<option value="Greenland Standard Time">(UTC-03:00) Greenland</option>
	<option value="Montevideo Standard Time">(UTC-03:00) Montevideo</option>
	<option value="Bahia Standard Time">(UTC-03:00) Salvador</option>
	<option value="UTC-02">(UTC-02:00) Coordinated Universal Time-02</option>
	<option value="Mid-Atlantic Standard Time">(UTC-02:00) Mid-Atlantic - Old</option>
	<option value="Azores Standard Time">(UTC-01:00) Azores</option>
	<option value="Cape Verde Standard Time">(UTC-01:00) Cape Verde Is.</option>
	<option value="Morocco Standard Time">(UTC) Casablanca</option>
	<option value="UTC">(UTC) Coordinated Universal Time</option>
	<option value="GMT Standard Time">(UTC) Dublin, Edinburgh, Lisbon, London</option>
	<option value="Greenwich Standard Time">(UTC) Monrovia, Reykjavik</option>
	<option value="W. Europe Standard Time">(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna</option>
	<option value="Central Europe Standard Time">(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague</option>
	<option value="Romance Standard Time">(UTC+01:00) Brussels, Copenhagen, Madrid, Paris</option>
	<option value="Central European Standard Time">(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb</option>
	<option value="W. Central Africa Standard Time">(UTC+01:00) West Central Africa</option>
	<option value="Namibia Standard Time">(UTC+01:00) Windhoek</option>
	<option value="GTB Standard Time">(UTC+02:00) Athens, Bucharest</option>
	<option value="Middle East Standard Time">(UTC+02:00) Beirut</option>
	<option value="Egypt Standard Time">(UTC+02:00) Cairo</option>
	<option value="Syria Standard Time">(UTC+02:00) Damascus</option>
	<option value="E. Europe Standard Time">(UTC+02:00) E. Europe</option>
	<option value="South Africa Standard Time">(UTC+02:00) Harare, Pretoria</option>
	<option value="FLE Standard Time">(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius</option>
	<option value="Turkey Standard Time">(UTC+02:00) Istanbul</option>
	<option value="Israel Standard Time">(UTC+02:00) Jerusalem</option>
	<option value="Libya Standard Time">(UTC+02:00) Tripoli</option>
	<option value="Jordan Standard Time">(UTC+03:00) Amman</option>
	<option value="Arabic Standard Time">(UTC+03:00) Baghdad</option>
	<option value="Kaliningrad Standard Time">(UTC+03:00) Kaliningrad, Minsk</option>
	<option value="Arab Standard Time">(UTC+03:00) Kuwait, Riyadh</option>
	<option value="E. Africa Standard Time">(UTC+03:00) Nairobi</option>
	<option value="Iran Standard Time">(UTC+03:30) Tehran</option>
	<option value="Arabian Standard Time">(UTC+04:00) Abu Dhabi, Muscat</option>
	<option value="Azerbaijan Standard Time">(UTC+04:00) Baku</option>
	<option value="Russian Standard Time">(UTC+04:00) Moscow, St. Petersburg, Volgograd</option>
	<option value="Mauritius Standard Time">(UTC+04:00) Port Louis</option>
	<option value="Georgian Standard Time">(UTC+04:00) Tbilisi</option>
	<option value="Caucasus Standard Time">(UTC+04:00) Yerevan</option>
	<option value="Afghanistan Standard Time">(UTC+04:30) Kabul</option>
	<option value="West Asia Standard Time">(UTC+05:00) Ashgabat, Tashkent</option>
	<option value="Pakistan Standard Time">(UTC+05:00) Islamabad, Karachi</option>
	<option value="India Standard Time">(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi</option>
	<option value="Sri Lanka Standard Time">(UTC+05:30) Sri Jayawardenepura</option>
	<option value="Nepal Standard Time">(UTC+05:45) Kathmandu</option>
	<option value="Central Asia Standard Time">(UTC+06:00) Astana</option>
	<option value="Bangladesh Standard Time">(UTC+06:00) Dhaka</option>
	<option value="Ekaterinburg Standard Time">(UTC+06:00) Ekaterinburg</option>
	<option value="Myanmar Standard Time">(UTC+06:30) Yangon (Rangoon)</option>
	<option value="SE Asia Standard Time">(UTC+07:00) Bangkok, Hanoi, Jakarta</option>
	<option value="N. Central Asia Standard Time">(UTC+07:00) Novosibirsk</option>
	<option value="China Standard Time">(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi</option>
	<option value="North Asia Standard Time">(UTC+08:00) Krasnoyarsk</option>
	<option value="Singapore Standard Time">(UTC+08:00) Kuala Lumpur, Singapore</option>
	<option value="W. Australia Standard Time">(UTC+08:00) Perth</option>
	<option value="Taipei Standard Time">(UTC+08:00) Taipei</option>
	<option value="Ulaanbaatar Standard Time">(UTC+08:00) Ulaanbaatar</option>
	<option value="North Asia East Standard Time">(UTC+09:00) Irkutsk</option>
	<option value="Tokyo Standard Time">(UTC+09:00) Osaka, Sapporo, Tokyo</option>
	<option value="Korea Standard Time">(UTC+09:00) Seoul</option>
	<option value="Cen. Australia Standard Time">(UTC+09:30) Adelaide</option>
	<option value="AUS Central Standard Time">(UTC+09:30) Darwin</option>
	<option value="E. Australia Standard Time">(UTC+10:00) Brisbane</option>
	<option value="AUS Eastern Standard Time">(UTC+10:00) Canberra, Melbourne, Sydney</option>
	<option value="West Pacific Standard Time">(UTC+10:00) Guam, Port Moresby</option>
	<option value="Tasmania Standard Time">(UTC+10:00) Hobart</option>
	<option value="Yakutsk Standard Time">(UTC+10:00) Yakutsk</option>
	<option value="Central Pacific Standard Time">(UTC+11:00) Solomon Is., New Caledonia</option>
	<option value="Vladivostok Standard Time">(UTC+11:00) Vladivostok</option>
	<option value="New Zealand Standard Time">(UTC+12:00) Auckland, Wellington</option>
	<option value="UTC+12">(UTC+12:00) Coordinated Universal Time+12</option>
	<option value="Fiji Standard Time">(UTC+12:00) Fiji</option>
	<option value="Magadan Standard Time">(UTC+12:00) Magadan</option>
	<option value="Kamchatka Standard Time">(UTC+12:00) Petropavlovsk-Kamchatsky - Old</option>
	<option value="Tonga Standard Time">(UTC+13:00) Nuku'alofa</option>
	<option value="Samoa Standard Time">(UTC+13:00) Samoa</option>
</select>

Open in new window

0
 
LVL 19

Accepted Solution

by:
regmigrant earned 500 total points
ID: 39835878
Try the TZ database managed by Icann -  Wiki has a copy of the public domain information but you may need to do some more manipulation

http://en.wikipedia.org/wiki/Zone.tab

# This file contains a table with the following columns:
# 1.  ISO 3166 2-character country code.  See the file `iso3166.tab'.
# 2.  Latitude and longitude of the zone's principal location
#     in ISO 6709 sign-degrees-minutes-seconds format,
#     either +-DDMM+-DDDMM or +-DDMMSS+-DDDMMSS,
#     first latitude (+ is north), then longitude (+ is east).
# 3.  Zone name used in value of TZ environment variable.
# 4.  Comments; present if and only if the country has multiple rows.
#
# Columns are separated by a single tab.
# The table is sorted first by country, then an order within the country that
# (1) makes some geographical sense, and
# (2) puts the most populous zones first, where that does not contradict (1).
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I feel like more and more people want to know how to programmatically convert addresses into geospatial locations. So in this article, I will show you how you can do it with Bing Maps. I'm going to use PowerShell, which is a nice scripting language,…
Introduction This article is designed to assist GIS (Geographic Information System) and GPS (Global Positioning System) developers using ESRI ArcGIS and other spatial information management systems.   For the uninitiated the concept of projectio…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now