geolookup 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +4 -0
- data/.travis.yml +6 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +63 -0
- data/Rakefile +6 -0
- data/geolookup.gemspec +24 -0
- data/lib/geolookup.rb +8 -0
- data/lib/geolookup/country.rb +814 -0
- data/lib/geolookup/fips.rb +10508 -0
- data/lib/geolookup/version.rb +3 -0
- data/spec/lib/country_spec.rb +15 -0
- data/spec/lib/fips_spec.rb +53 -0
- data/spec/spec_helper.rb +2 -0
- metadata +107 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f068be1edbb7d95d530a3b60f1dba5e2ba125b59
|
4
|
+
data.tar.gz: a14cedf17ad0b40ff2a861af8e06b2b0a6951986
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e3d0589641321480cc16da5c58f520d752e050dff7a0e740a25aacc25af32860150bc2c485dc24757163bc11c39dfbbf2bd9dd58b2ebe4d7bc661982e5e33f35
|
7
|
+
data.tar.gz: cef91939b21fbc90e39fa5ab374beabfb4253ea9b68d1d326e3386d1c72db1827a96ba038f586afc110994b52afb292e3520d35a80f8b20a45499948d236024a
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 David Butler
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# Geolookup [![Build Status](https://travis-ci.org/Spokeo/geolookup.png?branch=master)](https://travis-ci.org/Spokeo/geolookup)
|
2
|
+
|
3
|
+
This gem wraps very common Geo lookups to either FIPS data or the collection of international data lookups.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'geolookup'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install geolookup
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
There are functions within fips and country_info to convert codes to Country and US states.
|
22
|
+
|
23
|
+
## Examples
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
# FIPS Examples:
|
27
|
+
#
|
28
|
+
# Code to US state abbreviation
|
29
|
+
Geolookup::FIPS.code_to_state_abbreviation(1)
|
30
|
+
# => "AL"
|
31
|
+
|
32
|
+
# Code to US state name
|
33
|
+
Geolookup::FIPS.code_to_full_name(1)
|
34
|
+
# => "Alabama"
|
35
|
+
|
36
|
+
|
37
|
+
# Country Examples:
|
38
|
+
|
39
|
+
Geolookup::Country.name_to_code("American Samoa")
|
40
|
+
# => "AS"
|
41
|
+
|
42
|
+
Geolookup::Country.code_to_name("AS")
|
43
|
+
# => "American Samoa"
|
44
|
+
|
45
|
+
Geolookup::Country.lat_long("American Samoa")
|
46
|
+
# => [ -14333300, -170000000 ]
|
47
|
+
```
|
48
|
+
|
49
|
+
For additional functions and documentation please look in geolookup/fips.rb and geolookup/country.rb.
|
50
|
+
|
51
|
+
## Contributing
|
52
|
+
|
53
|
+
1. Fork it ( http://github.com/Spokeo/geolookup/fork )
|
54
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
55
|
+
3. Write specs!
|
56
|
+
4. Commit your changes (`git commit -am 'Add some feature'`)
|
57
|
+
5. Push to the branch (`git push origin my-new-feature`)
|
58
|
+
6. Create new Pull Request
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
## Running the Specs
|
63
|
+
-> rake
|
data/Rakefile
ADDED
data/geolookup.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'geolookup/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "geolookup"
|
8
|
+
spec.version = Geolookup::VERSION
|
9
|
+
spec.authors = ["Austin Fonacier", "David Butler"]
|
10
|
+
spec.email = ["austin@spokeo.com", "dwbutler@ucla.edu"]
|
11
|
+
spec.summary = "Common geo lookups"
|
12
|
+
spec.description = "Common geo lookups"
|
13
|
+
spec.homepage = "https://github.com/spokeo/geolookup"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency 'rspec', '~> 3.0.0.beta1'
|
24
|
+
end
|
data/lib/geolookup.rb
ADDED
@@ -0,0 +1,814 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
#################################################################
|
3
|
+
# Geocode::TigerLine::Fips
|
4
|
+
#
|
5
|
+
# This module contains all the state and country lat longs,
|
6
|
+
# display names too
|
7
|
+
#
|
8
|
+
module Geolookup
|
9
|
+
|
10
|
+
module Country
|
11
|
+
|
12
|
+
def self.name_to_code(country_name)
|
13
|
+
NAME_TO_CODE[country_name.to_s.upcase]
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.code_to_name(country_code)
|
17
|
+
CODE_TO_NAME[country_code.to_s.upcase]
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.lat_long(country_name)
|
21
|
+
LAT_LONG[country_name.to_s.upcase]
|
22
|
+
end
|
23
|
+
|
24
|
+
NAME_TO_CODE = {
|
25
|
+
"AFGHANISTAN" => "AF",
|
26
|
+
"ALBANIA" => "AL",
|
27
|
+
"ALGERIA" => "DZ",
|
28
|
+
"AMERICAN SAMOA" => "AS",
|
29
|
+
"ANDORRA" => "AD",
|
30
|
+
"ANGOLA" => "AO",
|
31
|
+
"ANGUILLA" => "AI",
|
32
|
+
"ANTARCTICA" => "AQ",
|
33
|
+
"ANTIGUA AND BARBUDA" => "AG",
|
34
|
+
"ARGENTINA" => "AR",
|
35
|
+
"ARMENIA" => "AM",
|
36
|
+
"ARUBA" => "AW",
|
37
|
+
"AUSTRALIA" => "AU",
|
38
|
+
"AUSTRIA" => "AT",
|
39
|
+
"AZERBAIJAN" => "AZ",
|
40
|
+
"BAHAMAS" => "BS",
|
41
|
+
"BAHRAIN" => "BH",
|
42
|
+
"BANGLADESH" => "BD",
|
43
|
+
"BARBADOS" => "BB",
|
44
|
+
"BELARUS" => "BY",
|
45
|
+
"BELGIUM" => "BE",
|
46
|
+
"BELIZE" => "BZ",
|
47
|
+
"BENIN" => "BJ",
|
48
|
+
"BERMUDA" => "BM",
|
49
|
+
"BHUTAN" => "BT",
|
50
|
+
"BOLIVIA, PLURINATIONAL STATE OF" => "BO",
|
51
|
+
"BOLIVIA" => "BO",
|
52
|
+
"BOSNIA AND HERZEGOVINA" => "BA",
|
53
|
+
"BOTSWANA" => "BW",
|
54
|
+
"BOUVET ISLAND" => "BV",
|
55
|
+
"BRAZIL" => "BR",
|
56
|
+
"BRITISH INDIAN OCEAN TERRITORY" => "IO",
|
57
|
+
"BRUNEI DARUSSALAM" => "BN",
|
58
|
+
"BULGARIA" => "BG",
|
59
|
+
"BURKINA FASO" => "BF",
|
60
|
+
"BURUNDI" => "BI",
|
61
|
+
"CAMBODIA" => "KH",
|
62
|
+
"CAMEROON" => "CM",
|
63
|
+
"CANADA" => "CA",
|
64
|
+
"CAPE VERDE" => "CV",
|
65
|
+
"CAYMAN ISLANDS" => "KY",
|
66
|
+
"CENTRAL AFRICAN REPUBLIC" => "CF",
|
67
|
+
"CHAD" => "TD",
|
68
|
+
"CHILE" => "CL",
|
69
|
+
"CHINA" => "CN",
|
70
|
+
"CHRISTMAS ISLAND" => "CX",
|
71
|
+
"COCOS (KEELING) ISLANDS" => "CC",
|
72
|
+
"COCOS ISLANDS" => "CC",
|
73
|
+
"COLOMBIA" => "CO",
|
74
|
+
"COMOROS" => "KM",
|
75
|
+
"CONGO" => "CG",
|
76
|
+
"CONGO, THE DEMOCRATIC REPUBLIC OF THE" => "CD",
|
77
|
+
"DR CONGO" => "CD",
|
78
|
+
"COOK ISLANDS" => "CK",
|
79
|
+
"COSTA RICA" => "CR",
|
80
|
+
"CôTE D'IVOIRE" => "CI",
|
81
|
+
"CROATIA" => "HR",
|
82
|
+
"CUBA" => "CU",
|
83
|
+
"CYPRUS" => "CY",
|
84
|
+
"CZECH REPUBLIC" => "CZ",
|
85
|
+
"DENMARK" => "DK",
|
86
|
+
"DJIBOUTI" => "DJ",
|
87
|
+
"DOMINICA" => "DM",
|
88
|
+
"DOMINICAN REPUBLIC" => "DO",
|
89
|
+
"ECUADOR" => "EC",
|
90
|
+
"EGYPT" => "EG",
|
91
|
+
"EL SALVADOR" => "SV",
|
92
|
+
"EQUATORIAL GUINEA" => "GQ",
|
93
|
+
"ERITREA" => "ER",
|
94
|
+
"ESTONIA" => "EE",
|
95
|
+
"ETHIOPIA" => "ET",
|
96
|
+
"FALKLAND ISLANDS (MALVINAS)" => "FK",
|
97
|
+
"FALKLAND ISLANDS" => "FK",
|
98
|
+
"MALVINAS" => "FK",
|
99
|
+
"FAROE ISLANDS" => "FO",
|
100
|
+
"FIJI" => "FJ",
|
101
|
+
"FINLAND" => "FI",
|
102
|
+
"FRANCE" => "FR",
|
103
|
+
"FRENCH GUIANA" => "GF",
|
104
|
+
"FRENCH POLYNESIA" => "PF",
|
105
|
+
"FRENCH SOUTHERN TERRITORIES" => "TF",
|
106
|
+
"GABON" => "GA",
|
107
|
+
"GAMBIA" => "GM",
|
108
|
+
"GEORGIA" => "GE",
|
109
|
+
"GERMANY" => "DE",
|
110
|
+
"GHANA" => "GH",
|
111
|
+
"GIBRALTAR" => "GI",
|
112
|
+
"GREECE" => "GR",
|
113
|
+
"GREENLAND" => "GL",
|
114
|
+
"GRENADA" => "GD",
|
115
|
+
"GUADELOUPE" => "GP",
|
116
|
+
"GUAM" => "GU",
|
117
|
+
"GUATEMALA" => "GT",
|
118
|
+
"GUERNSEY" => "GG",
|
119
|
+
"GUINEA" => "GN",
|
120
|
+
"GUINEA-BISSAU" => "GW",
|
121
|
+
"GUYANA" => "GY",
|
122
|
+
"HAITI" => "HT",
|
123
|
+
"HEARD ISLAND AND MCDONALD ISLANDS" => "HM",
|
124
|
+
"HOLY SEE (VATICAN CITY STATE)" => "VA",
|
125
|
+
"VATICAN CITY" => "VA",
|
126
|
+
"HONDURAS" => "HN",
|
127
|
+
"HONG KONG" => "HK",
|
128
|
+
"HUNGARY" => "HU",
|
129
|
+
"ICELAND" => "IS",
|
130
|
+
"INDIA" => "IN",
|
131
|
+
"INDONESIA" => "ID",
|
132
|
+
"IRAN, ISLAMIC REPUBLIC OF" => "IR",
|
133
|
+
"IRAN" => "IR",
|
134
|
+
"IRAQ" => "IQ",
|
135
|
+
"IRELAND" => "IE",
|
136
|
+
"ISLE OF MAN" => "IM",
|
137
|
+
"ISRAEL" => "IL",
|
138
|
+
"ITALY" => "IT",
|
139
|
+
"JAMAICA" => "JM",
|
140
|
+
"JAPAN" => "JP",
|
141
|
+
"JERSEY" => "JE",
|
142
|
+
"JORDAN" => "JO",
|
143
|
+
"KAZAKHSTAN" => "KZ",
|
144
|
+
"KENYA" => "KE",
|
145
|
+
"KIRIBATI" => "KI",
|
146
|
+
"KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF" => "KP",
|
147
|
+
"NORTH KOREA" => "KP",
|
148
|
+
"KOREA, REPUBLIC OF" => "KR",
|
149
|
+
"SOUTH KOREA" => "KR",
|
150
|
+
"REPUBLIC OF KOREA" => "KR",
|
151
|
+
"KUWAIT" => "KW",
|
152
|
+
"KYRGYZSTAN" => "KG",
|
153
|
+
"LAO PEOPLE'S DEMOCRATIC REPUBLIC" => "LA",
|
154
|
+
"LAOS" => "LA",
|
155
|
+
"LATVIA" => "LV",
|
156
|
+
"LEBANON" => "LB",
|
157
|
+
"LESOTHO" => "LS",
|
158
|
+
"LIBERIA" => "LR",
|
159
|
+
"LIBYAN ARAB JAMAHIRIYA" => "LY",
|
160
|
+
"LIBYA" => "LY",
|
161
|
+
"LIECHTENSTEIN" => "LI",
|
162
|
+
"LITHUANIA" => "LT",
|
163
|
+
"LUXEMBOURG" => "LU",
|
164
|
+
"MACAO" => "MO",
|
165
|
+
"MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF" => "MK",
|
166
|
+
"MACEDONIA" => "MK",
|
167
|
+
"MADAGASCAR" => "MG",
|
168
|
+
"MALAWI" => "MW",
|
169
|
+
"MALAYSIA" => "MY",
|
170
|
+
"MALDIVES" => "MV",
|
171
|
+
"MALI" => "ML",
|
172
|
+
"MALTA" => "MT",
|
173
|
+
"MARSHALL ISLANDS" => "MH",
|
174
|
+
"MARTINIQUE" => "MQ",
|
175
|
+
"MAURITANIA" => "MR",
|
176
|
+
"MAURITIUS" => "MU",
|
177
|
+
"MAYOTTE" => "YT",
|
178
|
+
"MEXICO" => "MX",
|
179
|
+
"MICRONESIA, FEDERATED STATES OF" => "FM",
|
180
|
+
"MICRONESIA" => "FM",
|
181
|
+
"MOLDOVA, REPUBLIC OF" => "MD",
|
182
|
+
"MOLDOVA" => "MD",
|
183
|
+
"MONACO" => "MC",
|
184
|
+
"MONGOLIA" => "MN",
|
185
|
+
"MONTENEGRO" => "ME",
|
186
|
+
"MONTSERRAT" => "MS",
|
187
|
+
"MOROCCO" => "MA",
|
188
|
+
"MOZAMBIQUE" => "MZ",
|
189
|
+
"MYANMAR" => "MM",
|
190
|
+
"NAMIBIA" => "NA",
|
191
|
+
"NAURU" => "NR",
|
192
|
+
"NEPAL" => "NP",
|
193
|
+
"NETHERLANDS" => "NL",
|
194
|
+
"NETHERLAND" => "NL",
|
195
|
+
"NETHERLANDS ANTILLES" => "AN",
|
196
|
+
"NEW CALEDONIA" => "NC",
|
197
|
+
"NEW ZEALAND" => "NZ",
|
198
|
+
"NICARAGUA" => "NI",
|
199
|
+
"NIGER" => "NE",
|
200
|
+
"NIGERIA" => "NG",
|
201
|
+
"NIUE" => "NU",
|
202
|
+
"NORFOLK ISLAND" => "NF",
|
203
|
+
"NORTHERN MARIANA ISLANDS" => "MP",
|
204
|
+
"NORWAY" => "NO",
|
205
|
+
"OMAN" => "OM",
|
206
|
+
"PAKISTAN" => "PK",
|
207
|
+
"PALAU" => "PW",
|
208
|
+
"PALESTINIAN TERRITORY, OCCUPIED" => "PS",
|
209
|
+
"PALESTINE" => "PS",
|
210
|
+
"PANAMA" => "PA",
|
211
|
+
"PAPUA NEW GUINEA" => "PG",
|
212
|
+
"NEW GUINEA" => "PG",
|
213
|
+
"PARAGUAY" => "PY",
|
214
|
+
"PERU" => "PE",
|
215
|
+
"PHILIPPINES" => "PH",
|
216
|
+
"PITCAIRN" => "PN",
|
217
|
+
"POLAND" => "PL",
|
218
|
+
"PORTUGAL" => "PT",
|
219
|
+
"PUERTO RICO" => "PR",
|
220
|
+
"QATAR" => "QA",
|
221
|
+
"RéUNION" => "RE",
|
222
|
+
"ROMANIA" => "RO",
|
223
|
+
"RUSSIAN FEDERATION" => "RU",
|
224
|
+
"RUSSIA" => "RU",
|
225
|
+
"RWANDA" => "RW",
|
226
|
+
"SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA" => "SH",
|
227
|
+
"SAINT HELENA" => "SH",
|
228
|
+
"SAINT KITTS AND NEVIS" => "KN",
|
229
|
+
"SAINT LUCIA" => "LC",
|
230
|
+
"SAINT PIERRE AND MIQUELON" => "PM",
|
231
|
+
"SAINT VINCENT AND THE GRENADINES" => "VC",
|
232
|
+
"SAMOA" => "WS",
|
233
|
+
"SAN MARINO" => "SM",
|
234
|
+
"SAO TOME AND PRINCIPE" => "ST",
|
235
|
+
"SAUDI ARABIA" => "SA",
|
236
|
+
"SENEGAL" => "SN",
|
237
|
+
"SERBIA" => "RS",
|
238
|
+
"SEYCHELLES" => "SC",
|
239
|
+
"SIERRA LEONE" => "SL",
|
240
|
+
"SINGAPORE" => "SG",
|
241
|
+
"SLOVAKIA" => "SK",
|
242
|
+
"SLOVENIA" => "SI",
|
243
|
+
"SOLOMON ISLANDS" => "SB",
|
244
|
+
"SOMALIA" => "SO",
|
245
|
+
"SOUTH AFRICA" => "ZA",
|
246
|
+
"SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS" => "GS",
|
247
|
+
"SPAIN" => "ES",
|
248
|
+
"SRI LANKA" => "LK",
|
249
|
+
"SUDAN" => "SD",
|
250
|
+
"SURINAME" => "SR",
|
251
|
+
"SVALBARD AND JAN MAYEN" => "SJ",
|
252
|
+
"SWAZILAND" => "SZ",
|
253
|
+
"SWEDEN" => "SE",
|
254
|
+
"SWITZERLAND" => "CH",
|
255
|
+
"SYRIAN ARAB REPUBLIC" => "SY",
|
256
|
+
"SYRIA" => "SY",
|
257
|
+
"TAIWAN, PROVINCE OF CHINA" => "TW",
|
258
|
+
"TAIWAN" => "TW",
|
259
|
+
"TAJIKISTAN" => "TJ",
|
260
|
+
"TANZANIA, UNITED REPUBLIC OF" => "TZ",
|
261
|
+
"TANZANIA" => "TZ",
|
262
|
+
"THAILAND" => "TH",
|
263
|
+
"TIMOR-LESTE" => "TL",
|
264
|
+
"TOGO" => "TG",
|
265
|
+
"TOKELAU" => "TK",
|
266
|
+
"TONGA" => "TO",
|
267
|
+
"TRINIDAD AND TOBAGO" => "TT",
|
268
|
+
"TUNISIA" => "TN",
|
269
|
+
"TURKEY" => "TR",
|
270
|
+
"TURKMENISTAN" => "TM",
|
271
|
+
"TURKS AND CAICOS ISLANDS" => "TC",
|
272
|
+
"TUVALU" => "TV",
|
273
|
+
"UGANDA" => "UG",
|
274
|
+
"UKRAINE" => "UA",
|
275
|
+
"UNITED ARAB EMIRATES" => "AE",
|
276
|
+
"UNITED KINGDOM" => "GB",
|
277
|
+
"UNITED STATES" => "US",
|
278
|
+
"USA" => "US",
|
279
|
+
"UNITED STATES MINOR OUTLYING ISLANDS" => "UM",
|
280
|
+
"URUGUAY" => "UY",
|
281
|
+
"UZBEKISTAN" => "UZ",
|
282
|
+
"VANUATU" => "VU",
|
283
|
+
"VENEZUELA, BOLIVARIAN REPUBLIC OF" => "VE",
|
284
|
+
"VIET NAM" => "VN",
|
285
|
+
"VIETNAM" => "VN",
|
286
|
+
"VIRGIN ISLANDS, BRITISH" => "VG",
|
287
|
+
"VIRGIN ISLANDS, U.S." => "VI",
|
288
|
+
"WALLIS AND FUTUNA" => "WF",
|
289
|
+
"WESTERN SAHARA" => "EH",
|
290
|
+
"YEMEN" => "YE",
|
291
|
+
"ZAMBIA" => "ZM",
|
292
|
+
"ZIMBABWE" => "ZW",
|
293
|
+
}
|
294
|
+
|
295
|
+
CODE_TO_NAME = {
|
296
|
+
"AF" => "Afghanistan",
|
297
|
+
"AL" => "Albania",
|
298
|
+
"DZ" => "Algeria",
|
299
|
+
"AS" => "American Samoa",
|
300
|
+
"AD" => "Andorra",
|
301
|
+
"AO" => "Angola",
|
302
|
+
"AI" => "Anguilla",
|
303
|
+
"AQ" => "Antarctica",
|
304
|
+
"AG" => "Antigua And Barbuda",
|
305
|
+
"AR" => "Argentina",
|
306
|
+
"AM" => "Armenia",
|
307
|
+
"AW" => "Aruba",
|
308
|
+
"AU" => "Australia",
|
309
|
+
"AT" => "Austria",
|
310
|
+
"AZ" => "Azerbaijan",
|
311
|
+
"BS" => "Bahamas",
|
312
|
+
"BH" => "Bahrain",
|
313
|
+
"BD" => "Bangladesh",
|
314
|
+
"BB" => "Barbados",
|
315
|
+
"BY" => "Belarus",
|
316
|
+
"BE" => "Belgium",
|
317
|
+
"BZ" => "Belize",
|
318
|
+
"BJ" => "Benin",
|
319
|
+
"BM" => "Bermuda",
|
320
|
+
"BT" => "Bhutan",
|
321
|
+
"BO" => "Bolivia",
|
322
|
+
"BA" => "Bosnia And Herzegovina",
|
323
|
+
"BW" => "Botswana",
|
324
|
+
"BV" => "Bouvet Island",
|
325
|
+
"BR" => "Brazil",
|
326
|
+
"IO" => "British Indian Ocean Territory",
|
327
|
+
"BN" => "Brunei Darussalam",
|
328
|
+
"BG" => "Bulgaria",
|
329
|
+
"BF" => "Burkina Faso",
|
330
|
+
"BI" => "Burundi",
|
331
|
+
"KH" => "Cambodia",
|
332
|
+
"CM" => "Cameroon",
|
333
|
+
"CA" => "Canada",
|
334
|
+
"CV" => "Cape Verde",
|
335
|
+
"KY" => "Cayman Islands",
|
336
|
+
"CF" => "Central African Republic",
|
337
|
+
"TD" => "Chad",
|
338
|
+
"CL" => "Chile",
|
339
|
+
"CN" => "China",
|
340
|
+
"CX" => "Christmas Island",
|
341
|
+
"CC" => "Cocos Islands",
|
342
|
+
"CO" => "Colombia",
|
343
|
+
"KM" => "Comoros",
|
344
|
+
"CG" => "Congo",
|
345
|
+
"CD" => "DR Congo",
|
346
|
+
"CK" => "Cook Islands",
|
347
|
+
"CR" => "Costa Rica",
|
348
|
+
"CI" => "Côte D'Ivoire",
|
349
|
+
"HR" => "Croatia",
|
350
|
+
"CU" => "Cuba",
|
351
|
+
"CY" => "Cyprus",
|
352
|
+
"CZ" => "Czech Republic",
|
353
|
+
"DK" => "Denmark",
|
354
|
+
"DJ" => "Djibouti",
|
355
|
+
"DM" => "Dominica",
|
356
|
+
"DO" => "Dominican Republic",
|
357
|
+
"EC" => "Ecuador",
|
358
|
+
"EG" => "Egypt",
|
359
|
+
"SV" => "El Salvador",
|
360
|
+
"GQ" => "Equatorial Guinea",
|
361
|
+
"ER" => "Eritrea",
|
362
|
+
"EE" => "Estonia",
|
363
|
+
"ET" => "Ethiopia",
|
364
|
+
"FK" => "Falkland Islands",
|
365
|
+
"FO" => "Faroe Islands",
|
366
|
+
"FJ" => "Fiji",
|
367
|
+
"FI" => "Finland",
|
368
|
+
"FR" => "France",
|
369
|
+
"GF" => "French Guiana",
|
370
|
+
"PF" => "French Polynesia",
|
371
|
+
"TF" => "French Southern Territories",
|
372
|
+
"GA" => "Gabon",
|
373
|
+
"GM" => "Gambia",
|
374
|
+
"GE" => "Georgia",
|
375
|
+
"DE" => "Germany",
|
376
|
+
"GH" => "Ghana",
|
377
|
+
"GI" => "Gibraltar",
|
378
|
+
"GR" => "Greece",
|
379
|
+
"GL" => "Greenland",
|
380
|
+
"GD" => "Grenada",
|
381
|
+
"GP" => "Guadeloupe",
|
382
|
+
"GU" => "Guam",
|
383
|
+
"GT" => "Guatemala",
|
384
|
+
"GG" => "Guernsey",
|
385
|
+
"GN" => "Guinea",
|
386
|
+
"GW" => "Guinea Bissau",
|
387
|
+
"GY" => "Guyana",
|
388
|
+
"HT" => "Haiti",
|
389
|
+
"HM" => "Heard Island And Mc Donald Islands",
|
390
|
+
"VA" => "Vatican City",
|
391
|
+
"HN" => "Honduras",
|
392
|
+
"HK" => "Hong Kong",
|
393
|
+
"HU" => "Hungary",
|
394
|
+
"IS" => "Iceland",
|
395
|
+
"IN" => "India",
|
396
|
+
"ID" => "Indonesia",
|
397
|
+
"IR" => "Iran",
|
398
|
+
"IQ" => "Iraq",
|
399
|
+
"IE" => "Ireland",
|
400
|
+
"IM" => "Isle Of Man",
|
401
|
+
"IL" => "Israel",
|
402
|
+
"IT" => "Italy",
|
403
|
+
"JM" => "Jamaica",
|
404
|
+
"JP" => "Japan",
|
405
|
+
"JE" => "Jersey",
|
406
|
+
"JO" => "Jordan",
|
407
|
+
"KZ" => "Kazakhstan",
|
408
|
+
"KE" => "Kenya",
|
409
|
+
"KI" => "Kiribati",
|
410
|
+
"KP" => "North Korea",
|
411
|
+
"KR" => "South Korea",
|
412
|
+
"KW" => "Kuwait",
|
413
|
+
"KG" => "Kyrgyzstan",
|
414
|
+
"LA" => "Laos",
|
415
|
+
"LV" => "Latvia",
|
416
|
+
"LB" => "Lebanon",
|
417
|
+
"LS" => "Lesotho",
|
418
|
+
"LR" => "Liberia",
|
419
|
+
"LY" => "Libya",
|
420
|
+
"LI" => "Liechtenstein",
|
421
|
+
"LT" => "Lithuania",
|
422
|
+
"LU" => "Luxembourg",
|
423
|
+
"MO" => "Macao",
|
424
|
+
"MK" => "Macedonia",
|
425
|
+
"MG" => "Madagascar",
|
426
|
+
"MW" => "Malawi",
|
427
|
+
"MY" => "Malaysia",
|
428
|
+
"MV" => "Maldives",
|
429
|
+
"ML" => "Mali",
|
430
|
+
"MT" => "Malta",
|
431
|
+
"MH" => "Marshall Islands",
|
432
|
+
"MQ" => "Martinique",
|
433
|
+
"MR" => "Mauritania",
|
434
|
+
"MU" => "Mauritius",
|
435
|
+
"YT" => "Mayotte",
|
436
|
+
"MX" => "Mexico",
|
437
|
+
"FM" => "Micronesia",
|
438
|
+
"MD" => "Moldova",
|
439
|
+
"MC" => "Monaco",
|
440
|
+
"MN" => "Mongolia",
|
441
|
+
"ME" => "Montenegro",
|
442
|
+
"MS" => "Montserrat",
|
443
|
+
"MA" => "Morocco",
|
444
|
+
"MZ" => "Mozambique",
|
445
|
+
"MM" => "Myanmar",
|
446
|
+
"NA" => "Namibia",
|
447
|
+
"NR" => "Nauru",
|
448
|
+
"NP" => "Nepal",
|
449
|
+
"NL" => "Netherlands",
|
450
|
+
"AN" => "Netherlands Antilles",
|
451
|
+
"NC" => "New Caledonia",
|
452
|
+
"NZ" => "New Zealand",
|
453
|
+
"NI" => "Nicaragua",
|
454
|
+
"NE" => "Niger",
|
455
|
+
"NG" => "Nigeria",
|
456
|
+
"NU" => "Niue",
|
457
|
+
"NF" => "Norfolk Island",
|
458
|
+
"MP" => "Northern Mariana Islands",
|
459
|
+
"NO" => "Norway",
|
460
|
+
"OM" => "Oman",
|
461
|
+
"PK" => "Pakistan",
|
462
|
+
"PW" => "Palau",
|
463
|
+
"PS" => "Palestine",
|
464
|
+
"PA" => "Panama",
|
465
|
+
"PG" => "New Guinea",
|
466
|
+
"PY" => "Paraguay",
|
467
|
+
"PE" => "Peru",
|
468
|
+
"PH" => "Philippines",
|
469
|
+
"PN" => "Pitcairn",
|
470
|
+
"PL" => "Poland",
|
471
|
+
"PT" => "Portugal",
|
472
|
+
"PR" => "Puerto Rico",
|
473
|
+
"QA" => "Qatar",
|
474
|
+
"RE" => "Réunion",
|
475
|
+
"RO" => "Romania",
|
476
|
+
"RU" => "Russia",
|
477
|
+
"RW" => "Rwanda",
|
478
|
+
"SH" => "Saint Helena",
|
479
|
+
"KN" => "Saint Kitts And Nevis",
|
480
|
+
"LC" => "Saint Lucia",
|
481
|
+
"PM" => "Saint Pierre And Miquelon",
|
482
|
+
"VC" => "Saint Vincent And The Grenadines",
|
483
|
+
"WS" => "Samoa",
|
484
|
+
"SM" => "San Marino",
|
485
|
+
"ST" => "Sao Tome And Principe",
|
486
|
+
"SA" => "Saudi Arabia",
|
487
|
+
"SN" => "Senegal",
|
488
|
+
"RS" => "Serbia",
|
489
|
+
"SC" => "Seychelles",
|
490
|
+
"SL" => "Sierra Leone",
|
491
|
+
"SG" => "Singapore",
|
492
|
+
"SK" => "Slovakia",
|
493
|
+
"SI" => "Slovenia",
|
494
|
+
"SB" => "Solomon Islands",
|
495
|
+
"SO" => "Somalia",
|
496
|
+
"ZA" => "South Africa",
|
497
|
+
"GS" => "South Georgia And The South Sandwich Islands",
|
498
|
+
"ES" => "Spain",
|
499
|
+
"LK" => "Sri Lanka",
|
500
|
+
"SD" => "Sudan",
|
501
|
+
"SR" => "Suriname",
|
502
|
+
"SJ" => "Svalbard And Jan Mayen",
|
503
|
+
"SZ" => "Swaziland",
|
504
|
+
"SE" => "Sweden",
|
505
|
+
"CH" => "Switzerland",
|
506
|
+
"SY" => "Syria",
|
507
|
+
"TW" => "Taiwan",
|
508
|
+
"TJ" => "Tajikistan",
|
509
|
+
"TZ" => "Tanzania",
|
510
|
+
"TH" => "Thailand",
|
511
|
+
"TL" => "Timor Leste",
|
512
|
+
"TG" => "Togo",
|
513
|
+
"TK" => "Tokelau",
|
514
|
+
"TO" => "Tonga",
|
515
|
+
"TT" => "Trinidad And Tobago",
|
516
|
+
"TN" => "Tunisia",
|
517
|
+
"TR" => "Turkey",
|
518
|
+
"TM" => "Turkmenistan",
|
519
|
+
"TC" => "Turks And Caicos Islands",
|
520
|
+
"TV" => "Tuvalu",
|
521
|
+
"UG" => "Uganda",
|
522
|
+
"UA" => "Ukraine",
|
523
|
+
"AE" => "United Arab Emirates",
|
524
|
+
"GB" => "United Kingdom",
|
525
|
+
"US" => "United States",
|
526
|
+
"UM" => "United States Minor Outlying Islands",
|
527
|
+
"UY" => "Uruguay",
|
528
|
+
"UZ" => "Uzbekistan",
|
529
|
+
"VU" => "Vanuatu",
|
530
|
+
"VE" => "Venezuela",
|
531
|
+
"VN" => "Vietnam",
|
532
|
+
"VG" => "Virgin Islands, British",
|
533
|
+
"VI" => "Virgin Islands, U.S.",
|
534
|
+
"WF" => "Wallis And Futuna",
|
535
|
+
"EH" => "Western Sahara",
|
536
|
+
"YE" => "Yemen",
|
537
|
+
"ZM" => "Zambia",
|
538
|
+
"ZW" => "Zimbabwe",
|
539
|
+
}
|
540
|
+
|
541
|
+
LAT_LONG = {
|
542
|
+
"AFGHANISTAN" => [ 33000000, 65000000 ],
|
543
|
+
"ALBANIA" => [ 41000000, 20000000 ],
|
544
|
+
"ALGERIA" => [ 28000000, 3000000 ],
|
545
|
+
"AMERICAN SAMOA" => [ -14333300, -170000000 ],
|
546
|
+
"ANDORRA" => [ 42500000, 1600000 ],
|
547
|
+
"ANGOLA" => [ -12500000, 18500000 ],
|
548
|
+
"ANGUILLA" => [ 18250000, -63166700 ],
|
549
|
+
"ANTARCTICA" => [ -90000000, ],
|
550
|
+
"ANTIGUA AND BARBUDA" => [ 17050000, -61800000 ],
|
551
|
+
"ARGENTINA" => [ -34000000, -64000000 ],
|
552
|
+
"ARMENIA" => [ 40000000, 45000000 ],
|
553
|
+
"ARUBA" => [ 12500000, -69966700 ],
|
554
|
+
"AUSTRALIA" => [ -27000000, 133000000 ],
|
555
|
+
"AUSTRIA" => [ 47333300, 13333300 ],
|
556
|
+
"AZERBAIJAN" => [ 40500000, 47500000 ],
|
557
|
+
"BAHAMAS" => [ 24250000, -76000000 ],
|
558
|
+
"BAHRAIN" => [ 26000000, 50550000 ],
|
559
|
+
"BANGLADESH" => [ 24000000, 90000000 ],
|
560
|
+
"BARBADOS" => [ 13166700, -59533300 ],
|
561
|
+
"BELARUS" => [ 53000000, 28000000 ],
|
562
|
+
"BELGIUM" => [ 50833300, 4000000 ],
|
563
|
+
"BELIZE" => [ 17250000, -88750000 ],
|
564
|
+
"BENIN" => [ 9500000, 2250000 ],
|
565
|
+
"BERMUDA" => [ 32333300, -64750000 ],
|
566
|
+
"BHUTAN" => [ 27500000, 90500000 ],
|
567
|
+
"BOLIVIA, PLURINATIONAL STATE OF" => [ -17000000, -65000000 ],
|
568
|
+
"BOLIVIA" => [ -17000000, -65000000 ],
|
569
|
+
"BOSNIA AND HERZEGOVINA" => [ 44000000, 18000000 ],
|
570
|
+
"BOTSWANA" => [ -22000000, 24000000 ],
|
571
|
+
"BOUVET ISLAND" => [ -54433300, 3400000 ],
|
572
|
+
"BRAZIL" => [ -10000000, -55000000 ],
|
573
|
+
"BRITISH INDIAN OCEAN TERRITORY" => [ -6000000, 71500000 ],
|
574
|
+
"BRUNEI DARUSSALAM" => [ 4500000, 114666700 ],
|
575
|
+
"BULGARIA" => [ 43000000, 25000000 ],
|
576
|
+
"BURKINA FASO" => [ 13000000, -2000000 ],
|
577
|
+
"BURUNDI" => [ -3500000, 30000000 ],
|
578
|
+
"CAMBODIA" => [ 13000000, 105000000 ],
|
579
|
+
"CAMEROON" => [ 6000000, 12000000 ],
|
580
|
+
"CANADA" => [ 60000000, -95000000 ],
|
581
|
+
"CAPE VERDE" => [ 16000000, -24000000 ],
|
582
|
+
"CAYMAN ISLANDS" => [ 19500000, -80500000 ],
|
583
|
+
"CENTRAL AFRICAN REPUBLIC" => [ 7000000, 21000000 ],
|
584
|
+
"CHAD" => [ 15000000, 19000000 ],
|
585
|
+
"CHILE" => [ -30000000, -71000000 ],
|
586
|
+
"CHINA" => [ 35000000, 105000000 ],
|
587
|
+
"CHRISTMAS ISLAND" => [ -10500000, 105666700 ],
|
588
|
+
"COCOS (KEELING) ISLANDS" => [ -12500000, 96833300 ],
|
589
|
+
"COCOS ISLANDS" => [ -12500000, 96833300 ],
|
590
|
+
"COLOMBIA" => [ 4000000, -72000000 ],
|
591
|
+
"COMOROS" => [ -12166700, 44250000 ],
|
592
|
+
"CONGO" => [ -1000000, 15000000 ],
|
593
|
+
"CONGO, THE DEMOCRATIC REPUBLIC OF THE" => [ 0, 25000000 ],
|
594
|
+
"DR CONGO" => [ 0, 25000000 ],
|
595
|
+
"COOK ISLANDS" => [ -21233300, -159766700 ],
|
596
|
+
"COSTA RICA" => [ 10000000, -84000000 ],
|
597
|
+
"CôTE D'IVOIRE" => [ 8000000, -5000000 ],
|
598
|
+
"CROATIA" => [ 45166700, 15500000 ],
|
599
|
+
"CUBA" => [ 21500000, -80000000 ],
|
600
|
+
"CYPRUS" => [ 35000000, 33000000 ],
|
601
|
+
"CZECH REPUBLIC" => [ 49750000, 15500000 ],
|
602
|
+
"DENMARK" => [ 56000000, 10000000 ],
|
603
|
+
"DJIBOUTI" => [ 11500000, 43000000 ],
|
604
|
+
"DOMINICA" => [ 15416700, -61333300 ],
|
605
|
+
"DOMINICAN REPUBLIC" => [ 19000000, -70666700 ],
|
606
|
+
"ECUADOR" => [ -2000000, -77500000 ],
|
607
|
+
"EGYPT" => [ 27000000, 30000000 ],
|
608
|
+
"EL SALVADOR" => [ 13833300, -88916700 ],
|
609
|
+
"EQUATORIAL GUINEA" => [ 2000000, 10000000 ],
|
610
|
+
"ERITREA" => [ 15000000, 39000000 ],
|
611
|
+
"ESTONIA" => [ 59000000, 26000000 ],
|
612
|
+
"ETHIOPIA" => [ 8000000, 38000000 ],
|
613
|
+
"FALKLAND ISLANDS (MALVINAS)" => [ -51750000, -59000000 ],
|
614
|
+
"FALKLAND ISLANDS" => [ -51750000, -59000000 ],
|
615
|
+
"MALVINAS" => [ -51750000, -59000000 ],
|
616
|
+
"FAROE ISLANDS" => [ 62000000, -7000000 ],
|
617
|
+
"FIJI" => [ -18000000, 175000000 ],
|
618
|
+
"FINLAND" => [ 64000000, 26000000 ],
|
619
|
+
"FRANCE" => [ 46000000, 2000000 ],
|
620
|
+
"FRENCH GUIANA" => [ 4000000, -53000000 ],
|
621
|
+
"FRENCH POLYNESIA" => [ -15000000, -140000000 ],
|
622
|
+
"FRENCH SOUTHERN TERRITORIES" => [ -43000000, 67000000 ],
|
623
|
+
"GABON" => [ -1000000, 11750000 ],
|
624
|
+
"GAMBIA" => [ 13466700, -16566700 ],
|
625
|
+
"GEORGIA" => [ 42000000, 43500000 ],
|
626
|
+
"GERMANY" => [ 51000000, 9000000 ],
|
627
|
+
"GHANA" => [ 8000000, -2000000 ],
|
628
|
+
"GIBRALTAR" => [ 36183300, -5366700 ],
|
629
|
+
"GREECE" => [ 39000000, 22000000 ],
|
630
|
+
"GREENLAND" => [ 72000000, -40000000 ],
|
631
|
+
"GRENADA" => [ 12116700, -61666700 ],
|
632
|
+
"GUADELOUPE" => [ 16250000, -61583300 ],
|
633
|
+
"GUAM" => [ 13466700, 144783300 ],
|
634
|
+
"GUATEMALA" => [ 15500000, -90250000 ],
|
635
|
+
"GUERNSEY" => [ 49500000, -2560000 ],
|
636
|
+
"GUINEA" => [ 11000000, -10000000 ],
|
637
|
+
"GUINEA-BISSAU" => [ 12000000, -15000000 ],
|
638
|
+
"GUYANA" => [ 5000000, -59000000 ],
|
639
|
+
"HAITI" => [ 19000000, -72416700 ],
|
640
|
+
"HEARD ISLAND AND MCDONALD ISLANDS" => [ -53100000, 72516700 ],
|
641
|
+
"HOLY SEE (VATICAN CITY STATE)" => [ 41900000, 12450000 ],
|
642
|
+
"VATICAN CITY" => [ 41900000, 12450000 ],
|
643
|
+
"HONDURAS" => [ 15000000, -86500000 ],
|
644
|
+
"HONG KONG" => [ 22250000, 114166700 ],
|
645
|
+
"HUNGARY" => [ 47000000, 20000000 ],
|
646
|
+
"ICELAND" => [ 65000000, -18000000 ],
|
647
|
+
"INDIA" => [ 20000000, 77000000 ],
|
648
|
+
"INDONESIA" => [ -5000000, 120000000 ],
|
649
|
+
"IRAN, ISLAMIC REPUBLIC OF" => [ 32000000, 53000000 ],
|
650
|
+
"IRAN" => [ 32000000, 53000000 ],
|
651
|
+
"IRAQ" => [ 33000000, 44000000 ],
|
652
|
+
"IRELAND" => [ 53000000, -8000000 ],
|
653
|
+
"ISLE OF MAN" => [ 54230000, -4550000 ],
|
654
|
+
"ISRAEL" => [ 31500000, 34750000 ],
|
655
|
+
"ITALY" => [ 42833300, 12833300 ],
|
656
|
+
"JAMAICA" => [ 18250000, -77500000 ],
|
657
|
+
"JAPAN" => [ 36000000, 138000000 ],
|
658
|
+
"JERSEY" => [ 49210000, -2130000 ],
|
659
|
+
"JORDAN" => [ 31000000, 36000000 ],
|
660
|
+
"KAZAKHSTAN" => [ 48000000, 68000000 ],
|
661
|
+
"KENYA" => [ 1000000, 38000000 ],
|
662
|
+
"KIRIBATI" => [ 1416700, 173000000 ],
|
663
|
+
"KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF" => [ 40000000, 127000000 ],
|
664
|
+
"NORTH KOREA" => [ 40000000, 127000000 ],
|
665
|
+
"KOREA, REPUBLIC OF" => [ 37000000, 127500000 ],
|
666
|
+
"SOUTH KOREA" => [ 37000000, 127500000 ],
|
667
|
+
"REPUBLIC OF KOREA" => [ 37000000, 127500000 ],
|
668
|
+
"KUWAIT" => [ 29337500, 47658100 ],
|
669
|
+
"KYRGYZSTAN" => [ 41000000, 75000000 ],
|
670
|
+
"LAO PEOPLE'S DEMOCRATIC REPUBLIC" => [ 18000000, 105000000 ],
|
671
|
+
"LAOS" => [ 18000000, 105000000 ],
|
672
|
+
"LATVIA" => [ 57000000, 25000000 ],
|
673
|
+
"LEBANON" => [ 33833300, 35833300 ],
|
674
|
+
"LESOTHO" => [ -29500000, 28500000 ],
|
675
|
+
"LIBERIA" => [ 6500000, -9500000 ],
|
676
|
+
"LIBYAN ARAB JAMAHIRIYA" => [ 25000000, 17000000 ],
|
677
|
+
"LIBYA" => [ 25000000, 17000000 ],
|
678
|
+
"LIECHTENSTEIN" => [ 47166700, 9533300 ],
|
679
|
+
"LITHUANIA" => [ 56000000, 24000000 ],
|
680
|
+
"LUXEMBOURG" => [ 49750000, 6166700 ],
|
681
|
+
"MACAO" => [ 22166700, 113550000 ],
|
682
|
+
"MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF" => [ 41833300, 22000000 ],
|
683
|
+
"MACEDONA" => [ 41833300, 22000000 ],
|
684
|
+
"MADAGASCAR" => [ -20000000, 47000000 ],
|
685
|
+
"MALAWI" => [ -13500000, 34000000 ],
|
686
|
+
"MALAYSIA" => [ 2500000, 112500000 ],
|
687
|
+
"MALDIVES" => [ 3250000, 73000000 ],
|
688
|
+
"MALI" => [ 17000000, -4000000 ],
|
689
|
+
"MALTA" => [ 35833300, 14583300 ],
|
690
|
+
"MARSHALL ISLANDS" => [ 9000000, 168000000 ],
|
691
|
+
"MARTINIQUE" => [ 14666700, -61000000 ],
|
692
|
+
"MAURITANIA" => [ 20000000, -12000000 ],
|
693
|
+
"MAURITIUS" => [ -20283300, 57550000 ],
|
694
|
+
"MAYOTTE" => [ -12833300, 45166700 ],
|
695
|
+
"MEXICO" => [ 23000000, -102000000 ],
|
696
|
+
"MICRONESIA, FEDERATED STATES OF" => [ 6916700, 158250000 ],
|
697
|
+
"MICRONESIA" => [ 6916700, 158250000 ],
|
698
|
+
"MOLDOVA, REPUBLIC OF" => [ 47000000, 29000000 ],
|
699
|
+
"MOLDOVA" => [ 47000000, 29000000 ],
|
700
|
+
"MONACO" => [ 43733300, 7400000 ],
|
701
|
+
"MONGOLIA" => [ 46000000, 105000000 ],
|
702
|
+
"MONTENEGRO" => [ 42000000, 19000000 ],
|
703
|
+
"MONTSERRAT" => [ 16750000, -62200000 ],
|
704
|
+
"MOROCCO" => [ 32000000, -5000000 ],
|
705
|
+
"MOZAMBIQUE" => [ -18250000, 35000000 ],
|
706
|
+
"MYANMAR" => [ 22000000, 98000000 ],
|
707
|
+
"NAMIBIA" => [ -22000000, 17000000 ],
|
708
|
+
"NAURU" => [ -533300, 166916700 ],
|
709
|
+
"NEPAL" => [ 28000000, 84000000 ],
|
710
|
+
"NETHERLANDS" => [ 52500000, 5750000 ],
|
711
|
+
"NETHERLAND" => [ 52500000, 5750000 ],
|
712
|
+
"NETHERLANDS ANTILLES" => [ 12250000, -68750000 ],
|
713
|
+
"NEW CALEDONIA" => [ -21500000, 165500000 ],
|
714
|
+
"NEW ZEALAND" => [ -41000000, 174000000 ],
|
715
|
+
"NICARAGUA" => [ 13000000, -85000000 ],
|
716
|
+
"NIGER" => [ 16000000, 8000000 ],
|
717
|
+
"NIGERIA" => [ 10000000, 8000000 ],
|
718
|
+
"NIUE" => [ -19033300, -169866700 ],
|
719
|
+
"NORFOLK ISLAND" => [ -29033300, 167950000 ],
|
720
|
+
"NORTHERN MARIANA ISLANDS" => [ 15200000, 145750000 ],
|
721
|
+
"NORWAY" => [ 62000000, 10000000 ],
|
722
|
+
"OMAN" => [ 21000000, 57000000 ],
|
723
|
+
"PAKISTAN" => [ 30000000, 70000000 ],
|
724
|
+
"PALAU" => [ 7500000, 134500000 ],
|
725
|
+
"PALESTINIAN TERRITORY, OCCUPIED" => [ 32000000, 35250000 ],
|
726
|
+
"PALESTINE" => [ 32000000, 35250000 ],
|
727
|
+
"PANAMA" => [ 9000000, -80000000 ],
|
728
|
+
"PAPUA NEW GUINEA" => [ -6000000, 147000000 ],
|
729
|
+
"NEW GUINEA" => [ -6000000, 147000000 ],
|
730
|
+
"PARAGUAY" => [ -23000000, -58000000 ],
|
731
|
+
"PERU" => [ -10000000, -76000000 ],
|
732
|
+
"PHILIPPINES" => [ 13000000, 122000000 ],
|
733
|
+
"PITCAIRN" => [ -24700000, -127400000 ],
|
734
|
+
"POLAND" => [ 52000000, 20000000 ],
|
735
|
+
"PORTUGAL" => [ 39500000, -8000000 ],
|
736
|
+
"PUERTO RICO" => [ 18250000, -66500000 ],
|
737
|
+
"QATAR" => [ 25500000, 51250000 ],
|
738
|
+
"RéUNION" => [ -21100000, 55600000 ],
|
739
|
+
"ROMANIA" => [ 46000000, 25000000 ],
|
740
|
+
"RUSSIAN FEDERATION" => [ 60000000, 100000000 ],
|
741
|
+
"RUSSIA" => [ 60000000, 100000000 ],
|
742
|
+
"RWANDA" => [ -2000000, 30000000 ],
|
743
|
+
"SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA" => [ -15933300, -5700000 ],
|
744
|
+
"SAINT HELENA" => [ -15933300, -5700000 ],
|
745
|
+
"SAINT KITTS AND NEVIS" => [ 17333300, -62750000 ],
|
746
|
+
"SAINT LUCIA" => [ 13883300, -61133300 ],
|
747
|
+
"SAINT PIERRE AND MIQUELON" => [ 46833300, -56333300 ],
|
748
|
+
"SAINT VINCENT AND THE GRENADINES" => [ 13250000, -61200000 ],
|
749
|
+
"SAMOA" => [ -13583300, -172333300 ],
|
750
|
+
"SAN MARINO" => [ 43766700, 12416700 ],
|
751
|
+
"SAO TOME AND PRINCIPE" => [ 1000000, 7000000 ],
|
752
|
+
"SAUDI ARABIA" => [ 25000000, 45000000 ],
|
753
|
+
"SENEGAL" => [ 14000000, -14000000 ],
|
754
|
+
"SERBIA" => [ 44000000, 21000000 ],
|
755
|
+
"SEYCHELLES" => [ -4583300, 55666700 ],
|
756
|
+
"SIERRA LEONE" => [ 8500000, -11500000 ],
|
757
|
+
"SINGAPORE" => [ 1366700, 103800000 ],
|
758
|
+
"SLOVAKIA" => [ 48666700, 19500000 ],
|
759
|
+
"SLOVENIA" => [ 46000000, 15000000 ],
|
760
|
+
"SOLOMON ISLANDS" => [ -8000000, 159000000 ],
|
761
|
+
"SOMALIA" => [ 10000000, 49000000 ],
|
762
|
+
"SOUTH AFRICA" => [ -29000000, 24000000 ],
|
763
|
+
"SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS" => [ -54500000, -37000000 ],
|
764
|
+
"SPAIN" => [ 40000000, -4000000 ],
|
765
|
+
"SRI LANKA" => [ 7000000, 81000000 ],
|
766
|
+
"SUDAN" => [ 15000000, 30000000 ],
|
767
|
+
"SURINAME" => [ 4000000, -56000000 ],
|
768
|
+
"SVALBARD AND JAN MAYEN" => [ 78000000, 20000000 ],
|
769
|
+
"SWAZILAND" => [ -26500000, 31500000 ],
|
770
|
+
"SWEDEN" => [ 62000000, 15000000 ],
|
771
|
+
"SWITZERLAND" => [ 47000000, 8000000 ],
|
772
|
+
"SYRIAN ARAB REPUBLIC" => [ 35000000, 38000000 ],
|
773
|
+
"SYRIA" => [ 35000000, 38000000 ],
|
774
|
+
"TAIWAN, PROVINCE OF CHINA" => [ 23500000, 121000000 ],
|
775
|
+
"TAIWAN" => [ 23500000, 121000000 ],
|
776
|
+
"TAJIKISTAN" => [ 39000000, 71000000 ],
|
777
|
+
"TANZANIA, UNITED REPUBLIC OF" => [ -6000000, 35000000 ],
|
778
|
+
"TANZANIA" => [ -6000000, 35000000 ],
|
779
|
+
"THAILAND" => [ 15000000, 100000000 ],
|
780
|
+
"TIMOR-LESTE" => [ -8550000, 125516700 ],
|
781
|
+
"TOGO" => [ 8000000, 1166700 ],
|
782
|
+
"TOKELAU" => [ -9000000, -172000000 ],
|
783
|
+
"TONGA" => [ -20000000, -175000000 ],
|
784
|
+
"TRINIDAD AND TOBAGO" => [ 11000000, -61000000 ],
|
785
|
+
"TUNISIA" => [ 34000000, 9000000 ],
|
786
|
+
"TURKEY" => [ 39000000, 35000000 ],
|
787
|
+
"TURKMENISTAN" => [ 40000000, 60000000 ],
|
788
|
+
"TURKS AND CAICOS ISLANDS" => [ 21750000, -71583300 ],
|
789
|
+
"TUVALU" => [ -8000000, 178000000 ],
|
790
|
+
"UGANDA" => [ 1000000, 32000000 ],
|
791
|
+
"UKRAINE" => [ 49000000, 32000000 ],
|
792
|
+
"UNITED ARAB EMIRATES" => [ 24000000, 54000000 ],
|
793
|
+
"UNITED KINGDOM" => [ 54000000, -2000000 ],
|
794
|
+
"UNITED STATES" => [ 38000000, -97000000 ],
|
795
|
+
"USA" => [ 38000000, -97000000 ],
|
796
|
+
"UNITED STATES MINOR OUTLYING ISLANDS" => [ 19283300, 166600000 ],
|
797
|
+
"URUGUAY" => [ -33000000, -56000000 ],
|
798
|
+
"UZBEKISTAN" => [ 41000000, 64000000 ],
|
799
|
+
"VANUATU" => [ -16000000, 167000000 ],
|
800
|
+
"VENEZUELA, BOLIVARIAN REPUBLIC OF" => [ 8000000, -66000000 ],
|
801
|
+
"VENEZUELA" => [ 8000000, -66000000 ],
|
802
|
+
"VIET NAM" => [ 16000000, 106000000 ],
|
803
|
+
"VIETNAM" => [ 16000000, 106000000 ],
|
804
|
+
"VIRGIN ISLANDS, BRITISH" => [ 18500000, -64500000 ],
|
805
|
+
"VIRGIN ISLANDS, U.S." => [ 18333300, -64833299 ],
|
806
|
+
"WALLIS AND FUTUNA" => [ -13300000, -176200000 ],
|
807
|
+
"WESTERN SAHARA" => [ 24500000, -13000000 ],
|
808
|
+
"YEMEN" => [ 15000000, 48000000 ],
|
809
|
+
"ZAMBIA" => [ -15000000, 30000000 ],
|
810
|
+
"ZIMBABWE" => [ -20000000, 30000000 ],
|
811
|
+
}
|
812
|
+
|
813
|
+
end
|
814
|
+
end
|