352 lines
7.3 KiB
Go
352 lines
7.3 KiB
Go
package dxcc
|
|
|
|
// dxccByName maps cty.dat entity names (lower-cased) to ADIF DXCC entity
|
|
// numbers. Generated by joining cty.dat to the authoritative ARRL/ADIF entity
|
|
// list (k0swe/dxcc-json) by primary prefix + canonical name. 344 entities.
|
|
var dxccByName = map[string]int{
|
|
"afghanistan": 3,
|
|
"agalega & st. brandon": 4,
|
|
"aland islands": 5,
|
|
"alaska": 6,
|
|
"albania": 7,
|
|
"algeria": 400,
|
|
"american samoa": 9,
|
|
"amsterdam & st. paul is.": 10,
|
|
"andaman & nicobar is.": 11,
|
|
"andorra": 203,
|
|
"angola": 401,
|
|
"anguilla": 12,
|
|
"annobon island": 195,
|
|
"antarctica": 13,
|
|
"antigua & barbuda": 94,
|
|
"argentina": 100,
|
|
"armenia": 14,
|
|
"aruba": 91,
|
|
"ascension island": 205,
|
|
"asiatic russia": 15,
|
|
"asiatic turkey": 390,
|
|
"austral islands": 508,
|
|
"australia": 150,
|
|
"austria": 206,
|
|
"aves island": 17,
|
|
"azerbaijan": 18,
|
|
"azores": 149,
|
|
"bahamas": 60,
|
|
"bahrain": 304,
|
|
"baker & howland islands": 20,
|
|
"balearic islands": 21,
|
|
"banaba island": 490,
|
|
"bangladesh": 305,
|
|
"barbados": 62,
|
|
"bear island": 259,
|
|
"belarus": 27,
|
|
"belgium": 209,
|
|
"belize": 66,
|
|
"benin": 416,
|
|
"bermuda": 64,
|
|
"bhutan": 306,
|
|
"bolivia": 104,
|
|
"bonaire": 520,
|
|
"bosnia-herzegovina": 501,
|
|
"botswana": 402,
|
|
"bouvet": 24,
|
|
"brazil": 108,
|
|
"british virgin islands": 65,
|
|
"brunei darussalam": 345,
|
|
"bulgaria": 212,
|
|
"burkina faso": 480,
|
|
"burundi": 404,
|
|
"cambodia": 312,
|
|
"cameroon": 406,
|
|
"canada": 1,
|
|
"canary islands": 29,
|
|
"cape verde": 409,
|
|
"cayman islands": 69,
|
|
"central african republic": 408,
|
|
"central kiribati": 31,
|
|
"ceuta & melilla": 32,
|
|
"chad": 410,
|
|
"chagos islands": 33,
|
|
"chatham islands": 34,
|
|
"chesterfield islands": 512,
|
|
"chile": 112,
|
|
"china": 318,
|
|
"christmas island": 35,
|
|
"clipperton island": 36,
|
|
"cocos (keeling) islands": 38,
|
|
"cocos island": 37,
|
|
"colombia": 116,
|
|
"comoros": 411,
|
|
"conway reef": 489,
|
|
"corsica": 214,
|
|
"costa rica": 308,
|
|
"cote d'ivoire": 428,
|
|
"crete": 40,
|
|
"croatia": 497,
|
|
"crozet island": 41,
|
|
"cuba": 70,
|
|
"curacao": 517,
|
|
"cyprus": 215,
|
|
"czech republic": 503,
|
|
"dem. rep. of the congo": 414,
|
|
"denmark": 221,
|
|
"desecheo island": 43,
|
|
"djibouti": 382,
|
|
"dodecanese": 45,
|
|
"dominica": 95,
|
|
"dominican republic": 72,
|
|
"dpr of korea": 344,
|
|
"ducie island": 513,
|
|
"east malaysia": 46,
|
|
"easter island": 47,
|
|
"eastern kiribati": 48,
|
|
"ecuador": 120,
|
|
"egypt": 478,
|
|
"el salvador": 74,
|
|
"england": 223,
|
|
"equatorial guinea": 49,
|
|
"eritrea": 51,
|
|
"estonia": 52,
|
|
"ethiopia": 53,
|
|
"european russia": 54,
|
|
"european turkey": 390,
|
|
"falkland islands": 141,
|
|
"faroe islands": 222,
|
|
"fed. rep. of germany": 230,
|
|
"fernando de noronha": 56,
|
|
"fiji": 176,
|
|
"finland": 224,
|
|
"france": 227,
|
|
"franz josef land": 61,
|
|
"french guiana": 63,
|
|
"french polynesia": 175,
|
|
"gabon": 420,
|
|
"galapagos islands": 71,
|
|
"georgia": 75,
|
|
"ghana": 424,
|
|
"gibraltar": 233,
|
|
"glorioso islands": 99,
|
|
"greece": 236,
|
|
"greenland": 237,
|
|
"grenada": 77,
|
|
"guadeloupe": 79,
|
|
"guam": 103,
|
|
"guantanamo bay": 105,
|
|
"guatemala": 76,
|
|
"guernsey": 106,
|
|
"guinea": 107,
|
|
"guinea-bissau": 109,
|
|
"guyana": 129,
|
|
"haiti": 78,
|
|
"hawaii": 110,
|
|
"heard island": 111,
|
|
"honduras": 80,
|
|
"hong kong": 321,
|
|
"hungary": 239,
|
|
"iceland": 242,
|
|
"india": 324,
|
|
"indonesia": 327,
|
|
"iran": 330,
|
|
"iraq": 333,
|
|
"ireland": 245,
|
|
"isle of man": 114,
|
|
"israel": 336,
|
|
"italy": 248,
|
|
"itu hq": 117,
|
|
"jamaica": 82,
|
|
"jan mayen": 118,
|
|
"japan": 339,
|
|
"jersey": 122,
|
|
"johnston island": 123,
|
|
"jordan": 342,
|
|
"juan de nova, europa": 124,
|
|
"juan fernandez islands": 125,
|
|
"kaliningrad": 126,
|
|
"kazakhstan": 130,
|
|
"kenya": 430,
|
|
"kerguelen islands": 131,
|
|
"kermadec islands": 133,
|
|
"kingdom of eswatini": 468,
|
|
"kure island": 138,
|
|
"kuwait": 348,
|
|
"kyrgyzstan": 135,
|
|
"lakshadweep islands": 142,
|
|
"laos": 143,
|
|
"latvia": 145,
|
|
"lebanon": 354,
|
|
"lesotho": 432,
|
|
"liberia": 434,
|
|
"libya": 436,
|
|
"liechtenstein": 251,
|
|
"lithuania": 146,
|
|
"lord howe island": 147,
|
|
"luxembourg": 254,
|
|
"macao": 152,
|
|
"macquarie island": 153,
|
|
"madagascar": 438,
|
|
"madeira islands": 256,
|
|
"malawi": 440,
|
|
"maldives": 159,
|
|
"mali": 442,
|
|
"malpelo island": 161,
|
|
"malta": 257,
|
|
"mariana islands": 166,
|
|
"market reef": 167,
|
|
"marquesas islands": 509,
|
|
"marshall islands": 168,
|
|
"martinique": 84,
|
|
"mauritania": 444,
|
|
"mauritius": 165,
|
|
"mayotte": 169,
|
|
"mellish reef": 171,
|
|
"mexico": 50,
|
|
"micronesia": 173,
|
|
"midway island": 174,
|
|
"minami torishima": 177,
|
|
"moldova": 179,
|
|
"monaco": 260,
|
|
"mongolia": 363,
|
|
"montenegro": 514,
|
|
"montserrat": 96,
|
|
"morocco": 446,
|
|
"mount athos": 180,
|
|
"mozambique": 181,
|
|
"myanmar": 309,
|
|
"n.z. subantarctic is.": 16,
|
|
"namibia": 464,
|
|
"nauru": 157,
|
|
"navassa island": 182,
|
|
"nepal": 369,
|
|
"netherlands": 263,
|
|
"new caledonia": 162,
|
|
"new zealand": 170,
|
|
"nicaragua": 86,
|
|
"niger": 187,
|
|
"nigeria": 450,
|
|
"niue": 188,
|
|
"norfolk island": 189,
|
|
"north cook islands": 191,
|
|
"north macedonia": 502,
|
|
"northern ireland": 265,
|
|
"norway": 266,
|
|
"ogasawara": 192,
|
|
"oman": 370,
|
|
"pakistan": 372,
|
|
"palau": 22,
|
|
"palestine": 510,
|
|
"palmyra & jarvis islands": 197,
|
|
"panama": 88,
|
|
"papua new guinea": 163,
|
|
"paraguay": 132,
|
|
"peru": 136,
|
|
"peter 1 island": 199,
|
|
"philippines": 375,
|
|
"pitcairn island": 172,
|
|
"poland": 269,
|
|
"portugal": 272,
|
|
"pr. edward & marion is.": 201,
|
|
"pratas island": 505,
|
|
"puerto rico": 202,
|
|
"qatar": 376,
|
|
"republic of korea": 137,
|
|
"republic of kosovo": 522,
|
|
"republic of south sudan": 521,
|
|
"republic of the congo": 412,
|
|
"reunion island": 453,
|
|
"revillagigedo": 204,
|
|
"rodriguez island": 207,
|
|
"romania": 275,
|
|
"rotuma island": 460,
|
|
"rwanda": 454,
|
|
"saba & st. eustatius": 519,
|
|
"sable island": 211,
|
|
"samoa": 190,
|
|
"san andres & providencia": 216,
|
|
"san felix & san ambrosio": 217,
|
|
"san marino": 278,
|
|
"sao tome & principe": 219,
|
|
"sardinia": 225,
|
|
"saudi arabia": 378,
|
|
"scarborough reef": 506,
|
|
"scotland": 279,
|
|
"senegal": 456,
|
|
"serbia": 296,
|
|
"seychelles": 379,
|
|
"shetland islands": 279,
|
|
"sierra leone": 458,
|
|
"singapore": 381,
|
|
"sint maarten": 518,
|
|
"slovak republic": 504,
|
|
"slovenia": 499,
|
|
"solomon islands": 185,
|
|
"somalia": 232,
|
|
"south africa": 462,
|
|
"south cook islands": 234,
|
|
"south georgia island": 235,
|
|
"south orkney islands": 238,
|
|
"south sandwich islands": 240,
|
|
"south shetland islands": 241,
|
|
"sov mil order of malta": 246,
|
|
"spain": 281,
|
|
"spratly islands": 247,
|
|
"sri lanka": 315,
|
|
"st. barthelemy": 516,
|
|
"st. helena": 250,
|
|
"st. kitts & nevis": 249,
|
|
"st. lucia": 97,
|
|
"st. martin": 213,
|
|
"st. paul island": 252,
|
|
"st. peter & st. paul": 253,
|
|
"st. pierre & miquelon": 277,
|
|
"st. vincent": 98,
|
|
"sudan": 466,
|
|
"suriname": 140,
|
|
"svalbard": 259,
|
|
"swains island": 515,
|
|
"sweden": 284,
|
|
"switzerland": 287,
|
|
"syria": 384,
|
|
"taiwan": 386,
|
|
"tajikistan": 262,
|
|
"tanzania": 470,
|
|
"temotu province": 507,
|
|
"thailand": 387,
|
|
"the gambia": 422,
|
|
"timor - leste": 511,
|
|
"togo": 483,
|
|
"tokelau islands": 270,
|
|
"tonga": 160,
|
|
"trindade & martim vaz": 273,
|
|
"trinidad & tobago": 90,
|
|
"tristan da cunha & gough": 274,
|
|
"tromelin island": 276,
|
|
"tunisia": 474,
|
|
"turkmenistan": 280,
|
|
"turks & caicos islands": 89,
|
|
"tuvalu": 282,
|
|
"uganda": 286,
|
|
"uk base areas on cyprus": 283,
|
|
"ukraine": 288,
|
|
"united arab emirates": 391,
|
|
"united nations hq": 289,
|
|
"united states": 291,
|
|
"uruguay": 144,
|
|
"us virgin islands": 285,
|
|
"uzbekistan": 292,
|
|
"vanuatu": 158,
|
|
"vatican city": 295,
|
|
"venezuela": 148,
|
|
"vienna intl ctr": 206,
|
|
"vietnam": 293,
|
|
"wake island": 297,
|
|
"wales": 294,
|
|
"wallis & futuna islands": 298,
|
|
"west malaysia": 155,
|
|
"western kiribati": 301,
|
|
"western sahara": 302,
|
|
"willis island": 303,
|
|
"yemen": 492,
|
|
"zambia": 482,
|
|
"zimbabwe": 452,
|
|
}
|