Last active
April 18, 2020 14:51
-
-
Save erdem/7e483293de2a0cbafe5e376f5d689596 to your computer and use it in GitHub Desktop.
Center location coordinates for timezones
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TIMEZONE_COORDINATES = { | |
'Africa/Abidjan': [8, -5], | |
'Africa/Accra': [8, -2], | |
'Africa/Addis_Ababa': [8, 38], | |
'Africa/Algiers': [28, 3], | |
'Africa/Asmara': [15, 39], | |
'Africa/Bamako': [17, -4], | |
'Africa/Bangui': [7, 21], | |
'Africa/Banjul': [13.46666666, -16.56666666], | |
'Africa/Bissau': [12, -15], | |
'Africa/Blantyre': [-13.5, 34], | |
'Africa/Brazzaville': [-1, 15], | |
'Africa/Bujumbura': [-3.5, 30], | |
'Africa/Cairo': [27, 30], | |
'Africa/Casablanca': [32, -5], | |
'Africa/Ceuta': [40, -4], | |
'Africa/Conakry': [11, -10], | |
'Africa/Dakar': [14, -14], | |
'Africa/Dar_es_Salaam': [-6, 35], | |
'Africa/Djibouti': [11.5, 43], | |
'Africa/Douala': [6, 12], | |
'Africa/El_Aaiun': [24.5, -13], | |
'Africa/Freetown': [8.5, -11.5], | |
'Africa/Gaborone': [-22, 24], | |
'Africa/Harare': [-20, 30], | |
'Africa/Johannesburg': [-29, 24], | |
'Africa/Juba': [7, 30], | |
'Africa/Kampala': [1, 32], | |
'Africa/Khartoum': [15, 30], | |
'Africa/Kigali': [-2, 30], | |
'Africa/Kinshasa': [0, 25], | |
'Africa/Lagos': [10, 8], | |
'Africa/Libreville': [-1, 11.75], | |
'Africa/Lome': [8, 1.16666666], | |
'Africa/Luanda': [-12.5, 18.5], | |
'Africa/Lubumbashi': [0, 25], | |
'Africa/Lusaka': [-15, 30], | |
'Africa/Malabo': [2, 10], | |
'Africa/Maputo': [-18.25, 35], | |
'Africa/Maseru': [-29.5, 28.5], | |
'Africa/Mbabane': [-26.5, 31.5], | |
'Africa/Mogadishu': [10, 49], | |
'Africa/Monrovia': [6.5, -9.5], | |
'Africa/Nairobi': [1, 38], | |
'Africa/Ndjamena': [15, 19], | |
'Africa/Niamey': [16, 8], | |
'Africa/Nouakchott': [20, -12], | |
'Africa/Ouagadougou': [13, -2], | |
'Africa/Porto-Novo': [9.5, 2.25], | |
'Africa/Sao_Tome': [1, 7], | |
'Africa/Tripoli': [25, 17], | |
'Africa/Tunis': [34, 9], | |
'Africa/Windhoek': [-22, 17], | |
'America/Adak': [38, -97], | |
'America/Anchorage': [38, -97], | |
'America/Anguilla': [18.25, -63.16666666], | |
'America/Antigua': [17.05, -61.8], | |
'America/Araguaina': [-10, -55], | |
'America/Argentina/Buenos_Aires': [-34, -64], | |
'America/Argentina/Catamarca': [-34, -64], | |
'America/Argentina/Cordoba': [-34, -64], | |
'America/Argentina/Jujuy': [-34, -64], | |
'America/Argentina/La_Rioja': [-34, -64], | |
'America/Argentina/Mendoza': [-34, -64], | |
'America/Argentina/Rio_Gallegos': [-34, -64], | |
'America/Argentina/Salta': [-34, -64], | |
'America/Argentina/San_Juan': [-34, -64], | |
'America/Argentina/San_Luis': [-34, -64], | |
'America/Argentina/Tucuman': [-34, -64], | |
'America/Argentina/Ushuaia': [-34, -64], | |
'America/Aruba': [12.5, -69.96666666], | |
'America/Asuncion': [-23, -58], | |
'America/Atikokan': [60, -95], | |
'America/Bahia': [-10, -55], | |
'America/Bahia_Banderas': [23, -102], | |
'America/Barbados': [13.16666666, -59.53333333], | |
'America/Belem': [-10, -55], | |
'America/Belize': [17.25, -88.75], | |
'America/Blanc-Sablon': [60, -95], | |
'America/Boa_Vista': [-10, -55], | |
'America/Bogota': [4, -72], | |
'America/Boise': [38, -97], | |
'America/Cambridge_Bay': [60, -95], | |
'America/Campo_Grande': [-10, -55], | |
'America/Cancun': [23, -102], | |
'America/Caracas': [8, -66], | |
'America/Cayenne': [4, -53], | |
'America/Cayman': [19.5, -80.5], | |
'America/Chicago': [38, -97], | |
'America/Chihuahua': [23, -102], | |
'America/Costa_Rica': [10, -84], | |
'America/Creston': [60, -95], | |
'America/Cuiaba': [-10, -55], | |
'America/Curacao': [12.116667, -68.933333], | |
'America/Danmarkshavn': [72, -40], | |
'America/Dawson': [60, -95], | |
'America/Dawson_Creek': [60, -95], | |
'America/Denver': [38, -97], | |
'America/Detroit': [38, -97], | |
'America/Dominica': [15.41666666, -61.33333333], | |
'America/Edmonton': [60, -95], | |
'America/Eirunepe': [-10, -55], | |
'America/El_Salvador': [13.83333333, -88.91666666], | |
'America/Fort_Nelson': [60, -95], | |
'America/Fortaleza': [-10, -55], | |
'America/Glace_Bay': [60, -95], | |
'America/Godthab': [72, -40], | |
'America/Goose_Bay': [60, -95], | |
'America/Grand_Turk': [21.75, -71.58333333], | |
'America/Grenada': [12.11666666, -61.66666666], | |
'America/Guadeloupe': [16.25, -61.583333], | |
'America/Guatemala': [15.5, -90.25], | |
'America/Guayaquil': [-2, -77.5], | |
'America/Guyana': [5, -59], | |
'America/Halifax': [60, -95], | |
'America/Havana': [21.5, -80], | |
'America/Hermosillo': [23, -102], | |
'America/Indiana/Indianapolis': [38, -97], | |
'America/Indiana/Knox': [38, -97], | |
'America/Indiana/Marengo': [38, -97], | |
'America/Indiana/Petersburg': [38, -97], | |
'America/Indiana/Tell_City': [38, -97], | |
'America/Indiana/Vevay': [38, -97], | |
'America/Indiana/Vincennes': [38, -97], | |
'America/Indiana/Winamac': [38, -97], | |
'America/Inuvik': [60, -95], | |
'America/Iqaluit': [60, -95], | |
'America/Jamaica': [18.25, -77.5], | |
'America/Juneau': [38, -97], | |
'America/Kentucky/Louisville': [38, -97], | |
'America/Kentucky/Monticello': [38, -97], | |
'America/La_Paz': [-17, -65], | |
'America/Lima': [-10, -76], | |
'America/Los_Angeles': [38, -97], | |
'America/Lower_Princes': [18.033333, -63.05], | |
'America/Maceio': [-10, -55], | |
'America/Managua': [13, -85], | |
'America/Manaus': [-10, -55], | |
'America/Marigot': [18.08333333, -63.95], | |
'America/Martinique': [14.666667, -61], | |
'America/Matamoros': [23, -102], | |
'America/Mazatlan': [23, -102], | |
'America/Menominee': [38, -97], | |
'America/Merida': [23, -102], | |
'America/Metlakatla': [38, -97], | |
'America/Mexico_City': [23, -102], | |
'America/Miquelon': [46.83333333, -56.33333333], | |
'America/Moncton': [60, -95], | |
'America/Monterrey': [23, -102], | |
'America/Montevideo': [-33, -56], | |
'America/Montserrat': [16.75, -62.2], | |
'America/Nassau': [24.25, -76], | |
'America/New_York': [38, -97], | |
'America/Nipigon': [60, -95], | |
'America/Nome': [38, -97], | |
'America/Noronha': [-10, -55], | |
'America/North_Dakota/Beulah': [38, -97], | |
'America/North_Dakota/Center': [38, -97], | |
'America/North_Dakota/New_Salem': [38, -97], | |
'America/Ojinaga': [23, -102], | |
'America/Panama': [9, -80], | |
'America/Pangnirtung': [60, -95], | |
'America/Paramaribo': [4, -56], | |
'America/Phoenix': [38, -97], | |
'America/Port-au-Prince': [19, -72.41666666], | |
'America/Port_of_Spain': [11, -61], | |
'America/Porto_Velho': [-10, -55], | |
'America/Puerto_Rico': [18.25, -66.5], | |
'America/Rainy_River': [60, -95], | |
'America/Rankin_Inlet': [60, -95], | |
'America/Recife': [-10, -55], | |
'America/Regina': [60, -95], | |
'America/Resolute': [60, -95], | |
'America/Rio_Branco': [-10, -55], | |
'America/Santarem': [-10, -55], | |
'America/Santiago': [-30, -71], | |
'America/Santo_Domingo': [19, -70.66666666], | |
'America/Sao_Paulo': [-10, -55], | |
'America/Scoresbysund': [72, -40], | |
'America/Sitka': [38, -97], | |
'America/St_Barthelemy': [18.5, -63.41666666], | |
'America/St_Johns': [60, -95], | |
'America/St_Kitts': [17.33333333, -62.75], | |
'America/St_Lucia': [13.88333333, -60.96666666], | |
'America/St_Thomas': [18.35, -64.933333], | |
'America/St_Vincent': [13.25, -61.2], | |
'America/Swift_Current': [60, -95], | |
'America/Tegucigalpa': [15, -86.5], | |
'America/Thule': [72, -40], | |
'America/Thunder_Bay': [60, -95], | |
'America/Tijuana': [23, -102], | |
'America/Toronto': [60, -95], | |
'America/Tortola': [18.431383, -64.62305], | |
'America/Vancouver': [60, -95], | |
'America/Whitehorse': [60, -95], | |
'America/Winnipeg': [60, -95], | |
'America/Yakutat': [38, -97], | |
'America/Yellowknife': [60, -95], | |
'Antarctica/Casey': [-90, 0], | |
'Antarctica/Davis': [-90, 0], | |
'Antarctica/DumontDUrville': [-90, 0], | |
'Antarctica/Macquarie': [-27, 133], | |
'Antarctica/Mawson': [-90, 0], | |
'Antarctica/McMurdo': [-90, 0], | |
'Antarctica/Palmer': [-90, 0], | |
'Antarctica/Rothera': [-90, 0], | |
'Antarctica/Syowa': [-90, 0], | |
'Antarctica/Troll': [-90, 0], | |
'Antarctica/Vostok': [-90, 0], | |
'Arctic/Longyearbyen': [78, 20], | |
'Asia/Aden': [15, 48], | |
'Asia/Almaty': [48, 68], | |
'Asia/Amman': [31, 36], | |
'Asia/Anadyr': [60, 100], | |
'Asia/Aqtau': [48, 68], | |
'Asia/Aqtobe': [48, 68], | |
'Asia/Ashgabat': [40, 60], | |
'Asia/Baghdad': [33, 44], | |
'Asia/Bahrain': [26, 50.55], | |
'Asia/Baku': [40.5, 47.5], | |
'Asia/Bangkok': [15, 100], | |
'Asia/Barnaul': [60, 100], | |
'Asia/Beirut': [33.83333333, 35.83333333], | |
'Asia/Bishkek': [41, 75], | |
'Asia/Brunei': [4.5, 114.66666666], | |
'Asia/Chita': [60, 100], | |
'Asia/Choibalsan': [46, 105], | |
'Asia/Colombo': [7, 81], | |
'Asia/Damascus': [35, 38], | |
'Asia/Dhaka': [24, 90], | |
'Asia/Dili': [-8.83333333, 125.91666666], | |
'Asia/Dubai': [24, 54], | |
'Asia/Dushanbe': [39, 71], | |
'Asia/Gaza': [31.9, 35.2], | |
'Asia/Hebron': [31.9, 35.2], | |
'Asia/Ho_Chi_Minh': [16.16666666, 107.83333333], | |
'Asia/Hong_Kong': [22.267, 114.188], | |
'Asia/Hovd': [46, 105], | |
'Asia/Irkutsk': [60, 100], | |
'Asia/Jakarta': [-5, 120], | |
'Asia/Jayapura': [-5, 120], | |
'Asia/Jerusalem': [31.47, 35.13], | |
'Asia/Kabul': [33, 65], | |
'Asia/Kamchatka': [60, 100], | |
'Asia/Karachi': [30, 70], | |
'Asia/Kathmandu': [28, 84], | |
'Asia/Khandyga': [60, 100], | |
'Asia/Kolkata': [20, 77], | |
'Asia/Krasnoyarsk': [60, 100], | |
'Asia/Kuala_Lumpur': [2.5, 112.5], | |
'Asia/Kuching': [2.5, 112.5], | |
'Asia/Kuwait': [29.5, 45.75], | |
'Asia/Macau': [22.16666666, 113.55], | |
'Asia/Magadan': [60, 100], | |
'Asia/Makassar': [-5, 120], | |
'Asia/Manila': [13, 122], | |
'Asia/Muscat': [21, 57], | |
'Asia/Nicosia': [35, 33], | |
'Asia/Novokuznetsk': [60, 100], | |
'Asia/Novosibirsk': [60, 100], | |
'Asia/Omsk': [60, 100], | |
'Asia/Oral': [48, 68], | |
'Asia/Phnom_Penh': [13, 105], | |
'Asia/Pontianak': [-5, 120], | |
'Asia/Pyongyang': [40, 127], | |
'Asia/Qatar': [25.5, 51.25], | |
'Asia/Qyzylorda': [48, 68], | |
'Asia/Rangoon': [22, 98], | |
'Asia/Riyadh': [25, 45], | |
'Asia/Sakhalin': [60, 100], | |
'Asia/Samarkand': [41, 64], | |
'Asia/Seoul': [37, 127.5], | |
'Asia/Shanghai': [35, 105], | |
'Asia/Singapore': [1.36666666, 103.8], | |
'Asia/Srednekolymsk': [60, 100], | |
'Asia/Taipei': [23.5, 121], | |
'Asia/Tashkent': [41, 64], | |
'Asia/Tbilisi': [42, 43.5], | |
'Asia/Tehran': [32, 53], | |
'Asia/Thimphu': [27.5, 90.5], | |
'Asia/Tokyo': [36, 138], | |
'Asia/Tomsk': [60, 100], | |
'Asia/Ulaanbaatar': [46, 105], | |
'Asia/Urumqi': [35, 105], | |
'Asia/Ust-Nera': [60, 100], | |
'Asia/Vientiane': [18, 105], | |
'Asia/Vladivostok': [60, 100], | |
'Asia/Yakutsk': [60, 100], | |
'Asia/Yekaterinburg': [60, 100], | |
'Asia/Yerevan': [40, 45], | |
'Atlantic/Azores': [39.5, -8], | |
'Atlantic/Bermuda': [32.33333333, -64.75], | |
'Atlantic/Canary': [40, -4], | |
'Atlantic/Cape_Verde': [16, -24], | |
'Atlantic/Faroe': [62, -7], | |
'Atlantic/Madeira': [39.5, -8], | |
'Atlantic/Reykjavik': [65, -18], | |
'Atlantic/South_Georgia': [-54.5, -37], | |
'Atlantic/Stanley': [-51.75, -59], | |
'Australia/Adelaide': [-27, 133], | |
'Australia/Brisbane': [-27, 133], | |
'Australia/Broken_Hill': [-27, 133], | |
'Australia/Currie': [-27, 133], | |
'Australia/Darwin': [-27, 133], | |
'Australia/Eucla': [-27, 133], | |
'Australia/Hobart': [-27, 133], | |
'Australia/Lindeman': [-27, 133], | |
'Australia/Lord_Howe': [-27, 133], | |
'Australia/Melbourne': [-27, 133], | |
'Australia/Perth': [-27, 133], | |
'Australia/Sydney': [-27, 133], | |
'Europe/Amsterdam': [52.5, 5.75], | |
'Europe/Andorra': [42.5, 1.5], | |
'Europe/Astrakhan': [60, 100], | |
'Europe/Athens': [39, 22], | |
'Europe/Belgrade': [44, 21], | |
'Europe/Berlin': [51, 9], | |
'Europe/Bratislava': [48.66666666, 19.5], | |
'Europe/Brussels': [50.83333333, 4], | |
'Europe/Bucharest': [46, 25], | |
'Europe/Budapest': [47, 20], | |
'Europe/Busingen': [51, 9], | |
'Europe/Chisinau': [47, 29], | |
'Europe/Copenhagen': [56, 10], | |
'Europe/Dublin': [53, -8], | |
'Europe/Gibraltar': [36.13333333, -5.35], | |
'Europe/Guernsey': [49.46666666, -2.58333333], | |
'Europe/Helsinki': [64, 26], | |
'Europe/Isle_of_Man': [54.25, -4.5], | |
'Europe/Istanbul': [39, 35], | |
'Europe/Jersey': [49.25, -2.16666666], | |
'Europe/Kaliningrad': [60, 100], | |
'Europe/Kiev': [49, 32], | |
'Europe/Kirov': [60, 100], | |
'Europe/Lisbon': [39.5, -8], | |
'Europe/Ljubljana': [46.11666666, 14.81666666], | |
'Europe/London': [54, -2], | |
'Europe/Luxembourg': [49.75, 6.16666666], | |
'Europe/Madrid': [40, -4], | |
'Europe/Malta': [35.83333333, 14.58333333], | |
'Europe/Mariehamn': [60.116667, 19.9], | |
'Europe/Minsk': [53, 28], | |
'Europe/Monaco': [43.73333333, 7.4], | |
'Europe/Moscow': [60, 100], | |
'Europe/Oslo': [62, 10], | |
'Europe/Paris': [46, 2], | |
'Europe/Podgorica': [42.5, 19.3], | |
'Europe/Prague': [49.75, 15.5], | |
'Europe/Riga': [57, 25], | |
'Europe/Rome': [42.83333333, 12.83333333], | |
'Europe/Samara': [60, 100], | |
'Europe/San_Marino': [43.76666666, 12.41666666], | |
'Europe/Sarajevo': [44, 18], | |
'Europe/Simferopol': [60, 100], | |
'Europe/Skopje': [41.83333333, 22], | |
'Europe/Sofia': [43, 25], | |
'Europe/Stockholm': [62, 15], | |
'Europe/Tallinn': [59, 26], | |
'Europe/Tirane': [41, 20], | |
'Europe/Ulyanovsk': [60, 100], | |
'Europe/Uzhgorod': [49, 32], | |
'Europe/Vaduz': [47.26666666, 9.53333333], | |
'Europe/Vatican': [41.9, 12.45], | |
'Europe/Vienna': [47.33333333, 13.33333333], | |
'Europe/Vilnius': [56, 24], | |
'Europe/Volgograd': [60, 100], | |
'Europe/Warsaw': [52, 20], | |
'Europe/Zagreb': [45.16666666, 15.5], | |
'Europe/Zaporozhye': [49, 32], | |
'Europe/Zurich': [47, 8], | |
'Indian/Antananarivo': [-20, 47], | |
'Indian/Chagos': [-6, 71.5], | |
'Indian/Christmas': [-10.5, 105.66666666], | |
'Indian/Cocos': [-12.5, 96.83333333], | |
'Indian/Comoro': [-12.16666666, 44.25], | |
'Indian/Kerguelen': [-49.25, 69.167], | |
'Indian/Mahe': [-4.58333333, 55.66666666], | |
'Indian/Maldives': [3.25, 73], | |
'Indian/Mauritius': [-20.28333333, 57.55], | |
'Indian/Mayotte': [-12.83333333, 45.16666666], | |
'Indian/Reunion': [-21.15, 55.5], | |
'Pacific/Apia': [-13.58333333, -172.33333333], | |
'Pacific/Auckland': [-41, 174], | |
'Pacific/Bougainville': [-6, 147], | |
'Pacific/Chatham': [-41, 174], | |
'Pacific/Chuuk': [6.91666666, 158.25], | |
'Pacific/Easter': [-30, -71], | |
'Pacific/Efate': [-16, 167], | |
'Pacific/Enderbury': [1.41666666, 173], | |
'Pacific/Fakaofo': [-9, -172], | |
'Pacific/Fiji': [-18, 175], | |
'Pacific/Funafuti': [-8, 178], | |
'Pacific/Galapagos': [-2, -77.5], | |
'Pacific/Gambier': [-15, -140], | |
'Pacific/Guadalcanal': [-8, 159], | |
'Pacific/Guam': [13.46666666, 144.78333333], | |
'Pacific/Honolulu': [38, -97], | |
'Pacific/Johnston': [19.2911437, 166.618332], | |
'Pacific/Kiritimati': [1.41666666, 173], | |
'Pacific/Kosrae': [6.91666666, 158.25], | |
'Pacific/Kwajalein': [9, 168], | |
'Pacific/Majuro': [9, 168], | |
'Pacific/Marquesas': [-15, -140], | |
'Pacific/Midway': [19.2911437, 166.618332], | |
'Pacific/Nauru': [-0.53333333, 166.91666666], | |
'Pacific/Niue': [-19.03333333, -169.86666666], | |
'Pacific/Norfolk': [-29.03333333, 167.95], | |
'Pacific/Noumea': [-21.5, 165.5], | |
'Pacific/Pago_Pago': [-14.33333333, -170], | |
'Pacific/Palau': [7.5, 134.5], | |
'Pacific/Pitcairn': [-25.06666666, -130.1], | |
'Pacific/Pohnpei': [6.91666666, 158.25], | |
'Pacific/Port_Moresby': [-6, 147], | |
'Pacific/Rarotonga': [-21.23333333, -159.76666666], | |
'Pacific/Saipan': [15.2, 145.75], | |
'Pacific/Tahiti': [-15, -140], | |
'Pacific/Tarawa': [1.41666666, 173], | |
'Pacific/Tongatapu': [-20, -175], | |
'Pacific/Wake': [19.2911437, 166.618332], | |
'Pacific/Wallis': [-13.3, -176.2] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exactly what I was looking for.
Thanks buddy!