@mailwoman/spatial 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/bbox.ts +445 -0
- package/countries/codes.ts +531 -0
- package/countries/index.ts +8 -0
- package/countries/names.ts +274 -0
- package/feature.ts +90 -0
- package/geometries/collection.ts +37 -0
- package/geometries/index.ts +12 -0
- package/geometries/line-string.ts +47 -0
- package/geometries/point.ts +419 -0
- package/geometries/polygon.ts +237 -0
- package/google/index.ts +7 -0
- package/google/place-id.ts +44 -0
- package/h3/index.ts +90 -0
- package/index.ts +16 -0
- package/objects.ts +116 -0
- package/package.json +44 -0
- package/position.ts +269 -0
- package/projection.ts +23 -0
- package/regions/codes.ts +43 -0
- package/regions/index.ts +8 -0
- package/regions/names.ts +29 -0
- package/sdk/index.ts +7 -0
- package/sdk/well-known-text.ts +86 -0
- package/tsconfig.json +15 -0
- package/typedoc.json +4 -0
|
@@ -0,0 +1,531 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright Sister Software.
|
|
3
|
+
* @license AGPL-3.0
|
|
4
|
+
* @author Teffen Ellis, et al.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { CountryName } from "./names.js"
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @category Country
|
|
11
|
+
* @title Country ISO 3166-1 Alpha-2 code
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export enum CountryISO2 {
|
|
15
|
+
"Afghanistan" = "AF",
|
|
16
|
+
"Albania" = "AL",
|
|
17
|
+
"Algeria" = "DZ",
|
|
18
|
+
"American Samoa" = "AS",
|
|
19
|
+
"Andorra" = "AD",
|
|
20
|
+
"Angola" = "AO",
|
|
21
|
+
"Anguilla" = "AI",
|
|
22
|
+
"Antarctica" = "AQ",
|
|
23
|
+
"Antigua and Barbuda" = "AG",
|
|
24
|
+
"Argentina" = "AR",
|
|
25
|
+
"Armenia" = "AM",
|
|
26
|
+
"Aruba" = "AW",
|
|
27
|
+
"Australia" = "AU",
|
|
28
|
+
"Austria" = "AT",
|
|
29
|
+
"Azerbaijan" = "AZ",
|
|
30
|
+
"Bahamas" = "BS",
|
|
31
|
+
"Bahrain" = "BH",
|
|
32
|
+
"Bangladesh" = "BD",
|
|
33
|
+
"Barbados" = "BB",
|
|
34
|
+
"Belarus" = "BY",
|
|
35
|
+
"Belgium" = "BE",
|
|
36
|
+
"Belize" = "BZ",
|
|
37
|
+
"Benin" = "BJ",
|
|
38
|
+
"Bermuda" = "BM",
|
|
39
|
+
"Bhutan" = "BT",
|
|
40
|
+
"Bolivia" = "BO",
|
|
41
|
+
"Bonaire, Sint Eustatius and Saba" = "BQ",
|
|
42
|
+
"Bosnia and Herzegovina" = "BA",
|
|
43
|
+
"Botswana" = "BW",
|
|
44
|
+
"Bouvet Island" = "BV",
|
|
45
|
+
"Brazil" = "BR",
|
|
46
|
+
"British Indian Ocean Territory" = "IO",
|
|
47
|
+
"Brunei Darussalam" = "BN",
|
|
48
|
+
"Bulgaria" = "BG",
|
|
49
|
+
"Burkina Faso" = "BF",
|
|
50
|
+
"Burundi" = "BI",
|
|
51
|
+
"Cambodia" = "KH",
|
|
52
|
+
"Cameroon" = "CM",
|
|
53
|
+
"Canada" = "CA",
|
|
54
|
+
"Cape Verde" = "CV",
|
|
55
|
+
"Cayman Islands" = "KY",
|
|
56
|
+
"Central African Republic" = "CF",
|
|
57
|
+
"Chad" = "TD",
|
|
58
|
+
"Chile" = "CL",
|
|
59
|
+
"China" = "CN",
|
|
60
|
+
"Christmas Island" = "CX",
|
|
61
|
+
"Cocos (Keeling) Islands" = "CC",
|
|
62
|
+
"Colombia" = "CO",
|
|
63
|
+
"Comoros" = "KM",
|
|
64
|
+
"Congo" = "CG",
|
|
65
|
+
"Congo, the Democratic Republic of the" = "CD",
|
|
66
|
+
"Cook Islands" = "CK",
|
|
67
|
+
"Costa Rica" = "CR",
|
|
68
|
+
"Cote DIvoire" = "CI",
|
|
69
|
+
"Croatia" = "HR",
|
|
70
|
+
"Cuba" = "CU",
|
|
71
|
+
"Curaçao" = "CW",
|
|
72
|
+
"Cyprus" = "CY",
|
|
73
|
+
"Czech Republic" = "CZ",
|
|
74
|
+
"Denmark" = "DK",
|
|
75
|
+
"Djibouti" = "DJ",
|
|
76
|
+
"Dominica" = "DM",
|
|
77
|
+
"Dominican Republic" = "DO",
|
|
78
|
+
"Ecuador" = "EC",
|
|
79
|
+
"Egypt" = "EG",
|
|
80
|
+
"El Salvador" = "SV",
|
|
81
|
+
"Equatorial Guinea" = "GQ",
|
|
82
|
+
"Eritrea" = "ER",
|
|
83
|
+
"Estonia" = "EE",
|
|
84
|
+
"Ethiopia" = "ET",
|
|
85
|
+
"Falkland Islands (Malvinas)" = "FK",
|
|
86
|
+
"Faroe Islands" = "FO",
|
|
87
|
+
"Fiji" = "FJ",
|
|
88
|
+
"Finland" = "FI",
|
|
89
|
+
"France" = "FR",
|
|
90
|
+
"French Guiana" = "GF",
|
|
91
|
+
"French Polynesia" = "PF",
|
|
92
|
+
"French Southern Territories" = "TF",
|
|
93
|
+
"Gabon" = "GA",
|
|
94
|
+
"Gambia" = "GM",
|
|
95
|
+
"Georgia" = "GE",
|
|
96
|
+
"Germany" = "DE",
|
|
97
|
+
"Ghana" = "GH",
|
|
98
|
+
"Gibraltar" = "GI",
|
|
99
|
+
"Greece" = "GR",
|
|
100
|
+
"Greenland" = "GL",
|
|
101
|
+
"Grenada" = "GD",
|
|
102
|
+
"Guadeloupe" = "GP",
|
|
103
|
+
"Guam" = "GU",
|
|
104
|
+
"Guatemala" = "GT",
|
|
105
|
+
"Guernsey" = "GG",
|
|
106
|
+
"Guinea" = "GN",
|
|
107
|
+
"Guinea-Bissau" = "GW",
|
|
108
|
+
"Guyana" = "GY",
|
|
109
|
+
"Haiti" = "HT",
|
|
110
|
+
"Heard Island and Mcdonald Islands" = "HM",
|
|
111
|
+
"Holy See (Vatican City State)" = "VA",
|
|
112
|
+
"Honduras" = "HN",
|
|
113
|
+
"Hong Kong" = "HK",
|
|
114
|
+
"Hungary" = "HU",
|
|
115
|
+
"Iceland" = "IS",
|
|
116
|
+
"India" = "IN",
|
|
117
|
+
"Indonesia" = "ID",
|
|
118
|
+
"Iran, Islamic Republic of" = "IR",
|
|
119
|
+
"Iraq" = "IQ",
|
|
120
|
+
"Ireland" = "IE",
|
|
121
|
+
"Isle of Man" = "IM",
|
|
122
|
+
"Israel" = "IL",
|
|
123
|
+
"Italy" = "IT",
|
|
124
|
+
"Jamaica" = "JM",
|
|
125
|
+
"Japan" = "JP",
|
|
126
|
+
"Jersey" = "JE",
|
|
127
|
+
"Jordan" = "JO",
|
|
128
|
+
"Kazakhstan" = "KZ",
|
|
129
|
+
"Kenya" = "KE",
|
|
130
|
+
"Kiribati" = "KI",
|
|
131
|
+
"Korea, Democratic People's Republic of" = "KP",
|
|
132
|
+
"Korea, Republic of" = "KR",
|
|
133
|
+
"Kuwait" = "KW",
|
|
134
|
+
"Kyrgyzstan" = "KG",
|
|
135
|
+
"Lao People's Democratic Republic" = "LA",
|
|
136
|
+
"Latvia" = "LV",
|
|
137
|
+
"Lebanon" = "LB",
|
|
138
|
+
"Lesotho" = "LS",
|
|
139
|
+
"Liberia" = "LR",
|
|
140
|
+
"Libya" = "LY",
|
|
141
|
+
"Liechtenstein" = "LI",
|
|
142
|
+
"Lithuania" = "LT",
|
|
143
|
+
"Luxembourg" = "LU",
|
|
144
|
+
"Macao" = "MO",
|
|
145
|
+
"Macedonia, the Former Yugoslav Republic of" = "MK",
|
|
146
|
+
"Madagascar" = "MG",
|
|
147
|
+
"Malawi" = "MW",
|
|
148
|
+
"Malaysia" = "MY",
|
|
149
|
+
"Maldives" = "MV",
|
|
150
|
+
"Mali" = "ML",
|
|
151
|
+
"Malta" = "MT",
|
|
152
|
+
"Marshall Islands" = "MH",
|
|
153
|
+
"Martinique" = "MQ",
|
|
154
|
+
"Mauritania" = "MR",
|
|
155
|
+
"Mauritius" = "MU",
|
|
156
|
+
"Mayotte" = "YT",
|
|
157
|
+
"Mexico" = "MX",
|
|
158
|
+
"Micronesia, Federated States of" = "FM",
|
|
159
|
+
"Moldova, Republic of" = "MD",
|
|
160
|
+
"Monaco" = "MC",
|
|
161
|
+
"Mongolia" = "MN",
|
|
162
|
+
"Montenegro" = "ME",
|
|
163
|
+
"Montserrat" = "MS",
|
|
164
|
+
"Morocco" = "MA",
|
|
165
|
+
"Mozambique" = "MZ",
|
|
166
|
+
"Myanmar" = "MM",
|
|
167
|
+
"Namibia" = "NA",
|
|
168
|
+
"Nauru" = "NR",
|
|
169
|
+
"Nepal" = "NP",
|
|
170
|
+
"Netherlands" = "NL",
|
|
171
|
+
"New Caledonia" = "NC",
|
|
172
|
+
"New Zealand" = "NZ",
|
|
173
|
+
"Nicaragua" = "NI",
|
|
174
|
+
"Niger" = "NE",
|
|
175
|
+
"Nigeria" = "NG",
|
|
176
|
+
"Niue" = "NU",
|
|
177
|
+
"Norfolk Island" = "NF",
|
|
178
|
+
"Northern Mariana Islands" = "MP",
|
|
179
|
+
"Norway" = "NO",
|
|
180
|
+
"Oman" = "OM",
|
|
181
|
+
"Pakistan" = "PK",
|
|
182
|
+
"Palau" = "PW",
|
|
183
|
+
"Palestine, State of" = "PS",
|
|
184
|
+
"Panama" = "PA",
|
|
185
|
+
"Papua New Guinea" = "PG",
|
|
186
|
+
"Paraguay" = "PY",
|
|
187
|
+
"Peru" = "PE",
|
|
188
|
+
"Philippines" = "PH",
|
|
189
|
+
"Pitcairn" = "PN",
|
|
190
|
+
"Poland" = "PL",
|
|
191
|
+
"Portugal" = "PT",
|
|
192
|
+
"Puerto Rico" = "PR",
|
|
193
|
+
"Qatar" = "QA",
|
|
194
|
+
"Reunion" = "RE",
|
|
195
|
+
"Romania" = "RO",
|
|
196
|
+
"Russian Federation" = "RU",
|
|
197
|
+
"Rwanda" = "RW",
|
|
198
|
+
"Saint Barthélemy" = "BL",
|
|
199
|
+
"Saint Helena, Ascension and Tristan da Cunha" = "SH",
|
|
200
|
+
"Saint Kitts and Nevis" = "KN",
|
|
201
|
+
"Saint Lucia" = "LC",
|
|
202
|
+
"Saint Martin (French part)" = "MF",
|
|
203
|
+
"Saint Pierre and Miquelon" = "PM",
|
|
204
|
+
"Saint Vincent and the Grenadines" = "VC",
|
|
205
|
+
"Samoa" = "WS",
|
|
206
|
+
"San Marino" = "SM",
|
|
207
|
+
"Sao Tome and Principe" = "ST",
|
|
208
|
+
"Saudi Arabia" = "SA",
|
|
209
|
+
"Senegal" = "SN",
|
|
210
|
+
"Serbia" = "RS",
|
|
211
|
+
"Seychelles" = "SC",
|
|
212
|
+
"Sierra Leone" = "SL",
|
|
213
|
+
"Singapore" = "SG",
|
|
214
|
+
"Sint Maarten (Dutch part)" = "SX",
|
|
215
|
+
"Slovakia" = "SK",
|
|
216
|
+
"Slovenia" = "SI",
|
|
217
|
+
"Solomon Islands" = "SB",
|
|
218
|
+
"Somalia" = "SO",
|
|
219
|
+
"South Africa" = "ZA",
|
|
220
|
+
"South Georgia and the South Sandwich Islands" = "GS",
|
|
221
|
+
"South Sudan" = "SS",
|
|
222
|
+
"Spain" = "ES",
|
|
223
|
+
"Sri Lanka" = "LK",
|
|
224
|
+
"Sudan" = "SD",
|
|
225
|
+
"Suriname" = "SR",
|
|
226
|
+
"Svalbard and Jan Mayen" = "SJ",
|
|
227
|
+
"Swaziland" = "SZ",
|
|
228
|
+
"Sweden" = "SE",
|
|
229
|
+
"Switzerland" = "CH",
|
|
230
|
+
"Syrian Arab Republic" = "SY",
|
|
231
|
+
"Taiwan (Province of China)" = "TW",
|
|
232
|
+
"Tajikistan" = "TJ",
|
|
233
|
+
"Tanzania, United Republic of" = "TZ",
|
|
234
|
+
"Thailand" = "TH",
|
|
235
|
+
"Timor-Leste" = "TL",
|
|
236
|
+
"Togo" = "TG",
|
|
237
|
+
"Tokelau" = "TK",
|
|
238
|
+
"Tonga" = "TO",
|
|
239
|
+
"Trinidad and Tobago" = "TT",
|
|
240
|
+
"Tunisia" = "TN",
|
|
241
|
+
"Turkey" = "TR",
|
|
242
|
+
"Turkmenistan" = "TM",
|
|
243
|
+
"Turks and Caicos Islands" = "TC",
|
|
244
|
+
"Tuvalu" = "TV",
|
|
245
|
+
"Uganda" = "UG",
|
|
246
|
+
"Ukraine" = "UA",
|
|
247
|
+
"United Arab Emirates" = "AE",
|
|
248
|
+
"United Kingdom" = "GB",
|
|
249
|
+
"United States" = "US",
|
|
250
|
+
"United States Minor Outlying Islands" = "UM",
|
|
251
|
+
"Uruguay" = "UY",
|
|
252
|
+
"Uzbekistan" = "UZ",
|
|
253
|
+
"Vanuatu" = "VU",
|
|
254
|
+
"Venezuela" = "VE",
|
|
255
|
+
"Viet Nam" = "VN",
|
|
256
|
+
"Virgin Islands (British)" = "VG",
|
|
257
|
+
"Virgin Islands (U.S.)" = "VI",
|
|
258
|
+
"Wallis and Futuna" = "WF",
|
|
259
|
+
"Western Sahara" = "EH",
|
|
260
|
+
"Yemen" = "YE",
|
|
261
|
+
"Zambia" = "ZM",
|
|
262
|
+
"Zimbabwe" = "ZW",
|
|
263
|
+
"Åland Islands" = "AX",
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* ISO 3166-1 alpha-3 country codes to country names.
|
|
267
|
+
*
|
|
268
|
+
* @internal
|
|
269
|
+
* @title Country ISO 3166-1 Alpha-3 Code
|
|
270
|
+
*/
|
|
271
|
+
export const Alpha3ToCountryRecord = {
|
|
272
|
+
AFG: "Afghanistan",
|
|
273
|
+
ALB: "Albania",
|
|
274
|
+
DZA: "Algeria",
|
|
275
|
+
ASM: "American Samoa",
|
|
276
|
+
AND: "Andorra",
|
|
277
|
+
AGO: "Angola",
|
|
278
|
+
AIA: "Anguilla",
|
|
279
|
+
ATA: "Antarctica",
|
|
280
|
+
ATG: "Antigua and Barbuda",
|
|
281
|
+
ARG: "Argentina",
|
|
282
|
+
ARM: "Armenia",
|
|
283
|
+
ABW: "Aruba",
|
|
284
|
+
AUS: "Australia",
|
|
285
|
+
AUT: "Austria",
|
|
286
|
+
AZE: "Azerbaijan",
|
|
287
|
+
BHS: "Bahamas",
|
|
288
|
+
BHR: "Bahrain",
|
|
289
|
+
BGD: "Bangladesh",
|
|
290
|
+
BRB: "Barbados",
|
|
291
|
+
BLR: "Belarus",
|
|
292
|
+
BEL: "Belgium",
|
|
293
|
+
BLZ: "Belize",
|
|
294
|
+
BEN: "Benin",
|
|
295
|
+
BMU: "Bermuda",
|
|
296
|
+
BTN: "Bhutan",
|
|
297
|
+
BOL: "Bolivia",
|
|
298
|
+
BES: "Bonaire, Sint Eustatius and Saba",
|
|
299
|
+
BIH: "Bosnia and Herzegovina",
|
|
300
|
+
BWA: "Botswana",
|
|
301
|
+
BVT: "Bouvet Island",
|
|
302
|
+
BRA: "Brazil",
|
|
303
|
+
IOT: "British Indian Ocean Territory",
|
|
304
|
+
BRN: "Brunei Darussalam",
|
|
305
|
+
BGR: "Bulgaria",
|
|
306
|
+
BFA: "Burkina Faso",
|
|
307
|
+
BDI: "Burundi",
|
|
308
|
+
KHM: "Cambodia",
|
|
309
|
+
CMR: "Cameroon",
|
|
310
|
+
CAN: "Canada",
|
|
311
|
+
CPV: "Cape Verde",
|
|
312
|
+
CYM: "Cayman Islands",
|
|
313
|
+
CAF: "Central African Republic",
|
|
314
|
+
TCD: "Chad",
|
|
315
|
+
CHL: "Chile",
|
|
316
|
+
CHN: "China",
|
|
317
|
+
CXR: "Christmas Island",
|
|
318
|
+
CCK: "Cocos (Keeling) Islands",
|
|
319
|
+
COL: "Colombia",
|
|
320
|
+
COM: "Comoros",
|
|
321
|
+
COG: "Congo",
|
|
322
|
+
COD: "Congo, the Democratic Republic of the",
|
|
323
|
+
COK: "Cook Islands",
|
|
324
|
+
CRI: "Costa Rica",
|
|
325
|
+
CIV: "Cote DIvoire",
|
|
326
|
+
HRV: "Croatia",
|
|
327
|
+
CUB: "Cuba",
|
|
328
|
+
CUW: "Curaçao",
|
|
329
|
+
CYP: "Cyprus",
|
|
330
|
+
CZE: "Czech Republic",
|
|
331
|
+
DNK: "Denmark",
|
|
332
|
+
DJI: "Djibouti",
|
|
333
|
+
DMA: "Dominica",
|
|
334
|
+
DOM: "Dominican Republic",
|
|
335
|
+
ECU: "Ecuador",
|
|
336
|
+
EGY: "Egypt",
|
|
337
|
+
SLV: "El Salvador",
|
|
338
|
+
GNQ: "Equatorial Guinea",
|
|
339
|
+
ERI: "Eritrea",
|
|
340
|
+
EST: "Estonia",
|
|
341
|
+
ETH: "Ethiopia",
|
|
342
|
+
FLK: "Falkland Islands (Malvinas)",
|
|
343
|
+
FRO: "Faroe Islands",
|
|
344
|
+
FJI: "Fiji",
|
|
345
|
+
FIN: "Finland",
|
|
346
|
+
FRA: "France",
|
|
347
|
+
GUF: "French Guiana",
|
|
348
|
+
PYF: "French Polynesia",
|
|
349
|
+
ATF: "French Southern Territories",
|
|
350
|
+
GAB: "Gabon",
|
|
351
|
+
GMB: "Gambia",
|
|
352
|
+
GEO: "Georgia",
|
|
353
|
+
DEU: "Germany",
|
|
354
|
+
GHA: "Ghana",
|
|
355
|
+
GIB: "Gibraltar",
|
|
356
|
+
GRC: "Greece",
|
|
357
|
+
GRL: "Greenland",
|
|
358
|
+
GRD: "Grenada",
|
|
359
|
+
GLP: "Guadeloupe",
|
|
360
|
+
GUM: "Guam",
|
|
361
|
+
GTM: "Guatemala",
|
|
362
|
+
GGY: "Guernsey",
|
|
363
|
+
GIN: "Guinea",
|
|
364
|
+
GNB: "Guinea-Bissau",
|
|
365
|
+
GUY: "Guyana",
|
|
366
|
+
HTI: "Haiti",
|
|
367
|
+
HMD: "Heard Island and Mcdonald Islands",
|
|
368
|
+
VAT: "Holy See (Vatican City State)",
|
|
369
|
+
HND: "Honduras",
|
|
370
|
+
HKG: "Hong Kong",
|
|
371
|
+
HUN: "Hungary",
|
|
372
|
+
ISL: "Iceland",
|
|
373
|
+
IND: "India",
|
|
374
|
+
IDN: "Indonesia",
|
|
375
|
+
IRN: "Iran, Islamic Republic of",
|
|
376
|
+
IRQ: "Iraq",
|
|
377
|
+
IRL: "Ireland",
|
|
378
|
+
IMN: "Isle of Man",
|
|
379
|
+
ISR: "Israel",
|
|
380
|
+
ITA: "Italy",
|
|
381
|
+
JAM: "Jamaica",
|
|
382
|
+
JPN: "Japan",
|
|
383
|
+
JEY: "Jersey",
|
|
384
|
+
JOR: "Jordan",
|
|
385
|
+
KAZ: "Kazakhstan",
|
|
386
|
+
KEN: "Kenya",
|
|
387
|
+
KIR: "Kiribati",
|
|
388
|
+
PRK: "Korea, Democratic People's Republic of",
|
|
389
|
+
KOR: "Korea, Republic of",
|
|
390
|
+
KWT: "Kuwait",
|
|
391
|
+
KGZ: "Kyrgyzstan",
|
|
392
|
+
LAO: "Lao People's Democratic Republic",
|
|
393
|
+
LVA: "Latvia",
|
|
394
|
+
LBN: "Lebanon",
|
|
395
|
+
LSO: "Lesotho",
|
|
396
|
+
LBR: "Liberia",
|
|
397
|
+
LBY: "Libya",
|
|
398
|
+
LIE: "Liechtenstein",
|
|
399
|
+
LTU: "Lithuania",
|
|
400
|
+
LUX: "Luxembourg",
|
|
401
|
+
MAC: "Macao",
|
|
402
|
+
MKD: "Macedonia, the Former Yugoslav Republic of",
|
|
403
|
+
MDG: "Madagascar",
|
|
404
|
+
MWI: "Malawi",
|
|
405
|
+
MYS: "Malaysia",
|
|
406
|
+
MDV: "Maldives",
|
|
407
|
+
MLI: "Mali",
|
|
408
|
+
MLT: "Malta",
|
|
409
|
+
MHL: "Marshall Islands",
|
|
410
|
+
MTQ: "Martinique",
|
|
411
|
+
MRT: "Mauritania",
|
|
412
|
+
MUS: "Mauritius",
|
|
413
|
+
MYT: "Mayotte",
|
|
414
|
+
MEX: "Mexico",
|
|
415
|
+
FSM: "Micronesia, Federated States of",
|
|
416
|
+
MDA: "Moldova, Republic of",
|
|
417
|
+
MCO: "Monaco",
|
|
418
|
+
MNG: "Mongolia",
|
|
419
|
+
MNE: "Montenegro",
|
|
420
|
+
MSR: "Montserrat",
|
|
421
|
+
MAR: "Morocco",
|
|
422
|
+
MOZ: "Mozambique",
|
|
423
|
+
MMR: "Myanmar",
|
|
424
|
+
NAM: "Namibia",
|
|
425
|
+
NRU: "Nauru",
|
|
426
|
+
NPL: "Nepal",
|
|
427
|
+
NLD: "Netherlands",
|
|
428
|
+
NCL: "New Caledonia",
|
|
429
|
+
NZL: "New Zealand",
|
|
430
|
+
NIC: "Nicaragua",
|
|
431
|
+
NER: "Niger",
|
|
432
|
+
NGA: "Nigeria",
|
|
433
|
+
NIU: "Niue",
|
|
434
|
+
NFK: "Norfolk Island",
|
|
435
|
+
MNP: "Northern Mariana Islands",
|
|
436
|
+
NOR: "Norway",
|
|
437
|
+
OMN: "Oman",
|
|
438
|
+
PAK: "Pakistan",
|
|
439
|
+
PLW: "Palau",
|
|
440
|
+
PSE: "Palestine, State of",
|
|
441
|
+
PAN: "Panama",
|
|
442
|
+
PNG: "Papua New Guinea",
|
|
443
|
+
PRY: "Paraguay",
|
|
444
|
+
PER: "Peru",
|
|
445
|
+
PHL: "Philippines",
|
|
446
|
+
PCN: "Pitcairn",
|
|
447
|
+
POL: "Poland",
|
|
448
|
+
PRT: "Portugal",
|
|
449
|
+
PRI: "Puerto Rico",
|
|
450
|
+
QAT: "Qatar",
|
|
451
|
+
REU: "Reunion",
|
|
452
|
+
ROM: "Romania",
|
|
453
|
+
RUS: "Russian Federation",
|
|
454
|
+
RWA: "Rwanda",
|
|
455
|
+
BLM: "Saint Barthélemy",
|
|
456
|
+
SHN: "Saint Helena, Ascension and Tristan da Cunha",
|
|
457
|
+
KNA: "Saint Kitts and Nevis",
|
|
458
|
+
LCA: "Saint Lucia",
|
|
459
|
+
MAF: "Saint Martin (French part)",
|
|
460
|
+
SPM: "Saint Pierre and Miquelon",
|
|
461
|
+
VCT: "Saint Vincent and the Grenadines",
|
|
462
|
+
WSM: "Samoa",
|
|
463
|
+
SMR: "San Marino",
|
|
464
|
+
STP: "Sao Tome and Principe",
|
|
465
|
+
SAU: "Saudi Arabia",
|
|
466
|
+
SEN: "Senegal",
|
|
467
|
+
SRB: "Serbia",
|
|
468
|
+
SYC: "Seychelles",
|
|
469
|
+
SLE: "Sierra Leone",
|
|
470
|
+
SGP: "Singapore",
|
|
471
|
+
SXM: "Sint Maarten (Dutch part)",
|
|
472
|
+
SVK: "Slovakia",
|
|
473
|
+
SVN: "Slovenia",
|
|
474
|
+
SLB: "Solomon Islands",
|
|
475
|
+
SOM: "Somalia",
|
|
476
|
+
ZAF: "South Africa",
|
|
477
|
+
SGS: "South Georgia and the South Sandwich Islands",
|
|
478
|
+
SSD: "South Sudan",
|
|
479
|
+
ESP: "Spain",
|
|
480
|
+
LKA: "Sri Lanka",
|
|
481
|
+
SDN: "Sudan",
|
|
482
|
+
SUR: "Suriname",
|
|
483
|
+
SJM: "Svalbard and Jan Mayen",
|
|
484
|
+
SWZ: "Swaziland",
|
|
485
|
+
SWE: "Sweden",
|
|
486
|
+
CHE: "Switzerland",
|
|
487
|
+
SYR: "Syrian Arab Republic",
|
|
488
|
+
TWN: "Taiwan (Province of China)",
|
|
489
|
+
TJK: "Tajikistan",
|
|
490
|
+
TZA: "Tanzania, United Republic of",
|
|
491
|
+
THA: "Thailand",
|
|
492
|
+
TLS: "Timor-Leste",
|
|
493
|
+
TGO: "Togo",
|
|
494
|
+
TKL: "Tokelau",
|
|
495
|
+
TON: "Tonga",
|
|
496
|
+
TTO: "Trinidad and Tobago",
|
|
497
|
+
TUN: "Tunisia",
|
|
498
|
+
TUR: "Turkey",
|
|
499
|
+
TKM: "Turkmenistan",
|
|
500
|
+
TCA: "Turks and Caicos Islands",
|
|
501
|
+
TUV: "Tuvalu",
|
|
502
|
+
UGA: "Uganda",
|
|
503
|
+
UKR: "Ukraine",
|
|
504
|
+
ARE: "United Arab Emirates",
|
|
505
|
+
GBR: "United Kingdom",
|
|
506
|
+
USA: "United States",
|
|
507
|
+
UMI: "United States Minor Outlying Islands",
|
|
508
|
+
URY: "Uruguay",
|
|
509
|
+
UZB: "Uzbekistan",
|
|
510
|
+
VUT: "Vanuatu",
|
|
511
|
+
VEN: "Venezuela",
|
|
512
|
+
VNM: "Viet Nam",
|
|
513
|
+
VGB: "Virgin Islands (British)",
|
|
514
|
+
VIR: "Virgin Islands (U.S.)",
|
|
515
|
+
WLF: "Wallis and Futuna",
|
|
516
|
+
ESH: "Western Sahara",
|
|
517
|
+
YEM: "Yemen",
|
|
518
|
+
ZMB: "Zambia",
|
|
519
|
+
ZWE: "Zimbabwe",
|
|
520
|
+
ALA: "Åland Islands",
|
|
521
|
+
} as const satisfies Record<string, CountryName>
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* ISO 3166-1 alpha-3 country code.
|
|
525
|
+
*
|
|
526
|
+
* @category Geographic
|
|
527
|
+
* @category Country
|
|
528
|
+
* @title Country ISO 3166-1 Alpha-3 Code
|
|
529
|
+
* @public
|
|
530
|
+
*/
|
|
531
|
+
export type CountryISO3 = keyof typeof Alpha3ToCountryRecord
|