countryName.js 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /**
  2. * TraCINg-Server - Gathering and visualizing cyber incidents on the world
  3. *
  4. * Copyright 2013 Matthias Gazzari, Annemarie Mattmann, André Wolski
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. /*
  19. * ISO 3166-1 ALPHA-2 and MaxMind country codes mapping taken from
  20. * http://dev.maxmind.com/geoip/legacy/codes/iso3166/
  21. */
  22. var countryName = {
  23. A1: "Anonymous Proxy",
  24. A2: "Satellite Provider",
  25. O1: "Other Country",
  26. AD: "Andorra",
  27. AE: "United Arab Emirates",
  28. AF: "Afghanistan",
  29. AG: "Antigua and Barbuda",
  30. AI: "Anguilla",
  31. AL: "Albania",
  32. AM: "Armenia",
  33. AO: "Angola",
  34. AP: "Asia/Pacific Region",
  35. AQ: "Antarctica",
  36. AR: "Argentina",
  37. AS: "American Samoa",
  38. AT: "Austria",
  39. AU: "Australia",
  40. AW: "Aruba",
  41. AX: "Aland Islands",
  42. AZ: "Azerbaijan",
  43. BA: "Bosnia and Herzegovina",
  44. BB: "Barbados",
  45. BD: "Bangladesh",
  46. BE: "Belgium",
  47. BF: "Burkina Faso",
  48. BG: "Bulgaria",
  49. BH: "Bahrain",
  50. BI: "Burundi",
  51. BJ: "Benin",
  52. BL: "Saint Bartelemey",
  53. BM: "Bermuda",
  54. BN: "Brunei Darussalam",
  55. BO: "Bolivia",
  56. BQ: "Saint Eustatius and Saba Bonaire",
  57. BR: "Brazil",
  58. BS: "Bahamas",
  59. BT: "Bhutan",
  60. BV: "Bouvet Island",
  61. BW: "Botswana",
  62. BY: "Belarus",
  63. BZ: "Belize",
  64. CA: "Canada",
  65. CC: "Cocos (Keeling) Islands",
  66. CD: "The Democratic Republic of the Congo",
  67. CF: "Central African Republic",
  68. CG: "Congo",
  69. CH: "Switzerland",
  70. CI: "Cote d'Ivoire",
  71. CK: "Cook Islands",
  72. CL: "Chile",
  73. CM: "Cameroon",
  74. CN: "China",
  75. CO: "Colombia",
  76. CR: "Costa Rica",
  77. CU: "Cuba",
  78. CV: "Cape Verde",
  79. CW: "Curacao",
  80. CX: "Christmas Island",
  81. CY: "Cyprus",
  82. CZ: "Czech Republic",
  83. DE: "Germany",
  84. DJ: "Djibouti",
  85. DK: "Denmark",
  86. DM: "Dominica",
  87. DO: "Dominican Republic",
  88. DZ: "Algeria",
  89. EC: "Ecuador",
  90. EE: "Estonia",
  91. EG: "Egypt",
  92. EH: "Western Sahara",
  93. ER: "Eritrea",
  94. ES: "Spain",
  95. ET: "Ethiopia",
  96. EU: "Europe",
  97. FI: "Finland",
  98. FJ: "Fiji",
  99. FK: "Falkland Islands (Malvinas)",
  100. FM: "Federated States of Micronesia",
  101. FO: "Faroe Islands",
  102. FR: "France",
  103. GA: "Gabon",
  104. GB: "United Kingdom",
  105. GD: "Grenada",
  106. GE: "Georgia",
  107. GF: "French Guiana",
  108. GG: "Guernsey",
  109. GH: "Ghana",
  110. GI: "Gibraltar",
  111. GL: "Greenland",
  112. GM: "Gambia",
  113. GN: "Guinea",
  114. GP: "Guadeloupe",
  115. GQ: "Equatorial Guinea",
  116. GR: "Greece",
  117. GS: "South Georgia and the South Sandwich Islands",
  118. GT: "Guatemala",
  119. GU: "Guam",
  120. GW: "Guinea-Bissau",
  121. GY: "Guyana",
  122. HK: "Hong Kong",
  123. HM: "Heard Island and McDonald Islands",
  124. HN: "Honduras",
  125. HR: "Croatia",
  126. HT: "Haiti",
  127. HU: "Hungary",
  128. ID: "Indonesia",
  129. IE: "Ireland",
  130. IL: "Israel",
  131. IM: "Isle of Man",
  132. IN: "India",
  133. IO: "British Indian Ocean Territory",
  134. IQ: "Iraq",
  135. IR: "Islamic Republic of Iran",
  136. IS: "Iceland",
  137. IT: "Italy",
  138. JE: "Jersey",
  139. JM: "Jamaica",
  140. JO: "Jordan",
  141. JP: "Japan",
  142. KE: "Kenya",
  143. KG: "Kyrgyzstan",
  144. KH: "Cambodia",
  145. KI: "Kiribati",
  146. KM: "Comoros",
  147. KN: "Saint Kitts and Nevis",
  148. KP: "Democratic People's Republic of Korea",
  149. KR: "Republic of Korea",
  150. KW: "Kuwait",
  151. KY: "Cayman Islands",
  152. KZ: "Kazakhstan",
  153. LA: "Lao People's Democratic Republic",
  154. LB: "Lebanon",
  155. LC: "Saint Lucia",
  156. LI: "Liechtenstein",
  157. LK: "Sri Lanka",
  158. LR: "Liberia",
  159. LS: "Lesotho",
  160. LT: "Lithuania",
  161. LU: "Luxembourg",
  162. LV: "Latvia",
  163. LY: "Libyan Arab Jamahiriya",
  164. MA: "Morocco",
  165. MC: "Monaco",
  166. MD: "Republic of Moldova",
  167. ME: "Montenegro",
  168. MF: "Saint Martin",
  169. MG: "Madagascar",
  170. MH: "Marshall Islands",
  171. MK: "Macedonia",
  172. ML: "Mali",
  173. MM: "Myanmar",
  174. MN: "Mongolia",
  175. MO: "Macao",
  176. MP: "Northern Mariana Islands",
  177. MQ: "Martinique",
  178. MR: "Mauritania",
  179. MS: "Montserrat",
  180. MT: "Malta",
  181. MU: "Mauritius",
  182. MV: "Maldives",
  183. MW: "Malawi",
  184. MX: "Mexico",
  185. MY: "Malaysia",
  186. MZ: "Mozambique",
  187. NA: "Namibia",
  188. NC: "New Caledonia",
  189. NE: "Niger",
  190. NF: "Norfolk Island",
  191. NG: "Nigeria",
  192. NI: "Nicaragua",
  193. NL: "Netherlands",
  194. NO: "Norway",
  195. NP: "Nepal",
  196. NR: "Nauru",
  197. NU: "Niue",
  198. NZ: "New Zealand",
  199. OM: "Oman",
  200. PA: "Panama",
  201. PE: "Peru",
  202. PF: "French Polynesia",
  203. PG: "Papua New Guinea",
  204. PH: "Philippines",
  205. PK: "Pakistan",
  206. PL: "Poland",
  207. PM: "Saint Pierre and Miquelon",
  208. PN: "Pitcairn",
  209. PR: "Puerto Rico",
  210. PS: "Palestinian Territory",
  211. PT: "Portugal",
  212. PW: "Palau",
  213. PY: "Paraguay",
  214. QA: "Qatar",
  215. RE: "Reunion",
  216. RO: "Romania",
  217. RS: "Serbia",
  218. RU: "Russian Federation",
  219. RW: "Rwanda",
  220. SA: "Saudi Arabia",
  221. SB: "Solomon Islands",
  222. SC: "Seychelles",
  223. SD: "Sudan",
  224. SE: "Sweden",
  225. SG: "Singapore",
  226. SH: "Saint Helena",
  227. SI: "Slovenia",
  228. SJ: "Svalbard and Jan Mayen",
  229. SK: "Slovakia",
  230. SL: "Sierra Leone",
  231. SM: "San Marino",
  232. SN: "Senegal",
  233. SO: "Somalia",
  234. SR: "Suriname",
  235. SS: "South Sudan",
  236. ST: "Sao Tome and Principe",
  237. SV: "El Salvador",
  238. SX: "Sint Maarten",
  239. SY: "Syrian Arab Republic",
  240. SZ: "Swaziland",
  241. TC: "Turks and Caicos Islands",
  242. TD: "Chad",
  243. TF: "French Southern Territories",
  244. TG: "Togo",
  245. TH: "Thailand",
  246. TJ: "Tajikistan",
  247. TK: "Tokelau",
  248. TL: "Timor-Leste",
  249. TM: "Turkmenistan",
  250. TN: "Tunisia",
  251. TO: "Tonga",
  252. TR: "Turkey",
  253. TT: "Trinidad and Tobago",
  254. TV: "Tuvalu",
  255. TW: "Taiwan",
  256. TZ: "United Republic of Tanzania",
  257. UA: "Ukraine",
  258. UG: "Uganda",
  259. UM: "United States Minor Outlying Islands",
  260. US: "United States",
  261. UY: "Uruguay",
  262. UZ: "Uzbekistan",
  263. VA: "Holy See (Vatican City State)",
  264. VC: "Saint Vincent and the Grenadines",
  265. VE: "Venezuela",
  266. VG: "British Virgin Islands",
  267. VI: "U.S. Virgin Islands",
  268. VN: "Vietnam",
  269. VU: "Vanuatu",
  270. WF: "Wallis and Futuna",
  271. WS: "Samoa",
  272. YE: "Yemen",
  273. YT: "Mayotte",
  274. ZA: "South Africa",
  275. ZM: "Zambia",
  276. ZW: "Zimbabwe"
  277. };