countries 4.2.3 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/tests.yml +3 -7
- data/.rubocop.yml +40 -1
- data/.rubocop_todo.yml +8 -41
- data/CHANGELOG.md +35 -2
- data/Gemfile +5 -3
- data/README.markdown +56 -62
- data/Rakefile +21 -45
- data/UPGRADE.md +39 -0
- data/bin/console +1 -0
- data/countries.gemspec +7 -6
- data/lib/countries/cache/countries.json +1 -1
- data/lib/countries/cache/locales/ab.json +1 -1
- data/lib/countries/cache/locales/af.json +1 -1
- data/lib/countries/cache/locales/ak.json +1 -1
- data/lib/countries/cache/locales/am.json +1 -1
- data/lib/countries/cache/locales/an.json +1 -1
- data/lib/countries/cache/locales/ar.json +1 -1
- data/lib/countries/cache/locales/as.json +1 -1
- data/lib/countries/cache/locales/ay.json +1 -1
- data/lib/countries/cache/locales/az.json +1 -1
- data/lib/countries/cache/locales/ba.json +1 -1
- data/lib/countries/cache/locales/be.json +1 -1
- data/lib/countries/cache/locales/bg.json +1 -1
- data/lib/countries/cache/locales/bi.json +1 -1
- data/lib/countries/cache/locales/bn-in.json +1 -1
- data/lib/countries/cache/locales/bn.json +1 -1
- data/lib/countries/cache/locales/br.json +1 -1
- data/lib/countries/cache/locales/bs.json +1 -1
- data/lib/countries/cache/locales/ca.json +1 -1
- data/lib/countries/cache/locales/ce.json +1 -1
- data/lib/countries/cache/locales/ch.json +1 -1
- data/lib/countries/cache/locales/cs.json +1 -1
- data/lib/countries/cache/locales/cv.json +1 -1
- data/lib/countries/cache/locales/cy.json +1 -1
- data/lib/countries/cache/locales/da.json +1 -1
- data/lib/countries/cache/locales/de.json +1 -1
- data/lib/countries/cache/locales/dv.json +1 -1
- data/lib/countries/cache/locales/dz.json +1 -1
- data/lib/countries/cache/locales/ee.json +1 -1
- data/lib/countries/cache/locales/el.json +1 -1
- data/lib/countries/cache/locales/en.json +1 -1
- data/lib/countries/cache/locales/eo.json +1 -1
- data/lib/countries/cache/locales/es.json +1 -1
- data/lib/countries/cache/locales/et.json +1 -1
- data/lib/countries/cache/locales/eu.json +1 -1
- data/lib/countries/cache/locales/fa.json +1 -1
- data/lib/countries/cache/locales/ff.json +1 -1
- data/lib/countries/cache/locales/fi.json +1 -1
- data/lib/countries/cache/locales/fo.json +1 -1
- data/lib/countries/cache/locales/fr.json +1 -1
- data/lib/countries/cache/locales/fy.json +1 -1
- data/lib/countries/cache/locales/ga.json +1 -1
- data/lib/countries/cache/locales/gl.json +1 -1
- data/lib/countries/cache/locales/gn.json +1 -1
- data/lib/countries/cache/locales/gu.json +1 -1
- data/lib/countries/cache/locales/gv.json +1 -1
- data/lib/countries/cache/locales/ha.json +1 -1
- data/lib/countries/cache/locales/he.json +1 -1
- data/lib/countries/cache/locales/hi.json +1 -1
- data/lib/countries/cache/locales/hr.json +1 -1
- data/lib/countries/cache/locales/ht.json +1 -1
- data/lib/countries/cache/locales/hu.json +1 -1
- data/lib/countries/cache/locales/hy.json +1 -1
- data/lib/countries/cache/locales/ia.json +1 -1
- data/lib/countries/cache/locales/id.json +1 -1
- data/lib/countries/cache/locales/io.json +1 -1
- data/lib/countries/cache/locales/is.json +1 -1
- data/lib/countries/cache/locales/it.json +1 -1
- data/lib/countries/cache/locales/iu.json +1 -1
- data/lib/countries/cache/locales/ja.json +1 -1
- data/lib/countries/cache/locales/ka.json +1 -1
- data/lib/countries/cache/locales/ki.json +1 -1
- data/lib/countries/cache/locales/kk.json +1 -1
- data/lib/countries/cache/locales/kl.json +1 -1
- data/lib/countries/cache/locales/km.json +1 -1
- data/lib/countries/cache/locales/kn.json +1 -1
- data/lib/countries/cache/locales/ko.json +1 -1
- data/lib/countries/cache/locales/kv.json +1 -1
- data/lib/countries/cache/locales/kw.json +1 -1
- data/lib/countries/cache/locales/ky.json +1 -1
- data/lib/countries/cache/locales/lo.json +1 -1
- data/lib/countries/cache/locales/lt.json +1 -1
- data/lib/countries/cache/locales/lv.json +1 -1
- data/lib/countries/cache/locales/mi.json +1 -1
- data/lib/countries/cache/locales/mk.json +1 -1
- data/lib/countries/cache/locales/ml.json +1 -1
- data/lib/countries/cache/locales/mn.json +1 -1
- data/lib/countries/cache/locales/mr.json +1 -1
- data/lib/countries/cache/locales/ms.json +1 -1
- data/lib/countries/cache/locales/mt.json +1 -1
- data/lib/countries/cache/locales/my.json +1 -1
- data/lib/countries/cache/locales/na.json +1 -1
- data/lib/countries/cache/locales/nb.json +1 -1
- data/lib/countries/cache/locales/ne.json +1 -1
- data/lib/countries/cache/locales/nl.json +1 -1
- data/lib/countries/cache/locales/nn.json +1 -1
- data/lib/countries/cache/locales/nv.json +1 -1
- data/lib/countries/cache/locales/oc.json +1 -1
- data/lib/countries/cache/locales/or.json +1 -1
- data/lib/countries/cache/locales/pa.json +1 -1
- data/lib/countries/cache/locales/pi.json +1 -1
- data/lib/countries/cache/locales/pl.json +1 -1
- data/lib/countries/cache/locales/ps.json +1 -1
- data/lib/countries/cache/locales/pt-br.json +1 -1
- data/lib/countries/cache/locales/pt.json +1 -1
- data/lib/countries/cache/locales/ro.json +1 -1
- data/lib/countries/cache/locales/ru.json +1 -1
- data/lib/countries/cache/locales/rw.json +1 -1
- data/lib/countries/cache/locales/sc.json +1 -1
- data/lib/countries/cache/locales/sd.json +1 -1
- data/lib/countries/cache/locales/si.json +1 -1
- data/lib/countries/cache/locales/sk.json +1 -1
- data/lib/countries/cache/locales/sl.json +1 -1
- data/lib/countries/cache/locales/so.json +1 -1
- data/lib/countries/cache/locales/sq.json +1 -1
- data/lib/countries/cache/locales/sr.json +1 -1
- data/lib/countries/cache/locales/sv.json +1 -1
- data/lib/countries/cache/locales/sw.json +1 -1
- data/lib/countries/cache/locales/ta.json +1 -1
- data/lib/countries/cache/locales/te.json +1 -1
- data/lib/countries/cache/locales/tg.json +1 -1
- data/lib/countries/cache/locales/th.json +1 -1
- data/lib/countries/cache/locales/ti.json +1 -1
- data/lib/countries/cache/locales/tk.json +1 -1
- data/lib/countries/cache/locales/tl.json +1 -1
- data/lib/countries/cache/locales/tr.json +1 -1
- data/lib/countries/cache/locales/tt.json +1 -1
- data/lib/countries/cache/locales/ug.json +1 -1
- data/lib/countries/cache/locales/uk.json +1 -1
- data/lib/countries/cache/locales/ur.json +1 -1
- data/lib/countries/cache/locales/uz.json +1 -1
- data/lib/countries/cache/locales/ve.json +1 -1
- data/lib/countries/cache/locales/vi.json +1 -1
- data/lib/countries/cache/locales/wa.json +1 -1
- data/lib/countries/cache/locales/wo.json +1 -1
- data/lib/countries/cache/locales/xh.json +1 -1
- data/lib/countries/cache/locales/yo.json +1 -1
- data/lib/countries/cache/locales/zh-cn.json +1 -1
- data/lib/countries/cache/locales/zh-hk.json +1 -1
- data/lib/countries/cache/locales/zh-tw.json +1 -1
- data/lib/countries/cache/locales/zu.json +1 -1
- data/lib/countries/configuration.rb +2 -0
- data/lib/countries/country/class_methods.rb +20 -103
- data/lib/countries/country/currency_methods.rb +2 -0
- data/lib/countries/country/emoji.rb +2 -3
- data/lib/countries/country/finder_methods.rb +81 -0
- data/lib/countries/country.rb +32 -43
- data/lib/countries/data/countries/KN.yaml +0 -1
- data/lib/countries/data/subdivisions/AD.yaml +14 -7
- data/lib/countries/data/subdivisions/AE.yaml +14 -7
- data/lib/countries/data/subdivisions/AF.yaml +196 -201
- data/lib/countries/data/subdivisions/AG.yaml +16 -22
- data/lib/countries/data/subdivisions/AL.yaml +24 -12
- data/lib/countries/data/subdivisions/AM.yaml +22 -11
- data/lib/countries/data/subdivisions/AO.yaml +36 -18
- data/lib/countries/data/subdivisions/AR.yaml +48 -24
- data/lib/countries/data/subdivisions/AT.yaml +18 -9
- data/lib/countries/data/subdivisions/AU.yaml +16 -8
- data/lib/countries/data/subdivisions/AZ.yaml +434 -412
- data/lib/countries/data/subdivisions/BA.yaml +75 -223
- data/lib/countries/data/subdivisions/BB.yaml +22 -11
- data/lib/countries/data/subdivisions/BD.yaml +188 -116
- data/lib/countries/data/subdivisions/BE.yaml +174 -161
- data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
- data/lib/countries/data/subdivisions/BG.yaml +56 -28
- data/lib/countries/data/subdivisions/BH.yaml +8 -21
- data/lib/countries/data/subdivisions/BI.yaml +176 -157
- data/lib/countries/data/subdivisions/BJ.yaml +24 -12
- data/lib/countries/data/subdivisions/BN.yaml +8 -4
- data/lib/countries/data/subdivisions/BO.yaml +18 -9
- data/lib/countries/data/subdivisions/BQ.yaml +6 -3
- data/lib/countries/data/subdivisions/BR.yaml +54 -27
- data/lib/countries/data/subdivisions/BS.yaml +575 -697
- data/lib/countries/data/subdivisions/BT.yaml +40 -20
- data/lib/countries/data/subdivisions/BW.yaml +337 -321
- data/lib/countries/data/subdivisions/BY.yaml +106 -116
- data/lib/countries/data/subdivisions/BZ.yaml +12 -6
- data/lib/countries/data/subdivisions/CA.yaml +26 -13
- data/lib/countries/data/subdivisions/CD.yaml +488 -525
- data/lib/countries/data/subdivisions/CF.yaml +34 -17
- data/lib/countries/data/subdivisions/CG.yaml +40 -28
- data/lib/countries/data/subdivisions/CH.yaml +52 -26
- data/lib/countries/data/subdivisions/CI.yaml +244 -516
- data/lib/countries/data/subdivisions/CL.yaml +81 -65
- data/lib/countries/data/subdivisions/CM.yaml +20 -10
- data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
- data/lib/countries/data/subdivisions/CO.yaml +66 -33
- data/lib/countries/data/subdivisions/CR.yaml +14 -7
- data/lib/countries/data/subdivisions/CU.yaml +32 -16
- data/lib/countries/data/subdivisions/CV.yaml +427 -401
- data/lib/countries/data/subdivisions/CY.yaml +12 -6
- data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
- data/lib/countries/data/subdivisions/DE.yaml +32 -16
- data/lib/countries/data/subdivisions/DJ.yaml +12 -6
- data/lib/countries/data/subdivisions/DK.yaml +25 -17
- data/lib/countries/data/subdivisions/DM.yaml +20 -10
- data/lib/countries/data/subdivisions/DO.yaml +84 -42
- data/lib/countries/data/subdivisions/DZ.yaml +96 -48
- data/lib/countries/data/subdivisions/EC.yaml +158 -134
- data/lib/countries/data/subdivisions/EE.yaml +501 -334
- data/lib/countries/data/subdivisions/EG.yaml +54 -27
- data/lib/countries/data/subdivisions/ER.yaml +12 -6
- data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
- data/lib/countries/data/subdivisions/ET.yaml +22 -11
- data/lib/countries/data/subdivisions/FI.yaml +185 -1
- data/lib/countries/data/subdivisions/FJ.yaml +443 -424
- data/lib/countries/data/subdivisions/FM.yaml +8 -4
- data/lib/countries/data/subdivisions/FR.yaml +438 -275
- data/lib/countries/data/subdivisions/GA.yaml +18 -9
- data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
- data/lib/countries/data/subdivisions/GD.yaml +14 -7
- data/lib/countries/data/subdivisions/GE.yaml +24 -12
- data/lib/countries/data/subdivisions/GH.yaml +114 -155
- data/lib/countries/data/subdivisions/GL.yaml +24 -79
- data/lib/countries/data/subdivisions/GM.yaml +12 -6
- data/lib/countries/data/subdivisions/GN.yaml +444 -403
- data/lib/countries/data/subdivisions/GQ.yaml +24 -13
- data/lib/countries/data/subdivisions/GR.yaml +114 -73
- data/lib/countries/data/subdivisions/GT.yaml +44 -22
- data/lib/countries/data/subdivisions/GW.yaml +69 -57
- data/lib/countries/data/subdivisions/GY.yaml +20 -10
- data/lib/countries/data/subdivisions/HN.yaml +36 -18
- data/lib/countries/data/subdivisions/HR.yaml +42 -21
- data/lib/countries/data/subdivisions/HT.yaml +73 -63
- data/lib/countries/data/subdivisions/HU.yaml +106 -63
- data/lib/countries/data/subdivisions/ID.yaml +229 -188
- data/lib/countries/data/subdivisions/IE.yaml +128 -97
- data/lib/countries/data/subdivisions/IL.yaml +12 -6
- data/lib/countries/data/subdivisions/IN.yaml +245 -396
- data/lib/countries/data/subdivisions/IQ.yaml +111 -91
- data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
- data/lib/countries/data/subdivisions/IS.yaml +160 -25
- data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
- data/lib/countries/data/subdivisions/JM.yaml +28 -14
- data/lib/countries/data/subdivisions/JO.yaml +24 -12
- data/lib/countries/data/subdivisions/JP.yaml +94 -47
- data/lib/countries/data/subdivisions/KE.yaml +95 -48
- data/lib/countries/data/subdivisions/KG.yaml +95 -86
- data/lib/countries/data/subdivisions/KH.yaml +64 -39
- data/lib/countries/data/subdivisions/KI.yaml +6 -3
- data/lib/countries/data/subdivisions/KM.yaml +6 -3
- data/lib/countries/data/subdivisions/KN.yaml +32 -16
- data/lib/countries/data/subdivisions/KP.yaml +24 -227
- data/lib/countries/data/subdivisions/KR.yaml +34 -17
- data/lib/countries/data/subdivisions/KW.yaml +12 -6
- data/lib/countries/data/subdivisions/KZ.yaml +47 -102
- data/lib/countries/data/subdivisions/LA.yaml +36 -34
- data/lib/countries/data/subdivisions/LB.yaml +71 -63
- data/lib/countries/data/subdivisions/LC.yaml +116 -106
- data/lib/countries/data/subdivisions/LI.yaml +22 -11
- data/lib/countries/data/subdivisions/LK.yaml +445 -411
- data/lib/countries/data/subdivisions/LR.yaml +146 -129
- data/lib/countries/data/subdivisions/LS.yaml +20 -10
- data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
- data/lib/countries/data/subdivisions/LU.yaml +24 -12
- data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
- data/lib/countries/data/subdivisions/LY.yaml +44 -22
- data/lib/countries/data/subdivisions/MA.yaml +810 -1589
- data/lib/countries/data/subdivisions/MC.yaml +261 -244
- data/lib/countries/data/subdivisions/MD.yaml +74 -79
- data/lib/countries/data/subdivisions/ME.yaml +217 -195
- data/lib/countries/data/subdivisions/MG.yaml +12 -6
- data/lib/countries/data/subdivisions/MH.yaml +167 -140
- data/lib/countries/data/subdivisions/MK.yaml +160 -80
- data/lib/countries/data/subdivisions/ML.yaml +48 -37
- data/lib/countries/data/subdivisions/MM.yaml +30 -15
- data/lib/countries/data/subdivisions/MN.yaml +44 -22
- data/lib/countries/data/subdivisions/MR.yaml +30 -34
- data/lib/countries/data/subdivisions/MT.yaml +136 -68
- data/lib/countries/data/subdivisions/MU.yaml +24 -262
- data/lib/countries/data/subdivisions/MV.yaml +161 -254
- data/lib/countries/data/subdivisions/MW.yaml +250 -219
- data/lib/countries/data/subdivisions/MX.yaml +67 -47
- data/lib/countries/data/subdivisions/MY.yaml +32 -16
- data/lib/countries/data/subdivisions/MZ.yaml +22 -11
- data/lib/countries/data/subdivisions/NA.yaml +58 -44
- data/lib/countries/data/subdivisions/NE.yaml +16 -8
- data/lib/countries/data/subdivisions/NG.yaml +74 -37
- data/lib/countries/data/subdivisions/NI.yaml +34 -17
- data/lib/countries/data/subdivisions/NL.yaml +303 -285
- data/lib/countries/data/subdivisions/NO.yaml +39 -17
- data/lib/countries/data/subdivisions/NP.yaml +302 -276
- data/lib/countries/data/subdivisions/NR.yaml +28 -14
- data/lib/countries/data/subdivisions/NZ.yaml +34 -17
- data/lib/countries/data/subdivisions/OM.yaml +260 -311
- data/lib/countries/data/subdivisions/PA.yaml +57 -44
- data/lib/countries/data/subdivisions/PE.yaml +107 -81
- data/lib/countries/data/subdivisions/PG.yaml +163 -158
- data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
- data/lib/countries/data/subdivisions/PK.yaml +145 -235
- data/lib/countries/data/subdivisions/PL.yaml +51 -3
- data/lib/countries/data/subdivisions/PS.yaml +32 -16
- data/lib/countries/data/subdivisions/PT.yaml +53 -33
- data/lib/countries/data/subdivisions/PW.yaml +32 -16
- data/lib/countries/data/subdivisions/PY.yaml +36 -18
- data/lib/countries/data/subdivisions/QA.yaml +27 -78
- data/lib/countries/data/subdivisions/RO.yaml +84 -42
- data/lib/countries/data/subdivisions/RS.yaml +104 -72
- data/lib/countries/data/subdivisions/RU.yaml +166 -83
- data/lib/countries/data/subdivisions/RW.yaml +10 -5
- data/lib/countries/data/subdivisions/SA.yaml +26 -13
- data/lib/countries/data/subdivisions/SB.yaml +20 -10
- data/lib/countries/data/subdivisions/SC.yaml +54 -25
- data/lib/countries/data/subdivisions/SD.yaml +798 -780
- data/lib/countries/data/subdivisions/SE.yaml +42 -21
- data/lib/countries/data/subdivisions/SG.yaml +15 -10
- data/lib/countries/data/subdivisions/SH.yaml +21 -32
- data/lib/countries/data/subdivisions/SI.yaml +475 -263
- data/lib/countries/data/subdivisions/SK.yaml +16 -8
- data/lib/countries/data/subdivisions/SL.yaml +23 -18
- data/lib/countries/data/subdivisions/SM.yaml +18 -9
- data/lib/countries/data/subdivisions/SN.yaml +188 -174
- data/lib/countries/data/subdivisions/SO.yaml +36 -18
- data/lib/countries/data/subdivisions/SR.yaml +20 -10
- data/lib/countries/data/subdivisions/SS.yaml +20 -10
- data/lib/countries/data/subdivisions/ST.yaml +38 -52
- data/lib/countries/data/subdivisions/SV.yaml +28 -14
- data/lib/countries/data/subdivisions/SY.yaml +28 -14
- data/lib/countries/data/subdivisions/SZ.yaml +8 -4
- data/lib/countries/data/subdivisions/TD.yaml +312 -303
- data/lib/countries/data/subdivisions/TG.yaml +10 -5
- data/lib/countries/data/subdivisions/TH.yaml +211 -133
- data/lib/countries/data/subdivisions/TJ.yaml +161 -156
- data/lib/countries/data/subdivisions/TL.yaml +26 -13
- data/lib/countries/data/subdivisions/TM.yaml +12 -6
- data/lib/countries/data/subdivisions/TN.yaml +48 -24
- data/lib/countries/data/subdivisions/TO.yaml +10 -5
- data/lib/countries/data/subdivisions/TR.yaml +162 -81
- data/lib/countries/data/subdivisions/TT.yaml +128 -160
- data/lib/countries/data/subdivisions/TV.yaml +57 -63
- data/lib/countries/data/subdivisions/TW.yaml +143 -183
- data/lib/countries/data/subdivisions/TZ.yaml +62 -31
- data/lib/countries/data/subdivisions/UA.yaml +55 -28
- data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
- data/lib/countries/data/subdivisions/UM.yaml +18 -9
- data/lib/countries/data/subdivisions/US.yaml +114 -57
- data/lib/countries/data/subdivisions/UY.yaml +99 -80
- data/lib/countries/data/subdivisions/UZ.yaml +28 -14
- data/lib/countries/data/subdivisions/VC.yaml +12 -6
- data/lib/countries/data/subdivisions/VE.yaml +50 -25
- data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
- data/lib/countries/data/subdivisions/VU.yaml +12 -6
- data/lib/countries/data/subdivisions/WF.yaml +6 -3
- data/lib/countries/data/subdivisions/WS.yaml +22 -11
- data/lib/countries/data/subdivisions/YE.yaml +222 -200
- data/lib/countries/data/subdivisions/ZA.yaml +86 -100
- data/lib/countries/data/subdivisions/ZM.yaml +20 -10
- data/lib/countries/data/subdivisions/ZW.yaml +20 -10
- data/lib/countries/data/translations/countries-ab.yaml +254 -0
- data/lib/countries/data/translations/countries-af.yaml +254 -0
- data/lib/countries/data/translations/countries-ak.yaml +254 -0
- data/lib/countries/data/translations/countries-am.yaml +254 -0
- data/lib/countries/data/translations/countries-an.yaml +254 -0
- data/lib/countries/data/translations/countries-ar.yaml +254 -0
- data/lib/countries/data/translations/countries-as.yaml +254 -0
- data/lib/countries/data/translations/countries-ay.yaml +254 -0
- data/lib/countries/data/translations/countries-az.yaml +254 -0
- data/lib/countries/data/translations/countries-ba.yaml +254 -0
- data/lib/countries/data/translations/countries-be.yaml +254 -0
- data/lib/countries/data/translations/countries-bg.yaml +254 -0
- data/lib/countries/data/translations/countries-bi.yaml +254 -0
- data/lib/countries/data/translations/countries-bn.yaml +254 -0
- data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
- data/lib/countries/data/translations/countries-br.yaml +254 -0
- data/lib/countries/data/translations/countries-bs.yaml +254 -0
- data/lib/countries/data/translations/countries-ca.yaml +254 -0
- data/lib/countries/data/translations/countries-ce.yaml +254 -0
- data/lib/countries/data/translations/countries-ch.yaml +254 -0
- data/lib/countries/data/translations/countries-cs.yaml +254 -0
- data/lib/countries/data/translations/countries-cv.yaml +254 -0
- data/lib/countries/data/translations/countries-cy.yaml +254 -0
- data/lib/countries/data/translations/countries-da.yaml +254 -0
- data/lib/countries/data/translations/countries-de.yaml +254 -0
- data/lib/countries/data/translations/countries-dv.yaml +254 -0
- data/lib/countries/data/translations/countries-dz.yaml +254 -0
- data/lib/countries/data/translations/countries-ee.yaml +254 -0
- data/lib/countries/data/translations/countries-el.yaml +254 -0
- data/lib/countries/data/translations/countries-en.yaml +254 -0
- data/lib/countries/data/translations/countries-eo.yaml +254 -0
- data/lib/countries/data/translations/countries-es.yaml +254 -0
- data/lib/countries/data/translations/countries-et.yaml +254 -0
- data/lib/countries/data/translations/countries-eu.yaml +254 -0
- data/lib/countries/data/translations/countries-fa.yaml +254 -0
- data/lib/countries/data/translations/countries-ff.yaml +254 -0
- data/lib/countries/data/translations/countries-fi.yaml +254 -0
- data/lib/countries/data/translations/countries-fo.yaml +254 -0
- data/lib/countries/data/translations/countries-fr.yaml +254 -0
- data/lib/countries/data/translations/countries-fy.yaml +254 -0
- data/lib/countries/data/translations/countries-ga.yaml +254 -0
- data/lib/countries/data/translations/countries-gl.yaml +254 -0
- data/lib/countries/data/translations/countries-gn.yaml +254 -0
- data/lib/countries/data/translations/countries-gu.yaml +254 -0
- data/lib/countries/data/translations/countries-gv.yaml +254 -0
- data/lib/countries/data/translations/countries-ha.yaml +254 -0
- data/lib/countries/data/translations/countries-he.yaml +254 -0
- data/lib/countries/data/translations/countries-hi.yaml +254 -0
- data/lib/countries/data/translations/countries-hr.yaml +254 -0
- data/lib/countries/data/translations/countries-ht.yaml +254 -0
- data/lib/countries/data/translations/countries-hu.yaml +254 -0
- data/lib/countries/data/translations/countries-hy.yaml +254 -0
- data/lib/countries/data/translations/countries-ia.yaml +254 -0
- data/lib/countries/data/translations/countries-id.yaml +254 -0
- data/lib/countries/data/translations/countries-io.yaml +254 -0
- data/lib/countries/data/translations/countries-is.yaml +254 -0
- data/lib/countries/data/translations/countries-it.yaml +254 -0
- data/lib/countries/data/translations/countries-iu.yaml +254 -0
- data/lib/countries/data/translations/countries-ja.yaml +254 -0
- data/lib/countries/data/translations/countries-ka.yaml +254 -0
- data/lib/countries/data/translations/countries-ki.yaml +254 -0
- data/lib/countries/data/translations/countries-kk.yaml +254 -0
- data/lib/countries/data/translations/countries-kl.yaml +254 -0
- data/lib/countries/data/translations/countries-km.yaml +254 -0
- data/lib/countries/data/translations/countries-kn.yaml +254 -0
- data/lib/countries/data/translations/countries-ko.yaml +254 -0
- data/lib/countries/data/translations/countries-ku.yaml +254 -0
- data/lib/countries/data/translations/countries-kv.yaml +254 -0
- data/lib/countries/data/translations/countries-kw.yaml +254 -0
- data/lib/countries/data/translations/countries-ky.yaml +254 -0
- data/lib/countries/data/translations/countries-lo.yaml +254 -0
- data/lib/countries/data/translations/countries-lt.yaml +254 -0
- data/lib/countries/data/translations/countries-lv.yaml +254 -0
- data/lib/countries/data/translations/countries-mi.yaml +254 -0
- data/lib/countries/data/translations/countries-mk.yaml +254 -0
- data/lib/countries/data/translations/countries-ml.yaml +254 -0
- data/lib/countries/data/translations/countries-mn.yaml +254 -0
- data/lib/countries/data/translations/countries-mr.yaml +254 -0
- data/lib/countries/data/translations/countries-ms.yaml +254 -0
- data/lib/countries/data/translations/countries-mt.yaml +254 -0
- data/lib/countries/data/translations/countries-my.yaml +254 -0
- data/lib/countries/data/translations/countries-na.yaml +254 -0
- data/lib/countries/data/translations/countries-nb.yaml +254 -0
- data/lib/countries/data/translations/countries-ne.yaml +254 -0
- data/lib/countries/data/translations/countries-nl.yaml +254 -0
- data/lib/countries/data/translations/countries-nn.yaml +254 -0
- data/lib/countries/data/translations/countries-nv.yaml +254 -0
- data/lib/countries/data/translations/countries-oc.yaml +254 -0
- data/lib/countries/data/translations/countries-or.yaml +254 -0
- data/lib/countries/data/translations/countries-pa.yaml +254 -0
- data/lib/countries/data/translations/countries-pi.yaml +254 -0
- data/lib/countries/data/translations/countries-pl.yaml +254 -0
- data/lib/countries/data/translations/countries-ps.yaml +254 -0
- data/lib/countries/data/translations/countries-pt.yaml +254 -0
- data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
- data/lib/countries/data/translations/countries-ro.yaml +254 -0
- data/lib/countries/data/translations/countries-ru.yaml +254 -0
- data/lib/countries/data/translations/countries-rw.yaml +254 -0
- data/lib/countries/data/translations/countries-sc.yaml +254 -0
- data/lib/countries/data/translations/countries-sd.yaml +254 -0
- data/lib/countries/data/translations/countries-si.yaml +254 -0
- data/lib/countries/data/translations/countries-sk.yaml +254 -0
- data/lib/countries/data/translations/countries-sl.yaml +254 -0
- data/lib/countries/data/translations/countries-so.yaml +254 -0
- data/lib/countries/data/translations/countries-sq.yaml +254 -0
- data/lib/countries/data/translations/countries-sr.yaml +254 -0
- data/lib/countries/data/translations/countries-sv.yaml +254 -0
- data/lib/countries/data/translations/countries-sw.yaml +254 -0
- data/lib/countries/data/translations/countries-ta.yaml +254 -0
- data/lib/countries/data/translations/countries-te.yaml +254 -0
- data/lib/countries/data/translations/countries-tg.yaml +254 -0
- data/lib/countries/data/translations/countries-th.yaml +254 -0
- data/lib/countries/data/translations/countries-ti.yaml +254 -0
- data/lib/countries/data/translations/countries-tk.yaml +254 -0
- data/lib/countries/data/translations/countries-tl.yaml +254 -0
- data/lib/countries/data/translations/countries-tr.yaml +254 -0
- data/lib/countries/data/translations/countries-tt.yaml +254 -0
- data/lib/countries/data/translations/countries-ug.yaml +254 -0
- data/lib/countries/data/translations/countries-uk.yaml +254 -0
- data/lib/countries/data/translations/countries-ur.yaml +254 -0
- data/lib/countries/data/translations/countries-uz.yaml +254 -0
- data/lib/countries/data/translations/countries-ve.yaml +254 -0
- data/lib/countries/data/translations/countries-vi.yaml +254 -0
- data/lib/countries/data/translations/countries-wa.yaml +254 -0
- data/lib/countries/data/translations/countries-wo.yaml +254 -0
- data/lib/countries/data/translations/countries-xh.yaml +254 -0
- data/lib/countries/data/translations/countries-yo.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
- data/lib/countries/data/translations/countries-zu.yaml +254 -0
- data/lib/countries/data.rb +45 -42
- data/lib/countries/global.rb +2 -0
- data/lib/countries/iso3166.rb +3 -1
- data/lib/countries/kwarg_struct.rb +2 -0
- data/lib/countries/mongoid.rb +2 -0
- data/lib/countries/sources/cldr/downloader.rb +8 -8
- data/lib/countries/sources/cldr/subdivision.rb +3 -0
- data/lib/countries/sources/cldr/subdivision_updater.rb +23 -17
- data/lib/countries/sources/local/cached_loader.rb +3 -0
- data/lib/countries/sources/local/subdivision.rb +5 -2
- data/lib/countries/sources.rb +2 -0
- data/lib/countries/structure.rb +1 -1
- data/lib/countries/subdivision.rb +21 -8
- data/lib/countries/tasks/geocoding.rake +15 -6
- data/lib/countries/tasks/postal_codes.rake +5 -3
- data/lib/countries/timezones.rb +5 -2
- data/lib/countries/translations.rb +2 -0
- data/lib/countries/version.rb +3 -1
- data/lib/countries.rb +2 -0
- data/spec/00_global_spec.rb +2 -0
- data/spec/configuration_spec.rb +11 -5
- data/spec/country_spec.rb +131 -38
- data/spec/data_spec.rb +85 -21
- data/spec/mongoid_spec.rb +2 -2
- data/spec/perf_spec.rb +16 -16
- data/spec/spec_helper.rb +2 -0
- data/spec/subdivision_spec.rb +6 -4
- data/spec/thread_safety_spec.rb +4 -3
- data/spec/timezone_spec.rb +2 -0
- metadata +146 -34
- data/lib/countries/cache/locales/zh.json +0 -1
- data/lib/countries/data/subdivisions/AI.yaml +0 -197
- data/lib/countries/data/subdivisions/BM.yaml +0 -155
- data/lib/countries/data/subdivisions/CK.yaml +0 -155
- data/lib/countries/data/subdivisions/EH.yaml +0 -80
- data/lib/countries/data/subdivisions/SJ.yaml +0 -29
- data/lib/countries/data/subdivisions/TK.yaml +0 -43
- data/lib/countries/data/translation_corrections.yaml +0 -51
- data/lib/countries/setup.rb +0 -18
@@ -1 +0,0 @@
|
|
1
|
-
{"AW":"阿鲁巴","AF":"阿富汗","AO":"安哥拉","AI":"安圭拉","AX":"奥兰群岛","AL":"阿尔巴尼亚","AD":"安道尔","AE":"阿联酋","AR":"阿根廷","AM":"亚美尼亚","AS":"美属萨摩亚","AQ":"南极洲","TF":"法属南半球领地","AG":"安提瓜和巴布达","AU":"澳大利亚","AT":"奥地利","AZ":"阿塞拜疆","BI":"布隆迪","BE":"比利时","BJ":"贝宁","BQ":"博奈尔、圣尤斯特歇斯岛和萨巴","BF":"布基纳法索","BD":"孟加拉","BG":"保加利亚","BH":"巴林","BS":"巴哈马","BA":"波斯尼亚和黑塞哥维那","BL":"圣巴泰勒米岛","BY":"白俄罗斯","BZ":"伯利兹","BM":"百慕大","BO":"波利维亚","BR":"巴西","BB":"巴巴多斯","BN":"文莱","BT":"不丹","BV":"布维群岛","BW":"博兹瓦那","CF":"中非","CA":"加拿大","CC":"科科斯群岛","CH":"瑞士","CL":"智利","CN":"中国","CI":"科特迪瓦","CM":"喀麦隆","CD":"刚果民主共和国","CG":"刚果","CK":"库克群岛","CO":"哥伦比亚","KM":"科摩罗","CV":"佛得角","CR":"哥斯达黎加","CU":"古巴","CW":"库拉索","CX":"圣诞岛","KY":"开曼群岛","CY":"塞浦路斯","CZ":"捷克","DE":"德国","DJ":"吉布提","DM":"多米尼克","DK":"丹麦","DO":"多米尼加共和国","DZ":"阿尔及利亚","EC":"厄瓜多尔","EG":"埃及","ER":"厄立特里亚","EH":"西撒哈拉","ES":"西班牙","EE":"爱沙尼亚","ET":"埃塞俄比亚","FI":"芬兰","FJ":"斐济","FK":"福克兰群岛(马尔维纳斯)","FR":"法国","FO":"法罗群岛","FM":"密克罗尼西亚","GA":"加蓬","GB":"英国","GE":"格鲁吉亚","GG":"根西岛","GH":"加纳","GI":"直布罗陀","GN":"几内亚","GP":"瓜德罗普","GM":"冈比亚","GW":"几内亚比绍","GQ":"赤道几内亚","GR":"希腊","GD":"格林纳达","GL":"格陵兰","GT":"瓜地马拉","GF":"法属圭亚那","GU":"关岛","GY":"圭亚那","HK":"香港","HM":"赫德岛与麦克唐纳群岛","HN":"洪都拉斯","HR":"克罗地亚","HT":"海地","HU":"匈牙利","ID":"印度尼西亚","IM":"曼岛","IN":"印度","IO":"英属印度洋领地","IE":"爱尔兰","IR":"伊朗","IQ":"伊拉克","IS":"冰岛","IL":"以色列","IT":"意大利","JM":"牙买加","JE":"泽西岛","JO":"约旦","JP":"日本","KZ":"哈萨克斯坦","KE":"肯尼亚","KG":"吉尔吉斯坦","KH":"柬埔寨","KI":"基里巴斯","KN":"圣基茨和尼维斯","KR":"韩国","KW":"科威特","LA":"老挝人民民主共和国","LB":"黎巴嫩","LR":"利比里亚","LY":"利比亚","LC":"圣路西亚","LI":"列支敦士登","LK":"斯里兰卡","LS":"莱索托","LT":"立陶宛","LU":"卢森堡","LV":"拉脱维亚","MO":"澳门","MF":"法属圣马丁","MA":"摩洛哥","MC":"摩纳哥","MD":"摩尔多瓦","MG":"马达加斯加","MV":"马尔代夫","MX":"墨西哥","MH":"马绍尔群岛","MK":"北马其顿","ML":"马里","MT":"马尔他","MM":"缅甸","ME":"黑山","MN":"蒙古","MP":"北马里亚纳群岛","MZ":"莫桑比克","MR":"毛里塔尼亚","MS":"蒙塞拉特岛","MQ":"马提尼克","MU":"毛里求斯","MW":"马拉维","MY":"马来西亚","YT":"马约特","NA":"纳米比亚","NC":"新喀里多尼亚","NE":"尼日尔","NF":"诺福克岛","NG":"尼日利亚","NI":"尼加拉瓜","NU":"纽埃","NL":"荷兰","NO":"挪威","NP":"尼泊尔","NR":"瑙鲁","NZ":"新西兰","OM":"阿曼","PK":"巴基斯坦","PA":"巴拿马","PN":"皮特克恩","PE":"秘鲁","PH":"菲律宾","PW":"帕劳","PG":"巴布亚新几内亚","PL":"波兰","PR":"波多黎各","KP":"朝鲜","PT":"葡萄牙","PY":"巴拉圭","PS":"巴勒斯坦","PF":"法属玻利尼西亚","QA":"卡塔尔","RE":"留尼汪","RO":"罗马尼亚","RU":"俄罗斯","RW":"卢旺达","SA":"沙特阿拉伯","SD":"苏丹","SN":"塞内加尔","SG":"新加坡","GS":"南乔治亚岛和南桑德韦奇岛","SH":"圣赫勒拿-阿森松-特里斯坦达库尼亚","SJ":"斯瓦尔巴特和扬马延岛","SB":"所罗门群岛","SL":"塞拉利昂","SV":"萨尔瓦多","SM":"圣马力诺市","SO":"索马里","PM":"圣皮埃尔和密克隆","RS":"塞尔维亚","SS":"南苏丹","ST":"圣多美和普林西比","SR":"苏里南","SK":"斯洛伐克","SI":"斯洛文尼亚","SE":"瑞典","SZ":"斯威士兰","SX":"荷属圣马丁","SC":"塞舌尔","SY":"叙利亚","TC":"特克斯和凯科斯群岛","TD":"乍得","TG":"多哥","TH":"泰国","TJ":"塔吉克斯坦","TK":"托克劳","TM":"土库曼斯坦","TL":"东帝汶","TO":"汤加","TT":"特里尼达和多巴哥","TN":"突尼斯","TR":"土耳其","TV":"图瓦卢","TW":"台湾","TZ":"坦桑尼亚","UG":"乌干达","UA":"乌克兰","UM":"美国本土外小岛屿","UY":"乌拉圭","US":"美国","UZ":"乌兹别克斯坦","VA":"梵地冈","VC":"圣文森特和格林纳丁斯","VE":"委内瑞拉","VG":"英属维尔京群岛","VI":"美属维尔京群岛","VN":"越南","VU":"瓦努阿图","WF":"瓦利斯和富图纳","WS":"萨摩亚","YE":"也门","ZA":"南非","ZM":"赞比亚","ZW":"津巴布韦"}
|
@@ -1,197 +0,0 @@
|
|
1
|
-
---
|
2
|
-
BP:
|
3
|
-
name: Blowing Point
|
4
|
-
code:
|
5
|
-
unofficial_names: Blowing Point
|
6
|
-
geo:
|
7
|
-
latitude: 18.177
|
8
|
-
longitude: -63.09161
|
9
|
-
min_latitude:
|
10
|
-
min_longitude:
|
11
|
-
max_latitude:
|
12
|
-
max_longitude:
|
13
|
-
translations:
|
14
|
-
en: Blowing Point
|
15
|
-
comments:
|
16
|
-
EE:
|
17
|
-
name: East End
|
18
|
-
code:
|
19
|
-
unofficial_names: East End
|
20
|
-
geo:
|
21
|
-
latitude: 18.234
|
22
|
-
longitude: -62.99728
|
23
|
-
min_latitude:
|
24
|
-
min_longitude:
|
25
|
-
max_latitude:
|
26
|
-
max_longitude:
|
27
|
-
translations:
|
28
|
-
en: East End
|
29
|
-
comments:
|
30
|
-
GH:
|
31
|
-
name: George Hill
|
32
|
-
code:
|
33
|
-
unofficial_names: George Hill
|
34
|
-
geo:
|
35
|
-
latitude: 18.19943
|
36
|
-
longitude: -63.06517
|
37
|
-
min_latitude:
|
38
|
-
min_longitude:
|
39
|
-
max_latitude:
|
40
|
-
max_longitude:
|
41
|
-
translations:
|
42
|
-
en: George Hill
|
43
|
-
comments:
|
44
|
-
IH:
|
45
|
-
name: Island Harbour
|
46
|
-
code:
|
47
|
-
unofficial_names: Island Harbour
|
48
|
-
geo:
|
49
|
-
latitude: 18.25617
|
50
|
-
longitude: -63.00724
|
51
|
-
min_latitude:
|
52
|
-
min_longitude:
|
53
|
-
max_latitude:
|
54
|
-
max_longitude:
|
55
|
-
translations:
|
56
|
-
en: Island Harbour
|
57
|
-
comments:
|
58
|
-
NH:
|
59
|
-
name: North Hill
|
60
|
-
code:
|
61
|
-
unofficial_names: North Hill
|
62
|
-
geo:
|
63
|
-
latitude: 18.20603
|
64
|
-
longitude: -63.07607
|
65
|
-
min_latitude:
|
66
|
-
min_longitude:
|
67
|
-
max_latitude:
|
68
|
-
max_longitude:
|
69
|
-
translations:
|
70
|
-
en: North Hill
|
71
|
-
comments:
|
72
|
-
NS:
|
73
|
-
name: North Side
|
74
|
-
code:
|
75
|
-
unofficial_names: North Side
|
76
|
-
geo:
|
77
|
-
latitude: 18.22931
|
78
|
-
longitude: -63.0468
|
79
|
-
min_latitude:
|
80
|
-
min_longitude:
|
81
|
-
max_latitude:
|
82
|
-
max_longitude:
|
83
|
-
translations:
|
84
|
-
en: North Side
|
85
|
-
comments:
|
86
|
-
SG:
|
87
|
-
name: Sandy Ground
|
88
|
-
code:
|
89
|
-
unofficial_names: Sandy Ground
|
90
|
-
geo:
|
91
|
-
latitude: 18.20399
|
92
|
-
longitude: -63.08993
|
93
|
-
min_latitude:
|
94
|
-
min_longitude:
|
95
|
-
max_latitude:
|
96
|
-
max_longitude:
|
97
|
-
translations:
|
98
|
-
en: Sandy Ground
|
99
|
-
comments:
|
100
|
-
SH:
|
101
|
-
name: Sandy Hill
|
102
|
-
code:
|
103
|
-
unofficial_names: Sandy Hill
|
104
|
-
geo:
|
105
|
-
latitude: 18.22066
|
106
|
-
longitude: -63.01178
|
107
|
-
min_latitude:
|
108
|
-
min_longitude:
|
109
|
-
max_latitude:
|
110
|
-
max_longitude:
|
111
|
-
translations:
|
112
|
-
en: Sandy Hill
|
113
|
-
comments:
|
114
|
-
SO:
|
115
|
-
name: South Hill
|
116
|
-
code:
|
117
|
-
unofficial_names: South Hill
|
118
|
-
geo:
|
119
|
-
latitude: 18.19177
|
120
|
-
longitude: -63.0898
|
121
|
-
min_latitude:
|
122
|
-
min_longitude:
|
123
|
-
max_latitude:
|
124
|
-
max_longitude:
|
125
|
-
translations:
|
126
|
-
en: South Hill
|
127
|
-
comments:
|
128
|
-
ST:
|
129
|
-
name: Stoney Ground
|
130
|
-
code:
|
131
|
-
unofficial_names: Stoney Ground
|
132
|
-
geo:
|
133
|
-
latitude: 18.22112
|
134
|
-
longitude: -63.04466
|
135
|
-
min_latitude:
|
136
|
-
min_longitude:
|
137
|
-
max_latitude:
|
138
|
-
max_longitude:
|
139
|
-
translations:
|
140
|
-
en: Stoney Ground
|
141
|
-
comments:
|
142
|
-
TF:
|
143
|
-
name: The Farrington
|
144
|
-
code:
|
145
|
-
unofficial_names: The Farrington
|
146
|
-
geo:
|
147
|
-
latitude: 18.21533
|
148
|
-
longitude: -63.02123
|
149
|
-
min_latitude:
|
150
|
-
min_longitude:
|
151
|
-
max_latitude:
|
152
|
-
max_longitude:
|
153
|
-
translations:
|
154
|
-
en: The Farrington
|
155
|
-
comments:
|
156
|
-
TQ:
|
157
|
-
name: The Quarter
|
158
|
-
code:
|
159
|
-
unofficial_names: The Quarter
|
160
|
-
geo:
|
161
|
-
latitude: 18.21158
|
162
|
-
longitude: -63.04504
|
163
|
-
min_latitude:
|
164
|
-
min_longitude:
|
165
|
-
max_latitude:
|
166
|
-
max_longitude:
|
167
|
-
translations:
|
168
|
-
en: The Quarter
|
169
|
-
comments:
|
170
|
-
TV:
|
171
|
-
name: The Valley
|
172
|
-
code:
|
173
|
-
unofficial_names: The Valley
|
174
|
-
geo:
|
175
|
-
latitude: 18.21475
|
176
|
-
longitude: -63.05706
|
177
|
-
min_latitude:
|
178
|
-
min_longitude:
|
179
|
-
max_latitude:
|
180
|
-
max_longitude:
|
181
|
-
translations:
|
182
|
-
en: The Valley
|
183
|
-
comments:
|
184
|
-
WE:
|
185
|
-
name: West End
|
186
|
-
code:
|
187
|
-
unofficial_names: West End
|
188
|
-
geo:
|
189
|
-
latitude: 18.17138
|
190
|
-
longitude: -63.15113
|
191
|
-
min_latitude:
|
192
|
-
min_longitude:
|
193
|
-
max_latitude:
|
194
|
-
max_longitude:
|
195
|
-
translations:
|
196
|
-
en: West End
|
197
|
-
comments:
|
@@ -1,155 +0,0 @@
|
|
1
|
-
---
|
2
|
-
DS:
|
3
|
-
name: Devonshire
|
4
|
-
code:
|
5
|
-
unofficial_names: Devonshire
|
6
|
-
geo:
|
7
|
-
latitude: 32.30278
|
8
|
-
longitude: -64.75583
|
9
|
-
min_latitude:
|
10
|
-
min_longitude:
|
11
|
-
max_latitude:
|
12
|
-
max_longitude:
|
13
|
-
translations:
|
14
|
-
en: Devonshire
|
15
|
-
comments:
|
16
|
-
GC:
|
17
|
-
name: Saint George
|
18
|
-
code:
|
19
|
-
unofficial_names: Saint George
|
20
|
-
geo:
|
21
|
-
latitude: 32.38417
|
22
|
-
longitude: -64.67639
|
23
|
-
min_latitude:
|
24
|
-
min_longitude:
|
25
|
-
max_latitude:
|
26
|
-
max_longitude:
|
27
|
-
translations:
|
28
|
-
en: Saint George
|
29
|
-
comments:
|
30
|
-
HA:
|
31
|
-
name: Hamilton
|
32
|
-
code:
|
33
|
-
unofficial_names: Hamilton
|
34
|
-
geo:
|
35
|
-
latitude: 32.34222
|
36
|
-
longitude: -64.72833
|
37
|
-
min_latitude:
|
38
|
-
min_longitude:
|
39
|
-
max_latitude:
|
40
|
-
max_longitude:
|
41
|
-
translations:
|
42
|
-
en: Hamilton
|
43
|
-
comments:
|
44
|
-
HC:
|
45
|
-
name: Hamilton City
|
46
|
-
code:
|
47
|
-
unofficial_names: Hamilton City
|
48
|
-
geo:
|
49
|
-
latitude: 32.29326
|
50
|
-
longitude: -64.78063
|
51
|
-
min_latitude:
|
52
|
-
min_longitude:
|
53
|
-
max_latitude:
|
54
|
-
max_longitude:
|
55
|
-
translations:
|
56
|
-
en: Hamilton City
|
57
|
-
comments:
|
58
|
-
PB:
|
59
|
-
name: Pembroke
|
60
|
-
code:
|
61
|
-
unofficial_names: Pembroke
|
62
|
-
geo:
|
63
|
-
latitude: 32.29944
|
64
|
-
longitude: -64.79278
|
65
|
-
min_latitude:
|
66
|
-
min_longitude:
|
67
|
-
max_latitude:
|
68
|
-
max_longitude:
|
69
|
-
translations:
|
70
|
-
en: Pembroke
|
71
|
-
comments:
|
72
|
-
PG:
|
73
|
-
name: Paget
|
74
|
-
code:
|
75
|
-
unofficial_names: Paget
|
76
|
-
geo:
|
77
|
-
latitude: 32.27833
|
78
|
-
longitude: -64.78167
|
79
|
-
min_latitude:
|
80
|
-
min_longitude:
|
81
|
-
max_latitude:
|
82
|
-
max_longitude:
|
83
|
-
translations:
|
84
|
-
en: Paget
|
85
|
-
comments:
|
86
|
-
SA:
|
87
|
-
name: Sandys
|
88
|
-
code:
|
89
|
-
unofficial_names: Sandys
|
90
|
-
geo:
|
91
|
-
latitude: 32.29345
|
92
|
-
longitude: -64.86828
|
93
|
-
min_latitude:
|
94
|
-
min_longitude:
|
95
|
-
max_latitude:
|
96
|
-
max_longitude:
|
97
|
-
translations:
|
98
|
-
en: Sandys
|
99
|
-
comments:
|
100
|
-
SG:
|
101
|
-
name: Saint George's
|
102
|
-
code:
|
103
|
-
unofficial_names: Saint George's
|
104
|
-
geo:
|
105
|
-
latitude: 32.3726
|
106
|
-
longitude: -64.69437
|
107
|
-
min_latitude:
|
108
|
-
min_longitude:
|
109
|
-
max_latitude:
|
110
|
-
max_longitude:
|
111
|
-
translations:
|
112
|
-
en: Saint George's
|
113
|
-
comments:
|
114
|
-
SH:
|
115
|
-
name: Southampton
|
116
|
-
code:
|
117
|
-
unofficial_names: Southampton
|
118
|
-
geo:
|
119
|
-
latitude: 32.25083
|
120
|
-
longitude: -64.85639
|
121
|
-
min_latitude:
|
122
|
-
min_longitude:
|
123
|
-
max_latitude:
|
124
|
-
max_longitude:
|
125
|
-
translations:
|
126
|
-
en: Southampton
|
127
|
-
comments:
|
128
|
-
SM:
|
129
|
-
name: Smith's
|
130
|
-
code:
|
131
|
-
unofficial_names: Smith's
|
132
|
-
geo:
|
133
|
-
latitude: 32.31528
|
134
|
-
longitude: -64.73528
|
135
|
-
min_latitude:
|
136
|
-
min_longitude:
|
137
|
-
max_latitude:
|
138
|
-
max_longitude:
|
139
|
-
translations:
|
140
|
-
en: Smith's
|
141
|
-
comments:
|
142
|
-
WA:
|
143
|
-
name: Warwick
|
144
|
-
code:
|
145
|
-
unofficial_names: Warwick
|
146
|
-
geo:
|
147
|
-
latitude: 32.26583
|
148
|
-
longitude: -64.80722
|
149
|
-
min_latitude:
|
150
|
-
min_longitude:
|
151
|
-
max_latitude:
|
152
|
-
max_longitude:
|
153
|
-
translations:
|
154
|
-
en: Warwick
|
155
|
-
comments:
|
@@ -1,155 +0,0 @@
|
|
1
|
-
---
|
2
|
-
AI:
|
3
|
-
name: Aitutaki
|
4
|
-
code:
|
5
|
-
unofficial_names: Aitutaki
|
6
|
-
geo:
|
7
|
-
latitude: -18.85593
|
8
|
-
longitude: -159.78567
|
9
|
-
min_latitude:
|
10
|
-
min_longitude:
|
11
|
-
max_latitude:
|
12
|
-
max_longitude:
|
13
|
-
translations:
|
14
|
-
en: Aitutaki
|
15
|
-
comments:
|
16
|
-
AT:
|
17
|
-
name: Atiu
|
18
|
-
code:
|
19
|
-
unofficial_names: Atiu
|
20
|
-
geo:
|
21
|
-
latitude: -19.99569
|
22
|
-
longitude: -158.10948
|
23
|
-
min_latitude:
|
24
|
-
min_longitude:
|
25
|
-
max_latitude:
|
26
|
-
max_longitude:
|
27
|
-
translations:
|
28
|
-
en: Atiu
|
29
|
-
comments:
|
30
|
-
MG:
|
31
|
-
name: Mangaia
|
32
|
-
code:
|
33
|
-
unofficial_names: Mangaia
|
34
|
-
geo:
|
35
|
-
latitude: -21.92601
|
36
|
-
longitude: -157.91851
|
37
|
-
min_latitude:
|
38
|
-
min_longitude:
|
39
|
-
max_latitude:
|
40
|
-
max_longitude:
|
41
|
-
translations:
|
42
|
-
en: Mangaia
|
43
|
-
comments:
|
44
|
-
MK:
|
45
|
-
name: Manihiki
|
46
|
-
code:
|
47
|
-
unofficial_names: Manihiki
|
48
|
-
geo:
|
49
|
-
latitude: -10.42603
|
50
|
-
longitude: -160.97992
|
51
|
-
min_latitude:
|
52
|
-
min_longitude:
|
53
|
-
max_latitude:
|
54
|
-
max_longitude:
|
55
|
-
translations:
|
56
|
-
en: Manihiki
|
57
|
-
comments:
|
58
|
-
MU:
|
59
|
-
name: Ma'uke
|
60
|
-
code:
|
61
|
-
unofficial_names: Ma'uke
|
62
|
-
geo:
|
63
|
-
latitude: -20.16732
|
64
|
-
longitude: -157.33675
|
65
|
-
min_latitude:
|
66
|
-
min_longitude:
|
67
|
-
max_latitude:
|
68
|
-
max_longitude:
|
69
|
-
translations:
|
70
|
-
en: Ma'uke
|
71
|
-
comments:
|
72
|
-
MT:
|
73
|
-
name: Mitiaro
|
74
|
-
code:
|
75
|
-
unofficial_names: Mitiaro
|
76
|
-
geo:
|
77
|
-
latitude: -19.86861
|
78
|
-
longitude: -157.709
|
79
|
-
min_latitude:
|
80
|
-
min_longitude:
|
81
|
-
max_latitude:
|
82
|
-
max_longitude:
|
83
|
-
translations:
|
84
|
-
en: Mitiaro
|
85
|
-
comments:
|
86
|
-
PA:
|
87
|
-
name: Palmerston
|
88
|
-
code:
|
89
|
-
unofficial_names: Palmerston
|
90
|
-
geo:
|
91
|
-
latitude: -18.05856
|
92
|
-
longitude: -163.18233
|
93
|
-
min_latitude:
|
94
|
-
min_longitude:
|
95
|
-
max_latitude:
|
96
|
-
max_longitude:
|
97
|
-
translations:
|
98
|
-
en: Palmerston
|
99
|
-
comments:
|
100
|
-
PE:
|
101
|
-
name: Penrhyn
|
102
|
-
code:
|
103
|
-
unofficial_names: Penrhyn
|
104
|
-
geo:
|
105
|
-
latitude: -8.99479
|
106
|
-
longitude: -157.96555
|
107
|
-
min_latitude:
|
108
|
-
min_longitude:
|
109
|
-
max_latitude:
|
110
|
-
max_longitude:
|
111
|
-
translations:
|
112
|
-
en: Penrhyn
|
113
|
-
comments:
|
114
|
-
PU:
|
115
|
-
name: Pukapuka
|
116
|
-
code:
|
117
|
-
unofficial_names: Pukapuka
|
118
|
-
geo:
|
119
|
-
latitude: -10.85371
|
120
|
-
longitude: -165.84738
|
121
|
-
min_latitude:
|
122
|
-
min_longitude:
|
123
|
-
max_latitude:
|
124
|
-
max_longitude:
|
125
|
-
translations:
|
126
|
-
en: Pukapuka
|
127
|
-
comments:
|
128
|
-
RK:
|
129
|
-
name: Rakahanga
|
130
|
-
code:
|
131
|
-
unofficial_names: Rakahanga
|
132
|
-
geo:
|
133
|
-
latitude: -10.03174
|
134
|
-
longitude: -161.09098
|
135
|
-
min_latitude:
|
136
|
-
min_longitude:
|
137
|
-
max_latitude:
|
138
|
-
max_longitude:
|
139
|
-
translations:
|
140
|
-
en: Rakahanga
|
141
|
-
comments:
|
142
|
-
RR:
|
143
|
-
name: Rarotonga
|
144
|
-
code:
|
145
|
-
unofficial_names: Rarotonga
|
146
|
-
geo:
|
147
|
-
latitude: -21.23274
|
148
|
-
longitude: -159.77245
|
149
|
-
min_latitude:
|
150
|
-
min_longitude:
|
151
|
-
max_latitude:
|
152
|
-
max_longitude:
|
153
|
-
translations:
|
154
|
-
en: Rarotonga
|
155
|
-
comments:
|
@@ -1,80 +0,0 @@
|
|
1
|
-
---
|
2
|
-
BOD:
|
3
|
-
name: Boujdour
|
4
|
-
code:
|
5
|
-
unofficial_names:
|
6
|
-
- Bojador
|
7
|
-
- Boujdour
|
8
|
-
- Bu Jaydur
|
9
|
-
- Bujdur
|
10
|
-
- Cabo Bojador
|
11
|
-
geo:
|
12
|
-
latitude: 26.1118596
|
13
|
-
longitude: -14.4781532
|
14
|
-
min_latitude: 26.0752699
|
15
|
-
min_longitude: -14.5005798
|
16
|
-
max_latitude: 26.1565487
|
17
|
-
max_longitude: -14.4467785
|
18
|
-
translations:
|
19
|
-
en: Boujdour
|
20
|
-
comments:
|
21
|
-
ESM:
|
22
|
-
name: Es Semara
|
23
|
-
code:
|
24
|
-
unofficial_names:
|
25
|
-
- Es-Smara
|
26
|
-
- Essemara
|
27
|
-
- Semara
|
28
|
-
- Smara
|
29
|
-
- as-Samarah
|
30
|
-
- as-Smara
|
31
|
-
geo:
|
32
|
-
latitude: 27.1725996
|
33
|
-
longitude: -10.2600125
|
34
|
-
min_latitude: 25.907352
|
35
|
-
min_longitude: -12.57755
|
36
|
-
max_latitude: 27.6751252
|
37
|
-
max_longitude: -8.670276
|
38
|
-
translations:
|
39
|
-
en: Es Semara
|
40
|
-
comments:
|
41
|
-
LAA:
|
42
|
-
name: Laayoune
|
43
|
-
code:
|
44
|
-
unofficial_names:
|
45
|
-
- Aaiún
|
46
|
-
- Al Ayūn
|
47
|
-
- Al-Uyun
|
48
|
-
- Ayūn
|
49
|
-
- El Aaiún
|
50
|
-
- La Youne
|
51
|
-
- Laayoune
|
52
|
-
- Laʿyoun
|
53
|
-
- Lâayoun
|
54
|
-
- al-Ayun
|
55
|
-
geo:
|
56
|
-
latitude: 27.1252867
|
57
|
-
longitude: -13.1625005
|
58
|
-
min_latitude: 27.0811371
|
59
|
-
min_longitude: -13.2541466
|
60
|
-
max_latitude: 27.1669433
|
61
|
-
max_longitude: -13.0969906
|
62
|
-
translations:
|
63
|
-
en: Laayoune
|
64
|
-
comments:
|
65
|
-
OUD:
|
66
|
-
name: Oued el Dahab
|
67
|
-
code:
|
68
|
-
unofficial_names:
|
69
|
-
- Oued edh Dheheb
|
70
|
-
- Wad adh-Dhahab
|
71
|
-
geo:
|
72
|
-
latitude: 23.6989784
|
73
|
-
longitude: -15.9322297
|
74
|
-
min_latitude: 23.6982227
|
75
|
-
min_longitude: -15.9325378
|
76
|
-
max_latitude: 23.6996106
|
77
|
-
max_longitude: -15.9319948
|
78
|
-
translations:
|
79
|
-
en: Oued el Dahab
|
80
|
-
comments:
|
@@ -1,29 +0,0 @@
|
|
1
|
-
---
|
2
|
-
'21':
|
3
|
-
name: Svalbard
|
4
|
-
code:
|
5
|
-
unofficial_names: Svalbard
|
6
|
-
geo:
|
7
|
-
latitude: 78.15706
|
8
|
-
longitude: 15.86426
|
9
|
-
min_latitude:
|
10
|
-
min_longitude:
|
11
|
-
max_latitude:
|
12
|
-
max_longitude:
|
13
|
-
translations:
|
14
|
-
en: Svalbard
|
15
|
-
comments:
|
16
|
-
'22':
|
17
|
-
name: Jan Mayen
|
18
|
-
code:
|
19
|
-
unofficial_names: Jan Mayen
|
20
|
-
geo:
|
21
|
-
latitude: 70.98333
|
22
|
-
longitude: -8.5
|
23
|
-
min_latitude:
|
24
|
-
min_longitude:
|
25
|
-
max_latitude:
|
26
|
-
max_longitude:
|
27
|
-
translations:
|
28
|
-
en: Jan Mayen
|
29
|
-
comments:
|
@@ -1,43 +0,0 @@
|
|
1
|
-
---
|
2
|
-
A:
|
3
|
-
name: Atafu
|
4
|
-
code:
|
5
|
-
unofficial_names: Atafu
|
6
|
-
geo:
|
7
|
-
latitude: -8.558
|
8
|
-
longitude: -172.497
|
9
|
-
min_latitude:
|
10
|
-
min_longitude:
|
11
|
-
max_latitude:
|
12
|
-
max_longitude:
|
13
|
-
translations:
|
14
|
-
en: Atafu
|
15
|
-
comments:
|
16
|
-
F:
|
17
|
-
name: Fakaofo
|
18
|
-
code:
|
19
|
-
unofficial_names: Fakaofo
|
20
|
-
geo:
|
21
|
-
latitude: -9.376
|
22
|
-
longitude: -171.233
|
23
|
-
min_latitude:
|
24
|
-
min_longitude:
|
25
|
-
max_latitude:
|
26
|
-
max_longitude:
|
27
|
-
translations:
|
28
|
-
en: Fakaofo
|
29
|
-
comments:
|
30
|
-
N:
|
31
|
-
name: Nukunonu
|
32
|
-
code:
|
33
|
-
unofficial_names: Nukunonu
|
34
|
-
geo:
|
35
|
-
latitude: -9.169
|
36
|
-
longitude: -171.83
|
37
|
-
min_latitude:
|
38
|
-
min_longitude:
|
39
|
-
max_latitude:
|
40
|
-
max_longitude:
|
41
|
-
translations:
|
42
|
-
en: Nukunonu
|
43
|
-
comments:
|