address_composer 0.1.1.pre → 0.1.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/address-formatting/.travis.yml +10 -0
- data/address-formatting/LICENSE.txt +21 -0
- data/address-formatting/README.md +153 -0
- data/address-formatting/bin/coverage.pl +120 -0
- data/address-formatting/bin/run_tests.t +62 -0
- data/address-formatting/conf/abbreviations/ca.yaml +4 -0
- data/address-formatting/conf/abbreviations/cs.yaml +7 -0
- data/address-formatting/conf/abbreviations/de.yaml +7 -0
- data/address-formatting/conf/abbreviations/dk.yaml +17 -0
- data/address-formatting/conf/abbreviations/en.yaml +31 -0
- data/address-formatting/conf/abbreviations/es.yaml +25 -0
- data/address-formatting/conf/abbreviations/et.yaml +9 -0
- data/address-formatting/conf/abbreviations/eu.yaml +5 -0
- data/address-formatting/conf/abbreviations/fi.yaml +19 -0
- data/address-formatting/conf/abbreviations/fr.yaml +10 -0
- data/address-formatting/conf/abbreviations/hu.yaml +4 -0
- data/address-formatting/conf/abbreviations/it.yaml +32 -0
- data/address-formatting/conf/abbreviations/nl.yaml +13 -0
- data/address-formatting/conf/abbreviations/pt.yaml +31 -0
- data/address-formatting/conf/abbreviations/ro.yaml +5 -0
- data/address-formatting/conf/abbreviations/se.yaml +16 -0
- data/address-formatting/conf/abbreviations/sk.yaml +22 -0
- data/address-formatting/conf/abbreviations/tr.yaml +12 -0
- data/address-formatting/conf/abbreviations/uk.yaml +11 -0
- data/address-formatting/conf/components.yaml +71 -0
- data/address-formatting/conf/countries/worldwide.yaml +1986 -0
- data/address-formatting/conf/country2lang.yaml +258 -0
- data/address-formatting/conf/country_codes.yaml +252 -0
- data/address-formatting/conf/county_codes.yaml +410 -0
- data/address-formatting/conf/state_codes.yaml +1498 -0
- data/address-formatting/opencage_logo_300_150.png +0 -0
- data/address-formatting/testcases/countries/ad.yaml +20 -0
- data/address-formatting/testcases/countries/ae.yaml +82 -0
- data/address-formatting/testcases/countries/af.yaml +19 -0
- data/address-formatting/testcases/countries/ag.yaml +18 -0
- data/address-formatting/testcases/countries/ai.yaml +19 -0
- data/address-formatting/testcases/countries/al.yaml +20 -0
- data/address-formatting/testcases/countries/am.yaml +18 -0
- data/address-formatting/testcases/countries/ao.yaml +22 -0
- data/address-formatting/testcases/countries/aq.yaml +18 -0
- data/address-formatting/testcases/countries/ar.yaml +23 -0
- data/address-formatting/testcases/countries/as.yaml +21 -0
- data/address-formatting/testcases/countries/at.yaml +17 -0
- data/address-formatting/testcases/countries/au.yaml +81 -0
- data/address-formatting/testcases/countries/aw.yaml +19 -0
- data/address-formatting/testcases/countries/ax.yaml +20 -0
- data/address-formatting/testcases/countries/az.yaml +21 -0
- data/address-formatting/testcases/countries/ba.yaml +23 -0
- data/address-formatting/testcases/countries/bb.yaml +20 -0
- data/address-formatting/testcases/countries/bd.yaml +23 -0
- data/address-formatting/testcases/countries/be.yaml +20 -0
- data/address-formatting/testcases/countries/bf.yaml +22 -0
- data/address-formatting/testcases/countries/bg.yaml +20 -0
- data/address-formatting/testcases/countries/bh.yaml +63 -0
- data/address-formatting/testcases/countries/bi.yaml +21 -0
- data/address-formatting/testcases/countries/bj.yaml +18 -0
- data/address-formatting/testcases/countries/bl.yaml +21 -0
- data/address-formatting/testcases/countries/bm.yaml +19 -0
- data/address-formatting/testcases/countries/bn.yaml +20 -0
- data/address-formatting/testcases/countries/bo.yaml +19 -0
- data/address-formatting/testcases/countries/bq.yaml +20 -0
- data/address-formatting/testcases/countries/br.yaml +62 -0
- data/address-formatting/testcases/countries/bs.yaml +19 -0
- data/address-formatting/testcases/countries/bt.yaml +19 -0
- data/address-formatting/testcases/countries/bv.yaml +11 -0
- data/address-formatting/testcases/countries/bw.yaml +17 -0
- data/address-formatting/testcases/countries/by.yaml +24 -0
- data/address-formatting/testcases/countries/bz.yaml +20 -0
- data/address-formatting/testcases/countries/ca.yaml +72 -0
- data/address-formatting/testcases/countries/cc.yaml +17 -0
- data/address-formatting/testcases/countries/cd.yaml +21 -0
- data/address-formatting/testcases/countries/cf.yaml +18 -0
- data/address-formatting/testcases/countries/cg.yaml +21 -0
- data/address-formatting/testcases/countries/ch.yaml +21 -0
- data/address-formatting/testcases/countries/ci.yaml +21 -0
- data/address-formatting/testcases/countries/ck.yaml +17 -0
- data/address-formatting/testcases/countries/cl.yaml +21 -0
- data/address-formatting/testcases/countries/cm.yaml +22 -0
- data/address-formatting/testcases/countries/cn.yaml +24 -0
- data/address-formatting/testcases/countries/co.yaml +18 -0
- data/address-formatting/testcases/countries/cr.yaml +21 -0
- data/address-formatting/testcases/countries/cu.yaml +22 -0
- data/address-formatting/testcases/countries/cv.yaml +22 -0
- data/address-formatting/testcases/countries/cw.yaml +21 -0
- data/address-formatting/testcases/countries/cx.yaml +19 -0
- data/address-formatting/testcases/countries/cy.yaml +21 -0
- data/address-formatting/testcases/countries/cz.yaml +20 -0
- data/address-formatting/testcases/countries/de.yaml +253 -0
- data/address-formatting/testcases/countries/dj.yaml +20 -0
- data/address-formatting/testcases/countries/dk.yaml +17 -0
- data/address-formatting/testcases/countries/dm.yaml +21 -0
- data/address-formatting/testcases/countries/do.yaml +24 -0
- data/address-formatting/testcases/countries/dz.yaml +20 -0
- data/address-formatting/testcases/countries/ec.yaml +23 -0
- data/address-formatting/testcases/countries/ee.yaml +19 -0
- data/address-formatting/testcases/countries/eg.yaml +88 -0
- data/address-formatting/testcases/countries/eh.yaml +22 -0
- data/address-formatting/testcases/countries/er.yaml +20 -0
- data/address-formatting/testcases/countries/es.yaml +44 -0
- data/address-formatting/testcases/countries/et.yaml +20 -0
- data/address-formatting/testcases/countries/fi.yaml +20 -0
- data/address-formatting/testcases/countries/fj.yaml +19 -0
- data/address-formatting/testcases/countries/fk.yaml +29 -0
- data/address-formatting/testcases/countries/fm.yaml +20 -0
- data/address-formatting/testcases/countries/fo.yaml +20 -0
- data/address-formatting/testcases/countries/fr.yaml +201 -0
- data/address-formatting/testcases/countries/ga.yaml +23 -0
- data/address-formatting/testcases/countries/gb.yaml +147 -0
- data/address-formatting/testcases/countries/gd.yaml +18 -0
- data/address-formatting/testcases/countries/ge.yaml +16 -0
- data/address-formatting/testcases/countries/gf.yaml +17 -0
- data/address-formatting/testcases/countries/gg.yaml +19 -0
- data/address-formatting/testcases/countries/gh.yaml +22 -0
- data/address-formatting/testcases/countries/gi.yaml +17 -0
- data/address-formatting/testcases/countries/gl.yaml +19 -0
- data/address-formatting/testcases/countries/gm.yaml +18 -0
- data/address-formatting/testcases/countries/gn.yaml +20 -0
- data/address-formatting/testcases/countries/gp.yaml +22 -0
- data/address-formatting/testcases/countries/gq.yaml +21 -0
- data/address-formatting/testcases/countries/gr.yaml +20 -0
- data/address-formatting/testcases/countries/gs.yaml +17 -0
- data/address-formatting/testcases/countries/gt.yaml +23 -0
- data/address-formatting/testcases/countries/gu.yaml +19 -0
- data/address-formatting/testcases/countries/gw.yaml +22 -0
- data/address-formatting/testcases/countries/gy.yaml +20 -0
- data/address-formatting/testcases/countries/hk.yaml +20 -0
- data/address-formatting/testcases/countries/hm.yaml +15 -0
- data/address-formatting/testcases/countries/hn.yaml +23 -0
- data/address-formatting/testcases/countries/hr.yaml +19 -0
- data/address-formatting/testcases/countries/ht.yaml +22 -0
- data/address-formatting/testcases/countries/hu.yaml +24 -0
- data/address-formatting/testcases/countries/id.yaml +19 -0
- data/address-formatting/testcases/countries/ie.yaml +67 -0
- data/address-formatting/testcases/countries/il.yaml +21 -0
- data/address-formatting/testcases/countries/im.yaml +19 -0
- data/address-formatting/testcases/countries/in.yaml +32 -0
- data/address-formatting/testcases/countries/io.yaml +16 -0
- data/address-formatting/testcases/countries/iq.yaml +94 -0
- data/address-formatting/testcases/countries/ir.yaml +19 -0
- data/address-formatting/testcases/countries/is.yaml +19 -0
- data/address-formatting/testcases/countries/it.yaml +48 -0
- data/address-formatting/testcases/countries/je.yaml +15 -0
- data/address-formatting/testcases/countries/jm.yaml +21 -0
- data/address-formatting/testcases/countries/jo.yaml +78 -0
- data/address-formatting/testcases/countries/jp.yaml +22 -0
- data/address-formatting/testcases/countries/ke.yaml +18 -0
- data/address-formatting/testcases/countries/kg.yaml +21 -0
- data/address-formatting/testcases/countries/kh.yaml +21 -0
- data/address-formatting/testcases/countries/ki.yaml +17 -0
- data/address-formatting/testcases/countries/km.yaml +18 -0
- data/address-formatting/testcases/countries/kn.yaml +18 -0
- data/address-formatting/testcases/countries/kp.yaml +21 -0
- data/address-formatting/testcases/countries/kr.yaml +21 -0
- data/address-formatting/testcases/countries/kw.yaml +69 -0
- data/address-formatting/testcases/countries/ky.yaml +21 -0
- data/address-formatting/testcases/countries/kz.yaml +19 -0
- data/address-formatting/testcases/countries/la.yaml +19 -0
- data/address-formatting/testcases/countries/lb.yaml +80 -0
- data/address-formatting/testcases/countries/lc.yaml +17 -0
- data/address-formatting/testcases/countries/li.yaml +18 -0
- data/address-formatting/testcases/countries/lk.yaml +23 -0
- data/address-formatting/testcases/countries/lr.yaml +22 -0
- data/address-formatting/testcases/countries/ls.yaml +19 -0
- data/address-formatting/testcases/countries/lt.yaml +17 -0
- data/address-formatting/testcases/countries/lu.yaml +22 -0
- data/address-formatting/testcases/countries/lv.yaml +17 -0
- data/address-formatting/testcases/countries/ly.yaml +77 -0
- data/address-formatting/testcases/countries/ma.yaml +18 -0
- data/address-formatting/testcases/countries/mc.yaml +20 -0
- data/address-formatting/testcases/countries/md.yaml +17 -0
- data/address-formatting/testcases/countries/me.yaml +19 -0
- data/address-formatting/testcases/countries/mf.yaml +20 -0
- data/address-formatting/testcases/countries/mg.yaml +21 -0
- data/address-formatting/testcases/countries/mh.yaml +19 -0
- data/address-formatting/testcases/countries/mk.yaml +21 -0
- data/address-formatting/testcases/countries/ml.yaml +22 -0
- data/address-formatting/testcases/countries/mm.yaml +20 -0
- data/address-formatting/testcases/countries/mn.yaml +20 -0
- data/address-formatting/testcases/countries/mo.yaml +23 -0
- data/address-formatting/testcases/countries/mp.yaml +20 -0
- data/address-formatting/testcases/countries/mq.yaml +21 -0
- data/address-formatting/testcases/countries/mr.yaml +58 -0
- data/address-formatting/testcases/countries/ms.yaml +19 -0
- data/address-formatting/testcases/countries/mt.yaml +16 -0
- data/address-formatting/testcases/countries/mu.yaml +21 -0
- data/address-formatting/testcases/countries/mv.yaml +20 -0
- data/address-formatting/testcases/countries/mw.yaml +20 -0
- data/address-formatting/testcases/countries/mx.yaml +22 -0
- data/address-formatting/testcases/countries/my.yaml +23 -0
- data/address-formatting/testcases/countries/mz.yaml +19 -0
- data/address-formatting/testcases/countries/na.yaml +20 -0
- data/address-formatting/testcases/countries/nc.yaml +22 -0
- data/address-formatting/testcases/countries/ne.yaml +24 -0
- data/address-formatting/testcases/countries/nf.yaml +16 -0
- data/address-formatting/testcases/countries/ng.yaml +21 -0
- data/address-formatting/testcases/countries/ni.yaml +28 -0
- data/address-formatting/testcases/countries/nl.yaml +79 -0
- data/address-formatting/testcases/countries/no.yaml +18 -0
- data/address-formatting/testcases/countries/np.yaml +25 -0
- data/address-formatting/testcases/countries/nr.yaml +17 -0
- data/address-formatting/testcases/countries/nu.yaml +17 -0
- data/address-formatting/testcases/countries/nz.yaml +18 -0
- data/address-formatting/testcases/countries/om.yaml +70 -0
- data/address-formatting/testcases/countries/pa.yaml +35 -0
- data/address-formatting/testcases/countries/pe.yaml +16 -0
- data/address-formatting/testcases/countries/pf.yaml +20 -0
- data/address-formatting/testcases/countries/pg.yaml +20 -0
- data/address-formatting/testcases/countries/ph.yaml +21 -0
- data/address-formatting/testcases/countries/pk.yaml +22 -0
- data/address-formatting/testcases/countries/pl.yaml +51 -0
- data/address-formatting/testcases/countries/pm.yaml +20 -0
- data/address-formatting/testcases/countries/pn.yaml +18 -0
- data/address-formatting/testcases/countries/pr.yaml +17 -0
- data/address-formatting/testcases/countries/ps.yaml +112 -0
- data/address-formatting/testcases/countries/pt.yaml +16 -0
- data/address-formatting/testcases/countries/pw.yaml +17 -0
- data/address-formatting/testcases/countries/py.yaml +20 -0
- data/address-formatting/testcases/countries/qa.yaml +46 -0
- data/address-formatting/testcases/countries/re.yaml +19 -0
- data/address-formatting/testcases/countries/ro.yaml +21 -0
- data/address-formatting/testcases/countries/rs.yaml +19 -0
- data/address-formatting/testcases/countries/ru.yaml +22 -0
- data/address-formatting/testcases/countries/rw.yaml +22 -0
- data/address-formatting/testcases/countries/sa.yaml +16 -0
- data/address-formatting/testcases/countries/sb.yaml +18 -0
- data/address-formatting/testcases/countries/sc.yaml +20 -0
- data/address-formatting/testcases/countries/sd.yaml +22 -0
- data/address-formatting/testcases/countries/se.yaml +38 -0
- data/address-formatting/testcases/countries/sg.yaml +26 -0
- data/address-formatting/testcases/countries/sh.yaml +34 -0
- data/address-formatting/testcases/countries/si.yaml +20 -0
- data/address-formatting/testcases/countries/sj.yaml +13 -0
- data/address-formatting/testcases/countries/sk.yaml +20 -0
- data/address-formatting/testcases/countries/sl.yaml +23 -0
- data/address-formatting/testcases/countries/sm.yaml +19 -0
- data/address-formatting/testcases/countries/sn.yaml +20 -0
- data/address-formatting/testcases/countries/so.yaml +23 -0
- data/address-formatting/testcases/countries/sr.yaml +20 -0
- data/address-formatting/testcases/countries/ss.yaml +19 -0
- data/address-formatting/testcases/countries/st.yaml +20 -0
- data/address-formatting/testcases/countries/sv.yaml +42 -0
- data/address-formatting/testcases/countries/sx.yaml +21 -0
- data/address-formatting/testcases/countries/sy.yaml +84 -0
- data/address-formatting/testcases/countries/sz.yaml +21 -0
- data/address-formatting/testcases/countries/tc.yaml +21 -0
- data/address-formatting/testcases/countries/td.yaml +19 -0
- data/address-formatting/testcases/countries/tf.yaml +18 -0
- data/address-formatting/testcases/countries/tg.yaml +20 -0
- data/address-formatting/testcases/countries/th.yaml +26 -0
- data/address-formatting/testcases/countries/tj.yaml +19 -0
- data/address-formatting/testcases/countries/tk.yaml +13 -0
- data/address-formatting/testcases/countries/tl.yaml +20 -0
- data/address-formatting/testcases/countries/tm.yaml +21 -0
- data/address-formatting/testcases/countries/tn.yaml +50 -0
- data/address-formatting/testcases/countries/to.yaml +20 -0
- data/address-formatting/testcases/countries/tr.yaml +18 -0
- data/address-formatting/testcases/countries/tt.yaml +18 -0
- data/address-formatting/testcases/countries/tv.yaml +17 -0
- data/address-formatting/testcases/countries/tw.yaml +22 -0
- data/address-formatting/testcases/countries/tz.yaml +65 -0
- data/address-formatting/testcases/countries/ua.yaml +19 -0
- data/address-formatting/testcases/countries/ug.yaml +23 -0
- data/address-formatting/testcases/countries/um.yaml +14 -0
- data/address-formatting/testcases/countries/us.yaml +185 -0
- data/address-formatting/testcases/countries/uy.yaml +21 -0
- data/address-formatting/testcases/countries/uz.yaml +19 -0
- data/address-formatting/testcases/countries/va.yaml +31 -0
- data/address-formatting/testcases/countries/vc.yaml +18 -0
- data/address-formatting/testcases/countries/ve.yaml +20 -0
- data/address-formatting/testcases/countries/vg.yaml +21 -0
- data/address-formatting/testcases/countries/vi.yaml +20 -0
- data/address-formatting/testcases/countries/vn.yaml +18 -0
- data/address-formatting/testcases/countries/vu.yaml +18 -0
- data/address-formatting/testcases/countries/wf.yaml +18 -0
- data/address-formatting/testcases/countries/ws.yaml +18 -0
- data/address-formatting/testcases/countries/ye.yaml +60 -0
- data/address-formatting/testcases/countries/yt.yaml +20 -0
- data/address-formatting/testcases/countries/za.yaml +22 -0
- data/address-formatting/testcases/countries/zm.yaml +20 -0
- data/address-formatting/testcases/countries/zw.yaml +20 -0
- data/address-formatting/testcases/other/null.yaml +9 -0
- data/address_composer.gemspec +2 -2
- data/lib/address_composer/version.rb +1 -1
- metadata +285 -4
@@ -0,0 +1,31 @@
|
|
1
|
+
country:
|
2
|
+
United Kingdom: UK
|
3
|
+
United States of America: USA
|
4
|
+
United States Virgin Islands: USVI
|
5
|
+
road:
|
6
|
+
Alley: Aly
|
7
|
+
Arcade: Arc
|
8
|
+
Avenue: Ave
|
9
|
+
Boulevard: Blvd
|
10
|
+
Circle: Cl
|
11
|
+
Court: Ct
|
12
|
+
Crescent: Cres
|
13
|
+
Crossroad: XRD
|
14
|
+
Drive: Dr
|
15
|
+
Esplanade: Esp
|
16
|
+
Expressway: EXPY
|
17
|
+
Extention: Ext
|
18
|
+
Freeway: Fwy
|
19
|
+
Grove: Gr
|
20
|
+
Highway: HWY
|
21
|
+
Mountain: Mtn
|
22
|
+
Northeast: NE
|
23
|
+
Northwest: NW
|
24
|
+
Place: Pl
|
25
|
+
Road: Rd
|
26
|
+
Southeast: SE
|
27
|
+
Southwest: SW
|
28
|
+
Square: Sq
|
29
|
+
Street: St
|
30
|
+
Terrace: Tce
|
31
|
+
Throughway: TRWY
|
@@ -0,0 +1,25 @@
|
|
1
|
+
road:
|
2
|
+
Avenida: Avda
|
3
|
+
Calle de: C
|
4
|
+
Carrera: Cra
|
5
|
+
Carrero: Cro
|
6
|
+
Colonia: Col
|
7
|
+
Estación: Estcn
|
8
|
+
Gran Vía: GV
|
9
|
+
Mercado: Merc
|
10
|
+
Plaza: Pl
|
11
|
+
Parque: Pque
|
12
|
+
Pasaje: Psje
|
13
|
+
Paseo: Po
|
14
|
+
Pueblo: Pblo
|
15
|
+
Puente: Pnte
|
16
|
+
Puerta: Pta
|
17
|
+
Puerto: Pto
|
18
|
+
Rambla: Rbla
|
19
|
+
Ronda: Rda
|
20
|
+
Rotonda: Rtda
|
21
|
+
San: S
|
22
|
+
Sector: Sect
|
23
|
+
Santa: Sta
|
24
|
+
Viaducto: Vcto
|
25
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
road:
|
2
|
+
Calle: C.le
|
3
|
+
Campo: C.po
|
4
|
+
Cascina: C.na
|
5
|
+
Corso: C.so
|
6
|
+
Corte: C.te
|
7
|
+
Fondamenta: F.te
|
8
|
+
Largo: L.go
|
9
|
+
Località: Loc.
|
10
|
+
Lungomare: L.mare
|
11
|
+
Piazza: P.za
|
12
|
+
Piazzale: P.le
|
13
|
+
Piazzetta: P.ta
|
14
|
+
Ponte: P.te
|
15
|
+
Porta: P.ta
|
16
|
+
Salizada: S.da
|
17
|
+
San: S.
|
18
|
+
Santa: S.
|
19
|
+
Santo: S.
|
20
|
+
Santissima: SS.ma
|
21
|
+
Santissime: SS.me
|
22
|
+
Santissimi: SS.mi
|
23
|
+
Santissimo: SS.mo
|
24
|
+
Stazione: Staz
|
25
|
+
Strada Comunale: SC
|
26
|
+
Strada Provinciale: SP
|
27
|
+
Strada Regionale: SR
|
28
|
+
Strada Statale: SS
|
29
|
+
Via: V
|
30
|
+
Viale: V.le
|
31
|
+
Vico: V.co
|
32
|
+
Vicolo: V.lo
|
@@ -0,0 +1,31 @@
|
|
1
|
+
road:
|
2
|
+
Alameda: Al
|
3
|
+
Avenida: Av
|
4
|
+
Azinhaga: Az
|
5
|
+
Bairro: Br
|
6
|
+
Beco: Bc
|
7
|
+
Calçada: Cc
|
8
|
+
Calçadinha: Ccnh
|
9
|
+
Caminho: Cam
|
10
|
+
Casal: Csl
|
11
|
+
Escadas: Esc
|
12
|
+
Escadinhas: Escnh
|
13
|
+
Estrada: Estr
|
14
|
+
Gaveto: Gav
|
15
|
+
Jardim: Jrd
|
16
|
+
Largo: Lg
|
17
|
+
Loteamento: Loteam
|
18
|
+
Parque: Pq
|
19
|
+
Pátio: Pto
|
20
|
+
Praça: Pc
|
21
|
+
Praceta: Pct
|
22
|
+
Prolongamento: Prolng
|
23
|
+
Quinta: Qta
|
24
|
+
Rotunda: Rot
|
25
|
+
Rua: R
|
26
|
+
Transversal: Transv
|
27
|
+
Travessa: Tv
|
28
|
+
Urbanização: Urb
|
29
|
+
Vila: Vl
|
30
|
+
Zona: Zn
|
31
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
road:
|
2
|
+
Armádneho generála: Arm. gen
|
3
|
+
Československej: Čsl
|
4
|
+
Doktora: Dr
|
5
|
+
Doktorky: Dr
|
6
|
+
Generála: Gen
|
7
|
+
Inžiniera: Ing
|
8
|
+
Inžinierky: Ing
|
9
|
+
Kapitána: Kpt
|
10
|
+
Majora: Mjr
|
11
|
+
Nábrežie: Nábr
|
12
|
+
Námestie: Nám
|
13
|
+
Plukovníka: Plk
|
14
|
+
Podplukovníka: Pplk
|
15
|
+
Podporučíka: Ppor
|
16
|
+
Poručíka: Por
|
17
|
+
Profesora: Prof
|
18
|
+
Profesorky: Prof
|
19
|
+
Sídlisko: Sídl
|
20
|
+
Svätého: Sv
|
21
|
+
Svätej: Sv
|
22
|
+
Ulica: Ul
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# ordered list, smallest to largest
|
2
|
+
name: house_number
|
3
|
+
aliases:
|
4
|
+
- street_number
|
5
|
+
---
|
6
|
+
name: house
|
7
|
+
aliases:
|
8
|
+
- building
|
9
|
+
- public_building
|
10
|
+
---
|
11
|
+
name: road
|
12
|
+
aliases:
|
13
|
+
- footway
|
14
|
+
- street
|
15
|
+
- street_name
|
16
|
+
- residential
|
17
|
+
- path
|
18
|
+
- pedestrian
|
19
|
+
- road_reference
|
20
|
+
- road_reference_intl
|
21
|
+
- square
|
22
|
+
- place
|
23
|
+
---
|
24
|
+
name: village
|
25
|
+
aliases:
|
26
|
+
- hamlet
|
27
|
+
- locality
|
28
|
+
- croft
|
29
|
+
---
|
30
|
+
name: neighbourhood
|
31
|
+
aliases:
|
32
|
+
- suburb
|
33
|
+
- city_district
|
34
|
+
- district
|
35
|
+
- quarter
|
36
|
+
- residential
|
37
|
+
- commercial
|
38
|
+
- industrial
|
39
|
+
- houses
|
40
|
+
- subdivision
|
41
|
+
---
|
42
|
+
name: city
|
43
|
+
aliases:
|
44
|
+
- town
|
45
|
+
- municipality
|
46
|
+
---
|
47
|
+
name: county
|
48
|
+
aliases:
|
49
|
+
- local_administrative_area
|
50
|
+
- county_code
|
51
|
+
---
|
52
|
+
name: state_district
|
53
|
+
---
|
54
|
+
name: postcode
|
55
|
+
---
|
56
|
+
name: state
|
57
|
+
aliases:
|
58
|
+
- province
|
59
|
+
- state_code
|
60
|
+
---
|
61
|
+
name: region
|
62
|
+
---
|
63
|
+
name: island
|
64
|
+
---
|
65
|
+
name: country
|
66
|
+
aliases:
|
67
|
+
- country_name
|
68
|
+
---
|
69
|
+
name: country_code
|
70
|
+
---
|
71
|
+
name: continent
|
@@ -0,0 +1,1986 @@
|
|
1
|
+
#
|
2
|
+
# generic mappings, specific territories get mapped to these
|
3
|
+
#
|
4
|
+
# postcode before city
|
5
|
+
generic1: &generic1 |
|
6
|
+
{{{attention}}}
|
7
|
+
{{{house}}}
|
8
|
+
{{{road}}} {{{house_number}}}
|
9
|
+
{{{postcode}}} {{#first}} {{{town}}} || {{{city}}} || {{{village}}} || || {{{county}}} || {{{state}}} {{/first}}
|
10
|
+
{{{country}}}
|
11
|
+
|
12
|
+
# postcode after city
|
13
|
+
generic2: &generic2 |
|
14
|
+
{{{attention}}}
|
15
|
+
{{{house}}}
|
16
|
+
{{{house_number}}} {{{road}}}
|
17
|
+
{{#first}} {{{village}}} || {{{city}}} || {{{town}}} || {{{county}}} {{/first}} {{{postcode}}}
|
18
|
+
{{#first}} {{{country}}} || {{{state}}} {{/first}}
|
19
|
+
|
20
|
+
# postcode before city
|
21
|
+
generic3: &generic3 |
|
22
|
+
{{{attention}}}
|
23
|
+
{{{house}}}
|
24
|
+
{{{house_number}}} {{{road}}}
|
25
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
26
|
+
{{{country}}}
|
27
|
+
|
28
|
+
# postcode after state
|
29
|
+
generic4: &generic4 |
|
30
|
+
{{{attention}}}
|
31
|
+
{{{house}}}
|
32
|
+
{{{house_number}}} {{{road}}}
|
33
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} || {{{suburb}}} || {{{county}}} {{/first}}, {{#first}} {{{state_code}}} || {{{state}}} {{/first}} {{{postcode}}}
|
34
|
+
{{{country}}}
|
35
|
+
|
36
|
+
# no postcode
|
37
|
+
generic5: &generic5 |
|
38
|
+
{{{attention}}}
|
39
|
+
{{{house}}}
|
40
|
+
{{{house_number}}} {{{road}}}
|
41
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
42
|
+
{{#first}} {{{state_district}}} || {{{state}}} {{/first}}
|
43
|
+
{{{country}}}
|
44
|
+
|
45
|
+
# no postcode, county
|
46
|
+
generic6: &generic6 |
|
47
|
+
{{{attention}}}
|
48
|
+
{{{house}}}
|
49
|
+
{{{house_number}}} {{{road}}}
|
50
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
51
|
+
{{{county}}}
|
52
|
+
{{{country}}}
|
53
|
+
|
54
|
+
# city, postcode
|
55
|
+
generic7: &generic7 |
|
56
|
+
{{{attention}}}
|
57
|
+
{{{house}}}
|
58
|
+
{{{road}}} {{{house_number}}}
|
59
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}, {{{postcode}}}
|
60
|
+
{{{country}}}
|
61
|
+
|
62
|
+
# postcode and county
|
63
|
+
generic8: &generic8 |
|
64
|
+
{{{attention}}}
|
65
|
+
{{{house}}}
|
66
|
+
{{{road}}}, {{{house_number}}}
|
67
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} {{#first}} {{{county_code}}} || {{{county}}} {{/first}}
|
68
|
+
{{{country}}}
|
69
|
+
|
70
|
+
generic9: &generic9 |
|
71
|
+
{{{attention}}}
|
72
|
+
{{{house}}}
|
73
|
+
{{{road}}} {{{house_number}}}
|
74
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{state_district}}} {{/first}}
|
75
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
76
|
+
{{{country}}}
|
77
|
+
|
78
|
+
generic10: &generic10 |
|
79
|
+
{{{attention}}}
|
80
|
+
{{{house}}}
|
81
|
+
{{{road}}} {{{house_number}}}
|
82
|
+
{{{suburb}}}
|
83
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
84
|
+
{{{state}}}
|
85
|
+
{{{country}}}
|
86
|
+
{{{postcode}}}
|
87
|
+
|
88
|
+
generic11: &generic11 |
|
89
|
+
{{{country}}}
|
90
|
+
{{{state}}}
|
91
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
92
|
+
{{{suburb}}}
|
93
|
+
{{{road}}}, {{{house_number}}}
|
94
|
+
{{{house}}}
|
95
|
+
{{{attention}}}
|
96
|
+
|
97
|
+
# city - postcode
|
98
|
+
generic12: &generic12 |
|
99
|
+
{{{attention}}}
|
100
|
+
{{{house}}}
|
101
|
+
{{{house_number}}}, {{{road}}}
|
102
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{state_district}}} {{/first}}
|
103
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} - {{{postcode}}}
|
104
|
+
{{{state}}}
|
105
|
+
{{{country}}}
|
106
|
+
|
107
|
+
generic13: &generic13 |
|
108
|
+
{{{attention}}}
|
109
|
+
{{{house}}}
|
110
|
+
{{{house_number}}} {{{road}}}
|
111
|
+
{{#first}} {{{suburb}}} || {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} || {{{region}}} {{/first}} {{#first}} {{{state_code}}} || {{{state}}} {{/first}} {{{postcode}}}
|
112
|
+
{{{country}}}
|
113
|
+
|
114
|
+
# postcode and state
|
115
|
+
generic14: &generic14 |
|
116
|
+
{{{attention}}}
|
117
|
+
{{{house}}}
|
118
|
+
{{{house_number}}} {{{road}}}
|
119
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state_district}}} {{/first}}
|
120
|
+
{{{state}}}
|
121
|
+
{{{country}}}
|
122
|
+
|
123
|
+
# postcode and comma before house number
|
124
|
+
generic15: &generic15 |
|
125
|
+
{{{attention}}}
|
126
|
+
{{{house}}}
|
127
|
+
{{{road}}}, {{{house_number}}}
|
128
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} || {{{county}}} {{/first}}
|
129
|
+
{{{country}}}
|
130
|
+
|
131
|
+
# no postcode, no state, just city
|
132
|
+
generic16: &generic16 |
|
133
|
+
{{{attention}}}
|
134
|
+
{{{house}}}
|
135
|
+
{{{house_number}}} {{{road}}}
|
136
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{county}}} || {{{state_district}}} || {{{state}}} {{/first}}
|
137
|
+
{{{country}}}
|
138
|
+
|
139
|
+
# no postcode, no state, just city
|
140
|
+
generic17: &generic17 |
|
141
|
+
{{{attention}}}
|
142
|
+
{{{house}}}
|
143
|
+
{{{road}}} {{{house_number}}}
|
144
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{county}}} || {{{state_district}}} || {{{state}}} {{/first}}
|
145
|
+
{{{country}}}
|
146
|
+
|
147
|
+
# no postcode, just city comma after house number
|
148
|
+
generic18: &generic18 |
|
149
|
+
{{{attention}}}
|
150
|
+
{{{house}}}
|
151
|
+
{{{house_number}}}, {{{road}}}
|
152
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} || {{{state}}} {{/first}}
|
153
|
+
{{{country}}}
|
154
|
+
|
155
|
+
# suburb and postcode after city
|
156
|
+
generic19: &generic19 |
|
157
|
+
{{{attention}}}
|
158
|
+
{{{house}}}
|
159
|
+
{{{road}}} {{{house_number}}}
|
160
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
161
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} {{{postcode}}}
|
162
|
+
{{{country}}}
|
163
|
+
|
164
|
+
# suburb and postcode after city
|
165
|
+
generic20: &generic20 |
|
166
|
+
{{{attention}}}
|
167
|
+
{{{house}}}
|
168
|
+
{{{house_number}}} {{{road}}}
|
169
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
170
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} {{{postcode}}}
|
171
|
+
{{{country}}}
|
172
|
+
|
173
|
+
# suburb and city, no postcode
|
174
|
+
generic21: &generic21 |
|
175
|
+
{{{attention}}}
|
176
|
+
{{{house}}}
|
177
|
+
{{{road}}} {{{house_number}}}
|
178
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
179
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
180
|
+
{{{country}}}
|
181
|
+
|
182
|
+
# comma after housenumber, postcode before city
|
183
|
+
generic22: &generic22 |
|
184
|
+
{{{attention}}}
|
185
|
+
{{{house}}}
|
186
|
+
{{{house_number}}}, {{{road}}}
|
187
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
188
|
+
{{{country}}}
|
189
|
+
|
190
|
+
fallback1: &fallback1 |
|
191
|
+
{{{attention}}}
|
192
|
+
{{{house}}}
|
193
|
+
{{{road}}} {{{house_number}}}
|
194
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
195
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
196
|
+
{{#first}} {{{county}}} || {{{state_district}}} || {{{state}}} {{/first}}
|
197
|
+
{{{country}}}
|
198
|
+
|
199
|
+
fallback2: &fallback2 |
|
200
|
+
{{{attention}}}
|
201
|
+
{{{house}}}
|
202
|
+
{{{road}}} {{{house_number}}}
|
203
|
+
{{{suburb}}}
|
204
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{county}}} || {{{island}}} {{/first}}, {{#first}} {{{state_code}}} || {{{state}}} {{/first}}
|
205
|
+
{{{country}}}
|
206
|
+
|
207
|
+
fallback3: &fallback3 |
|
208
|
+
{{{attention}}}
|
209
|
+
{{{house}}}
|
210
|
+
{{{road}}} {{{house_number}}}
|
211
|
+
{{{suburb}}}
|
212
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
213
|
+
{{{county}}}
|
214
|
+
{{{state}}}
|
215
|
+
{{{country}}}
|
216
|
+
|
217
|
+
fallback4: &fallback4 |
|
218
|
+
{{{attention}}}
|
219
|
+
{{{house}}}
|
220
|
+
{{{road}}} {{{house_number}}}
|
221
|
+
{{{suburb}}}
|
222
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
223
|
+
{{#first}} {{{state}}} || {{{county}}} {{/first}}
|
224
|
+
{{{country}}}
|
225
|
+
|
226
|
+
default:
|
227
|
+
address_template: *generic1
|
228
|
+
fallback_template: *fallback1
|
229
|
+
|
230
|
+
# country / territory specific mappings
|
231
|
+
# please keep in alpha order by country code
|
232
|
+
#
|
233
|
+
|
234
|
+
|
235
|
+
# Andorra
|
236
|
+
AD:
|
237
|
+
address_template: *generic3
|
238
|
+
|
239
|
+
# United Arab Emirates
|
240
|
+
AE:
|
241
|
+
address_template: |
|
242
|
+
{{{attention}}}
|
243
|
+
{{{house}}}
|
244
|
+
{{{house_number}}} {{{road}}}
|
245
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
246
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
247
|
+
{{#first}} {{{state_district}}} || {{{state}}} {{/first}}
|
248
|
+
{{{country}}}
|
249
|
+
|
250
|
+
# Afghanistan
|
251
|
+
AF:
|
252
|
+
address_template: *generic21
|
253
|
+
|
254
|
+
# Antigua and Barbuda
|
255
|
+
AG:
|
256
|
+
address_template: *generic16
|
257
|
+
|
258
|
+
# Anguilla
|
259
|
+
AI:
|
260
|
+
address_template: |
|
261
|
+
{{{attention}}}
|
262
|
+
{{{house}}}
|
263
|
+
{{{road}}} {{{house_number}}}
|
264
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
265
|
+
{{{postcode}}} {{{country}}}
|
266
|
+
|
267
|
+
# Albania
|
268
|
+
AL:
|
269
|
+
address_template: |
|
270
|
+
{{{attention}}}
|
271
|
+
{{{house}}}
|
272
|
+
{{{road}}} {{{house_number}}}
|
273
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}
|
274
|
+
{{{country}}}
|
275
|
+
postformat_replace:
|
276
|
+
# fix the postcode to add - after numbers
|
277
|
+
- ["\n(\\d{4}) ([^,]*)\n","\n$1-$2\n"]
|
278
|
+
|
279
|
+
# Armenia
|
280
|
+
AM:
|
281
|
+
address_template: |
|
282
|
+
{{{attention}}}
|
283
|
+
{{{house}}}
|
284
|
+
{{{house_number}}} {{{road}}}
|
285
|
+
{{{postcode}}}
|
286
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
287
|
+
{{#first}} {{{state_district}}} || {{{state}}} {{/first}}
|
288
|
+
{{{country}}}
|
289
|
+
|
290
|
+
# Angola
|
291
|
+
AO:
|
292
|
+
address_template: *generic7
|
293
|
+
|
294
|
+
# Antarctica
|
295
|
+
AQ:
|
296
|
+
address_template: |
|
297
|
+
{{{attention}}}
|
298
|
+
{{{house}}}
|
299
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
300
|
+
{{#first}} {{{country}}} || {{{continent}}} {{/first}}
|
301
|
+
|
302
|
+
# Argentina
|
303
|
+
AR:
|
304
|
+
address_template: *generic9
|
305
|
+
replace:
|
306
|
+
- ["^Autonomous City of ",""]
|
307
|
+
postformat_replace:
|
308
|
+
# fix the postcode to make it \w\d\d\d\d \w\w\w
|
309
|
+
- ["\n(\\w\\d{4})(\\w{3}) ","\n$1 $2 "]
|
310
|
+
|
311
|
+
# American Samoa
|
312
|
+
AS:
|
313
|
+
use_country: US
|
314
|
+
change_country: United States of America
|
315
|
+
add_component: state=American Samoa
|
316
|
+
|
317
|
+
# Austria
|
318
|
+
AT:
|
319
|
+
address_template: *generic1
|
320
|
+
|
321
|
+
# Australia
|
322
|
+
AU:
|
323
|
+
address_template: *generic13
|
324
|
+
|
325
|
+
# Aruba
|
326
|
+
AW:
|
327
|
+
address_template: *generic17
|
328
|
+
|
329
|
+
# Åland Islands, part of Finnland
|
330
|
+
AX:
|
331
|
+
use_country: FI
|
332
|
+
change_country: Åland, Finland
|
333
|
+
|
334
|
+
# Azerbaijan
|
335
|
+
AZ:
|
336
|
+
address_template: *generic3
|
337
|
+
|
338
|
+
# Bosnia
|
339
|
+
BA:
|
340
|
+
address_template: *generic1
|
341
|
+
|
342
|
+
# Barbados
|
343
|
+
BB:
|
344
|
+
address_template: *generic16
|
345
|
+
|
346
|
+
# Bangladesh
|
347
|
+
BD:
|
348
|
+
address_template: |
|
349
|
+
{{{attention}}}
|
350
|
+
{{{house}}}
|
351
|
+
{{{house_number}}} {{{road}}}
|
352
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{state_district}}} {{/first}}
|
353
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} - {{{postcode}}}
|
354
|
+
{{{country}}}
|
355
|
+
|
356
|
+
# Belgium
|
357
|
+
BE:
|
358
|
+
address_template: *generic1
|
359
|
+
|
360
|
+
# Burkina Faso
|
361
|
+
BF:
|
362
|
+
address_template: *generic6
|
363
|
+
|
364
|
+
# Bulgaria
|
365
|
+
BG:
|
366
|
+
address_template: *generic9
|
367
|
+
|
368
|
+
# Bahrain
|
369
|
+
BH:
|
370
|
+
address_template: *generic2
|
371
|
+
|
372
|
+
# Burundi
|
373
|
+
BI:
|
374
|
+
address_template: *generic17
|
375
|
+
|
376
|
+
# Benin
|
377
|
+
BJ:
|
378
|
+
address_template: *generic18
|
379
|
+
|
380
|
+
# Saint Barthélemy - same as FR
|
381
|
+
BL:
|
382
|
+
use_country: FR
|
383
|
+
change_country: Saint-Barthélemy, France
|
384
|
+
|
385
|
+
# Bermuda
|
386
|
+
BM:
|
387
|
+
address_template: *generic2
|
388
|
+
|
389
|
+
# Brunei
|
390
|
+
BN:
|
391
|
+
address_template: |
|
392
|
+
{{{attention}}}
|
393
|
+
{{{house}}}
|
394
|
+
{{{house_number}}}, {{{road}}}
|
395
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
396
|
+
{{#first}} {{{county}}} || {{{state_district}}} || {{{state}}} {{/first}} {{{postcode}}}
|
397
|
+
{{{country}}}
|
398
|
+
|
399
|
+
|
400
|
+
# Bolivia
|
401
|
+
BO:
|
402
|
+
address_template: *generic17
|
403
|
+
replace:
|
404
|
+
- ["^Municipio Nuestra Senora de ",""]
|
405
|
+
|
406
|
+
# Dutch Caribbean / Bonaire
|
407
|
+
BQ:
|
408
|
+
use_country: NL
|
409
|
+
change_country: Caribbean Netherlands
|
410
|
+
|
411
|
+
# Brazil
|
412
|
+
BR:
|
413
|
+
address_template: |
|
414
|
+
{{{attention}}}
|
415
|
+
{{{house}}}
|
416
|
+
{{{road}}} {{{house_number}}}
|
417
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} {{/first}}
|
418
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}} - {{#first}} {{{state_code}}} || {{{state}}} {{/first}}
|
419
|
+
{{{postcode}}}
|
420
|
+
{{{country}}}
|
421
|
+
postformat_replace:
|
422
|
+
- ["\\b(\\d{5})(\\d{3})\\b","$1-$2"]
|
423
|
+
|
424
|
+
# Bahamas
|
425
|
+
BS:
|
426
|
+
address_template: |
|
427
|
+
{{{attention}}}
|
428
|
+
{{{house}}}
|
429
|
+
{{{road}}} {{{house_number}}}
|
430
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
431
|
+
{{{county}}}
|
432
|
+
{{{country}}}
|
433
|
+
|
434
|
+
# Bhutan
|
435
|
+
BT:
|
436
|
+
address_template: |
|
437
|
+
{{{attention}}}
|
438
|
+
{{{house}}}
|
439
|
+
{{{road}}} {{{house_number}}}, {{{house}}}
|
440
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
441
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}} {{{postcode}}}
|
442
|
+
{{{country}}}
|
443
|
+
|
444
|
+
# Bouvet Island
|
445
|
+
BV:
|
446
|
+
use_country: "NO"
|
447
|
+
change_country: Bouvet Island, Norway
|
448
|
+
|
449
|
+
# Botswana
|
450
|
+
BW:
|
451
|
+
address_template: |
|
452
|
+
{{{attention}}}
|
453
|
+
{{{house}}}
|
454
|
+
{{{road}}} {{{house_number}}}
|
455
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
456
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
457
|
+
{{{country}}}
|
458
|
+
|
459
|
+
# Belarus
|
460
|
+
BY:
|
461
|
+
address_template: *generic11
|
462
|
+
|
463
|
+
# Belize
|
464
|
+
BZ:
|
465
|
+
address_template: *generic16
|
466
|
+
|
467
|
+
# Canada
|
468
|
+
CA:
|
469
|
+
address_template: |
|
470
|
+
{{{attention}}}
|
471
|
+
{{{house}}}
|
472
|
+
{{#first}} {{{house_number}}} {{{road}}} || {{{suburb}}} {{/first}}
|
473
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}, {{#first}} {{{state_code}}} || {{{state}}} {{/first}} {{{postcode}}}
|
474
|
+
{{{country}}}
|
475
|
+
fallback_template: |
|
476
|
+
{{{attention}}}
|
477
|
+
{{{house}}}
|
478
|
+
{{#first}} {{{house_number}}} {{{road}}} || {{{suburb}}} {{/first}}
|
479
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}, {{#first}} {{{state_code}}} || {{{state}}} {{/first}} {{{postcode}}}
|
480
|
+
{{{country}}}
|
481
|
+
postformat_replace:
|
482
|
+
# fix the postcode to make it \w\w\w \w\w\w
|
483
|
+
- [" (\\w{2}) (\\w{3})(\\w{3})\n"," $1 $2 $3\n"]
|
484
|
+
|
485
|
+
|
486
|
+
# Cocos (Keeling) Islands
|
487
|
+
CC:
|
488
|
+
use_country: AU
|
489
|
+
change_country: Australia
|
490
|
+
|
491
|
+
# Democratic Republic of the Congo
|
492
|
+
CD:
|
493
|
+
address_template: *generic18
|
494
|
+
|
495
|
+
# Central African Republic
|
496
|
+
CF:
|
497
|
+
address_template: *generic17
|
498
|
+
|
499
|
+
# Republic of the Congo / Congo-Brazzaville
|
500
|
+
CG:
|
501
|
+
address_template: *generic18
|
502
|
+
|
503
|
+
# Switzerland
|
504
|
+
CH:
|
505
|
+
address_template: *generic1
|
506
|
+
|
507
|
+
# Côte d'Ivoire
|
508
|
+
CI:
|
509
|
+
address_template: *generic16
|
510
|
+
|
511
|
+
# Cook Islands
|
512
|
+
CK:
|
513
|
+
address_template: *generic16
|
514
|
+
|
515
|
+
# Chile
|
516
|
+
CL:
|
517
|
+
address_template: *generic1
|
518
|
+
postformat_replace:
|
519
|
+
# fix the postcode to make it \d\d\d \d\d\d\d
|
520
|
+
- ["\n(\\d{3})(\\d{4}) ","\n$1 $2 "]
|
521
|
+
|
522
|
+
# Cameroon
|
523
|
+
CM:
|
524
|
+
address_template: *generic17
|
525
|
+
|
526
|
+
# China
|
527
|
+
CN:
|
528
|
+
address_template: |
|
529
|
+
{{{attention}}}
|
530
|
+
{{{house}}}
|
531
|
+
{{{house_number}}} {{{road}}}
|
532
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
533
|
+
{{{county}}}
|
534
|
+
{{{postcode}}} {{#first}} {{{state_code}}} || {{{state}}} || {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}
|
535
|
+
{{{country}}}
|
536
|
+
|
537
|
+
# China - English
|
538
|
+
CN_en:
|
539
|
+
address_template: |
|
540
|
+
{{{attention}}}
|
541
|
+
{{{house}}}
|
542
|
+
{{{house_number}}} {{{road}}}
|
543
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
544
|
+
{{{county}}}
|
545
|
+
{{{postcode}}} {{#first}} {{{state_code}}} || {{{state}}} || {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}
|
546
|
+
{{{country}}}
|
547
|
+
|
548
|
+
# China - Chinese
|
549
|
+
CN_zh:
|
550
|
+
address_template: |
|
551
|
+
{{{country}}}
|
552
|
+
{{{postcode}}}
|
553
|
+
{{#first}} {{{state_code}}} || {{{state}}} {{/first}}
|
554
|
+
{{#first}} {{{state_district}}} || {{{county}}} {{/first}}
|
555
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
556
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
557
|
+
{{{road}}}
|
558
|
+
{{{house_number}}}
|
559
|
+
{{{house}}}
|
560
|
+
{{{attention}}}
|
561
|
+
|
562
|
+
# Colombia
|
563
|
+
CO:
|
564
|
+
address_template: |
|
565
|
+
{{{attention}}}
|
566
|
+
{{{house}}}
|
567
|
+
{{{road}}} {{{house_number}}}
|
568
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
569
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}, {{#first}} {{{state_code}}} || {{{state}}} {{/first}}
|
570
|
+
{{{country}}}
|
571
|
+
postformat_replace:
|
572
|
+
- ["Bogota, Bogota","Bogota"]
|
573
|
+
|
574
|
+
# Costa Rica
|
575
|
+
CR:
|
576
|
+
address_template: |
|
577
|
+
{{{attention}}}
|
578
|
+
{{{house}}}
|
579
|
+
{{{road}}} {{{house_number}}}
|
580
|
+
{{{state}}}, {{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}, {{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
581
|
+
{{{postcode}}} {{{country}}}
|
582
|
+
|
583
|
+
# Cuba
|
584
|
+
CU:
|
585
|
+
address_template: *generic7
|
586
|
+
|
587
|
+
# Cape Verde
|
588
|
+
CV:
|
589
|
+
address_template: *generic1
|
590
|
+
postformat_replace:
|
591
|
+
# fix the postcode to add - after numbers
|
592
|
+
- ["\n(\\d{4}) ([^,]*)\n","\n$1-$2\n"]
|
593
|
+
|
594
|
+
# Curaçao
|
595
|
+
CW:
|
596
|
+
address_template: *generic17
|
597
|
+
|
598
|
+
# Christmas Island - same as Australia
|
599
|
+
CX:
|
600
|
+
use_country: AU
|
601
|
+
add_component: state=Christmas Island
|
602
|
+
change_country: Australia
|
603
|
+
|
604
|
+
# Cyprus
|
605
|
+
CY:
|
606
|
+
address_template: *generic1
|
607
|
+
|
608
|
+
# Czech Republic
|
609
|
+
CZ:
|
610
|
+
address_template: *generic1
|
611
|
+
postformat_replace:
|
612
|
+
# fix the postcode to make it \d\d\d \d\d
|
613
|
+
- ["\n(\\d{3})(\\d{2}) ","\n$1 $2 "]
|
614
|
+
|
615
|
+
# Germany
|
616
|
+
DE:
|
617
|
+
address_template: *generic1
|
618
|
+
fallback_template: |
|
619
|
+
{{{attention}}}
|
620
|
+
{{{house}}}
|
621
|
+
{{{road}}} {{{house_number}}}
|
622
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
623
|
+
{{#first}} {{{town}}} || {{{city}}} || {{{village}}} || {{{county}}} {{/first}}
|
624
|
+
{{#first}} {{{state}}} || {{{state_district}}} {{/first}}
|
625
|
+
{{{country}}}
|
626
|
+
|
627
|
+
replace:
|
628
|
+
- ["^Stadtteil ",""]
|
629
|
+
- ["^Stadtbezirk (\\d+)",""]
|
630
|
+
- ["^Ortsbeirat (\\d+) :",""]
|
631
|
+
- ["^Gemeinde ",""]
|
632
|
+
- ["^Gemeindeverwaltungsverband ",""]
|
633
|
+
- ["^Landkreis ",""]
|
634
|
+
- ["^Kreis ",""]
|
635
|
+
- ["^Grenze ",""]
|
636
|
+
- ["^Free State of ",""]
|
637
|
+
- ["^Freistaat ",""]
|
638
|
+
- ["^Regierungsbezirk ",""]
|
639
|
+
- ["^Gemeindefreies Gebiet ",""]
|
640
|
+
- ["city=Alt-Berlin","Berlin"]
|
641
|
+
postformat_replace:
|
642
|
+
- ["Berlin\nBerlin","Berlin"]
|
643
|
+
- ["Bremen\nBremen","Bremen"]
|
644
|
+
- ["Hamburg\nHamburg","Hamburg"]
|
645
|
+
|
646
|
+
# Djibouti
|
647
|
+
DJ:
|
648
|
+
address_template: *generic16
|
649
|
+
replace:
|
650
|
+
- ["city=Djibouti","Djibouti-Ville"]
|
651
|
+
|
652
|
+
# Denmark
|
653
|
+
DK:
|
654
|
+
address_template: *generic1
|
655
|
+
|
656
|
+
# Dominica
|
657
|
+
DM:
|
658
|
+
address_template: *generic16
|
659
|
+
|
660
|
+
# Dominican Republic
|
661
|
+
DO:
|
662
|
+
address_template: |
|
663
|
+
{{{attention}}}
|
664
|
+
{{{house}}}
|
665
|
+
{{{road}}} {{{house_number}}}
|
666
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
667
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}, {{{state}}}
|
668
|
+
{{{postcode}}}
|
669
|
+
{{{country}}}
|
670
|
+
postformat_replace:
|
671
|
+
- [", Distrito Nacional",", DN"]
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
# Algeria
|
676
|
+
DZ:
|
677
|
+
address_template: *generic3
|
678
|
+
|
679
|
+
# Ecuador
|
680
|
+
EC:
|
681
|
+
address_template: |
|
682
|
+
{{{attention}}}
|
683
|
+
{{{house}}}
|
684
|
+
{{{road}}} {{{house_number}}}
|
685
|
+
{{{postcode}}}
|
686
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}
|
687
|
+
{{{country}}}
|
688
|
+
|
689
|
+
# Egypt
|
690
|
+
EG:
|
691
|
+
address_template: |
|
692
|
+
{{{attention}}}
|
693
|
+
{{{house}}}
|
694
|
+
{{{house_number}}} {{{road}}}
|
695
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
696
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
697
|
+
{{{postcode}}}
|
698
|
+
{{{country}}}
|
699
|
+
|
700
|
+
# Estonia
|
701
|
+
EE:
|
702
|
+
address_template: *generic1
|
703
|
+
|
704
|
+
# Western Sahara
|
705
|
+
EH:
|
706
|
+
address_template: *generic17
|
707
|
+
|
708
|
+
# Eritrea
|
709
|
+
ER:
|
710
|
+
address_template: *generic17
|
711
|
+
|
712
|
+
# Spain
|
713
|
+
ES:
|
714
|
+
address_template: *generic15
|
715
|
+
fallback_template: *fallback4
|
716
|
+
|
717
|
+
# Ethiopia
|
718
|
+
ET:
|
719
|
+
address_template: *generic1
|
720
|
+
|
721
|
+
# Finnland
|
722
|
+
FI:
|
723
|
+
address_template: *generic1
|
724
|
+
|
725
|
+
# Fiji
|
726
|
+
FJ:
|
727
|
+
address_template: *generic16
|
728
|
+
|
729
|
+
# Falkland Islands
|
730
|
+
FK:
|
731
|
+
use_country: GB
|
732
|
+
change_country: Falkland Islands, United Kingdom
|
733
|
+
|
734
|
+
# Federated States of Micronesia
|
735
|
+
FM:
|
736
|
+
use_country: US
|
737
|
+
change_country: United States of America
|
738
|
+
add_component: state=Micronesia
|
739
|
+
|
740
|
+
# Faroe Islands
|
741
|
+
FO:
|
742
|
+
address_template: *generic1
|
743
|
+
postformat_replace:
|
744
|
+
- ["Territorial waters of Faroe Islands","Faroe Islands"]
|
745
|
+
|
746
|
+
# France
|
747
|
+
FR:
|
748
|
+
address_template: *generic3
|
749
|
+
replace:
|
750
|
+
- ["Polynésie française, Îles du Vent \\(eaux territoriales\\)","Polynésie française"]
|
751
|
+
- ["France, Mayotte \\(eaux territoriales\\)","Mayotte, France"]
|
752
|
+
- ["France, La Réunion \\(eaux territoriales\\)","La Réunion, France"]
|
753
|
+
- ["Grande Terre et récifs d'Entrecasteaux",""]
|
754
|
+
- ["France, Nouvelle-Calédonie","Nouvelle-Calédonie, France"]
|
755
|
+
- ["\\(eaux territoriales\\)",""]
|
756
|
+
|
757
|
+
# Gabon
|
758
|
+
GA:
|
759
|
+
address_template: |
|
760
|
+
{{{attention}}}
|
761
|
+
{{{house}}}
|
762
|
+
{{{house_number}}} {{{road}}}
|
763
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} || {{{village}}} {{/first}}
|
764
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{county}}} || {{{state_district}}} || {{{state}}} {{/first}}
|
765
|
+
{{{country}}}
|
766
|
+
|
767
|
+
GB:
|
768
|
+
address_template: *generic2
|
769
|
+
fallback_template: *fallback3
|
770
|
+
replace:
|
771
|
+
- ["^Borough of ",""]
|
772
|
+
- ["^County( of)? ",""]
|
773
|
+
- ["^Parish of ",""]
|
774
|
+
- ["^Central ",""]
|
775
|
+
- ["^Greater London","London"]
|
776
|
+
- ["^London Borough of .+","London"]
|
777
|
+
- ["Royal Borough of ",""]
|
778
|
+
- ["County Borough of ",""]
|
779
|
+
postformat_replace:
|
780
|
+
- ["London, London","London"]
|
781
|
+
- ["London, Greater London","London"]
|
782
|
+
- ["City of Westminster","London"]
|
783
|
+
- ["City of Nottingham","Nottingham"]
|
784
|
+
- [", United Kingdom$","\nUnited Kingdom"]
|
785
|
+
- ["London\nEngland\nUnited Kingdom","London\nUnited Kingdom"]
|
786
|
+
|
787
|
+
# Grenada
|
788
|
+
GD:
|
789
|
+
address_template: *generic17
|
790
|
+
|
791
|
+
# Georgia
|
792
|
+
GE:
|
793
|
+
address_template: *generic1
|
794
|
+
|
795
|
+
# French Guiana - same as FR
|
796
|
+
GF:
|
797
|
+
use_country: FR
|
798
|
+
change_country: France
|
799
|
+
|
800
|
+
# Guernsey - same format as UK, but not part of UK
|
801
|
+
GG:
|
802
|
+
use_country: GB
|
803
|
+
change_country: Guernsey, Channel Islands
|
804
|
+
|
805
|
+
# Ghana
|
806
|
+
GH:
|
807
|
+
address_template: *generic16
|
808
|
+
|
809
|
+
# Gibraltar
|
810
|
+
GI:
|
811
|
+
address_template: *generic16
|
812
|
+
|
813
|
+
# Greenland
|
814
|
+
GL:
|
815
|
+
address_template: *generic1
|
816
|
+
|
817
|
+
# The Gambia
|
818
|
+
GM:
|
819
|
+
address_template: *generic16
|
820
|
+
|
821
|
+
# Guinea
|
822
|
+
GN:
|
823
|
+
address_template: *generic14
|
824
|
+
|
825
|
+
# Guadeloupe - same as FR
|
826
|
+
GP:
|
827
|
+
use_country: FR
|
828
|
+
change_country: Guadeloupe, France
|
829
|
+
|
830
|
+
# Equatorial Guinea
|
831
|
+
GQ:
|
832
|
+
address_template: *generic17
|
833
|
+
|
834
|
+
# Greece
|
835
|
+
GR:
|
836
|
+
address_template: *generic1
|
837
|
+
postformat_replace:
|
838
|
+
# fix the postcode to make it \d\d\d \d\d
|
839
|
+
- ["\n(\\d{3})(\\d{2}) ","\n$1 $2 "]
|
840
|
+
|
841
|
+
# South Georgia and the South Sandwich Islands - same as UK
|
842
|
+
GS:
|
843
|
+
use_country: GB
|
844
|
+
change_country: United Kingdom
|
845
|
+
add_component: county=South Georgia
|
846
|
+
|
847
|
+
# Guatemala
|
848
|
+
GT:
|
849
|
+
address_template: |
|
850
|
+
{{{attention}}}
|
851
|
+
{{{house}}}
|
852
|
+
{{{road}}} {{{house_number}}}
|
853
|
+
{{{postcode}}}-{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
854
|
+
{{{country}}}
|
855
|
+
postformat_replace:
|
856
|
+
- ["\n(\\d{5})- ","\n$1-"]
|
857
|
+
- ["\n -","\n"]
|
858
|
+
|
859
|
+
# Guam
|
860
|
+
GU:
|
861
|
+
use_country: US
|
862
|
+
change_country: United States of America
|
863
|
+
add_component: state=Guam
|
864
|
+
|
865
|
+
# Guinea-Bissau
|
866
|
+
GW:
|
867
|
+
address_template: *generic1
|
868
|
+
|
869
|
+
# Guyana
|
870
|
+
GY:
|
871
|
+
address_template: *generic16
|
872
|
+
|
873
|
+
# Hong Kong
|
874
|
+
HK:
|
875
|
+
address_template: |
|
876
|
+
{{{attention}}}
|
877
|
+
{{{house}}}
|
878
|
+
{{{house_number}}} {{{road}}}
|
879
|
+
{{{state_district}}}
|
880
|
+
{{{state}}}
|
881
|
+
|
882
|
+
# Hong Kong - English
|
883
|
+
HK_en:
|
884
|
+
address_template: |
|
885
|
+
{{{attention}}}
|
886
|
+
{{{house}}}
|
887
|
+
{{{house_number}}} {{{road}}}
|
888
|
+
{{{state_district}}}
|
889
|
+
{{{state}}}
|
890
|
+
{{{country}}}
|
891
|
+
|
892
|
+
# Hong Kong - Chinese
|
893
|
+
HK_zh:
|
894
|
+
address_template: |
|
895
|
+
{{{country}}}
|
896
|
+
{{{state}}}
|
897
|
+
{{{state_district}}}
|
898
|
+
{{{road}}}
|
899
|
+
{{{house_number}}}
|
900
|
+
{{{house}}}
|
901
|
+
{{{attention}}}
|
902
|
+
|
903
|
+
|
904
|
+
# Heard Island and McDonald Islands - same as Australia
|
905
|
+
HM:
|
906
|
+
use_country: AU
|
907
|
+
change_country: Australia
|
908
|
+
add_component: state=Heard Island and McDonald Islands
|
909
|
+
|
910
|
+
# Honduras
|
911
|
+
HN:
|
912
|
+
address_template: *generic1
|
913
|
+
|
914
|
+
# Croatia
|
915
|
+
HR:
|
916
|
+
address_template: *generic1
|
917
|
+
|
918
|
+
# Haiti
|
919
|
+
HT:
|
920
|
+
address_template: *generic1
|
921
|
+
postformat_replace:
|
922
|
+
- [" Commune de"," "]
|
923
|
+
|
924
|
+
# Hungary
|
925
|
+
HU:
|
926
|
+
address_template: |
|
927
|
+
{{{attention}}}
|
928
|
+
{{{house}}}
|
929
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
930
|
+
{{{road}}} {{{house_number}}}
|
931
|
+
{{{postcode}}}
|
932
|
+
{{{country}}}
|
933
|
+
|
934
|
+
# Indonesia
|
935
|
+
# https://en.wikipedia.org/wiki/Address_%28geography%29#Indonesia
|
936
|
+
ID:
|
937
|
+
address_template: |
|
938
|
+
{{{attention}}}
|
939
|
+
{{{house}}}
|
940
|
+
{{{road}}} {{{house_number}}}
|
941
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
942
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} {{{postcode}}}
|
943
|
+
{{{state}}}
|
944
|
+
{{{country}}}
|
945
|
+
|
946
|
+
# Ireland
|
947
|
+
# https://en.wikipedia.org/wiki/Postal_addresses_in_the_Republic_of_Ireland
|
948
|
+
IE:
|
949
|
+
address_template: |
|
950
|
+
{{{attention}}}
|
951
|
+
{{{house}}}
|
952
|
+
{{{house_number}}} {{{road}}}
|
953
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
954
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
955
|
+
{{{county}}}
|
956
|
+
{{{country}}}
|
957
|
+
replace:
|
958
|
+
- [" City$",""]
|
959
|
+
- ["The Municipal District of ",""]
|
960
|
+
- ["The Metropolitan District of ",""]
|
961
|
+
|
962
|
+
# Israel
|
963
|
+
IL:
|
964
|
+
address_template: *generic1
|
965
|
+
|
966
|
+
# Isle of Man
|
967
|
+
IM:
|
968
|
+
address_template: *generic2
|
969
|
+
|
970
|
+
# India
|
971
|
+
# http://en.wikipedia.org/wiki/Address_%28geography%29#India
|
972
|
+
IN:
|
973
|
+
address_template: *generic12
|
974
|
+
|
975
|
+
# British Indian Ocean Territory - same as UK
|
976
|
+
IO:
|
977
|
+
use_country: GB
|
978
|
+
change_country: British Indian Ocean Territory, United Kingdom
|
979
|
+
|
980
|
+
# Iraq
|
981
|
+
IQ:
|
982
|
+
address_template: |
|
983
|
+
{{{attention}}}
|
984
|
+
{{{house}}}
|
985
|
+
{{{house_number}}} {{#first}} {{{city_district}}} || {{{neighbourhood}}} || {{{suburb}}} {{/first}}
|
986
|
+
{{{road}}}
|
987
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state}}} || {{{village}}} {{/first}}
|
988
|
+
{{{postcode}}}
|
989
|
+
{{{country}}}
|
990
|
+
|
991
|
+
# Iran
|
992
|
+
IR:
|
993
|
+
address_template: |
|
994
|
+
{{{attention}}}
|
995
|
+
{{{house}}}
|
996
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
997
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
998
|
+
{{{road}}}
|
999
|
+
{{{house_number}}}
|
1000
|
+
{{#first}} {{{province}}} || {{{state}}} {{/first}}
|
1001
|
+
{{{postcode}}}
|
1002
|
+
{{{country}}}
|
1003
|
+
|
1004
|
+
IR_en:
|
1005
|
+
address_template: |
|
1006
|
+
{{{attention}}}
|
1007
|
+
{{{house}}}
|
1008
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1009
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1010
|
+
{{{road}}}
|
1011
|
+
{{{house_number}}}
|
1012
|
+
{{#first}} {{{province}}} || {{{state}}} {{/first}}
|
1013
|
+
{{{postcode}}}
|
1014
|
+
{{{country}}}
|
1015
|
+
|
1016
|
+
IR_fa:
|
1017
|
+
address_template: |
|
1018
|
+
{{{country}}}
|
1019
|
+
{{#first}} {{{state}}} || {{{province}}} {{/first}}
|
1020
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1021
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1022
|
+
{{{road}}}
|
1023
|
+
{{{house_number}}}
|
1024
|
+
{{{house}}}
|
1025
|
+
{{{attention}}}
|
1026
|
+
{{{postcode}}}
|
1027
|
+
|
1028
|
+
# Iceland
|
1029
|
+
IS:
|
1030
|
+
address_template: *generic1
|
1031
|
+
|
1032
|
+
# Italy
|
1033
|
+
IT:
|
1034
|
+
address_template: *generic8
|
1035
|
+
replace:
|
1036
|
+
- ["Città metropolitana di ",""]
|
1037
|
+
- ["Metropolitan City of ",""]
|
1038
|
+
postformat_replace:
|
1039
|
+
- ["Vatican City\nVatican City$","\nVatican City"]
|
1040
|
+
- ["Città del Vaticano\nCittà del Vaticano$","Città del Vaticano\n"]
|
1041
|
+
|
1042
|
+
# Jersey - same format as UK, but not part of UK
|
1043
|
+
JE:
|
1044
|
+
use_country: GB
|
1045
|
+
change_country: Jersey, Channel Islands
|
1046
|
+
|
1047
|
+
# Jamaica
|
1048
|
+
JM:
|
1049
|
+
address_template: *generic20
|
1050
|
+
|
1051
|
+
# Jordan
|
1052
|
+
JO:
|
1053
|
+
address_template: *generic1
|
1054
|
+
|
1055
|
+
# Japan
|
1056
|
+
JP:
|
1057
|
+
address_template: |
|
1058
|
+
{{{attention}}}
|
1059
|
+
{{{house}}}
|
1060
|
+
{{{house_number}}} {{{road}}}
|
1061
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1062
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}, {{#first}} {{{state}}} || {{{state_district}}} {{/first}} {{{postcode}}}
|
1063
|
+
{{{country}}}
|
1064
|
+
postformat_replace:
|
1065
|
+
# fix the postcode to make it \d\d\d-\d\d\d\d
|
1066
|
+
- [" (\\d{3})(\\d{4})\n"," $1-$2\n"]
|
1067
|
+
|
1068
|
+
|
1069
|
+
|
1070
|
+
# Japan - English
|
1071
|
+
JP_en:
|
1072
|
+
address_template: |
|
1073
|
+
{{{attention}}}
|
1074
|
+
{{{house}}}
|
1075
|
+
{{{house_number}}} {{{road}}}
|
1076
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1077
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}, {{#first}} {{{state}}} || {{{state_district}}} {{/first}} {{{postcode}}}
|
1078
|
+
{{{country}}}
|
1079
|
+
postformat_replace:
|
1080
|
+
# fix the postcode to make it \d\d\d-\d\d\d\d
|
1081
|
+
- [" (\\d{3})(\\d{4})\n"," $1-$2\n"]
|
1082
|
+
|
1083
|
+
|
1084
|
+
# Japan - Japanese
|
1085
|
+
JP_ja:
|
1086
|
+
address_template: |
|
1087
|
+
{{{country}}}
|
1088
|
+
{{{postcode}}}
|
1089
|
+
{{#first}} {{{state}}} || {{{state_district}}} {{/first}}
|
1090
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1091
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1092
|
+
{{{road}}}
|
1093
|
+
{{{house_number}}}
|
1094
|
+
{{{house}}}
|
1095
|
+
{{{attention}}}
|
1096
|
+
postformat_replace:
|
1097
|
+
# fix the postcode to make it \d\d\d-\d\d\d\d
|
1098
|
+
- [" (\\d{3})(\\d{4})\n"," $1-$2\n"]
|
1099
|
+
|
1100
|
+
# Kenya
|
1101
|
+
KE:
|
1102
|
+
address_template: |
|
1103
|
+
{{{attention}}}
|
1104
|
+
{{{house}}}
|
1105
|
+
{{{house_number}}} {{{road}}}
|
1106
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state}}} || {{{village}}} {{/first}}
|
1107
|
+
{{{postcode}}}
|
1108
|
+
{{{country}}}
|
1109
|
+
|
1110
|
+
# Kyrgyzstan
|
1111
|
+
KG:
|
1112
|
+
address_template: *generic11
|
1113
|
+
|
1114
|
+
# Cambodia
|
1115
|
+
KH:
|
1116
|
+
address_template: |
|
1117
|
+
{{{attention}}}
|
1118
|
+
{{{house}}}
|
1119
|
+
{{{house_number}}} {{{road}}}
|
1120
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1121
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} {{{postcode}}}
|
1122
|
+
{{{country}}}
|
1123
|
+
|
1124
|
+
# Kiribati
|
1125
|
+
KI:
|
1126
|
+
address_template: *generic17
|
1127
|
+
|
1128
|
+
# Comoros
|
1129
|
+
KM:
|
1130
|
+
address_template: |
|
1131
|
+
{{{attention}}}
|
1132
|
+
{{{house}}}
|
1133
|
+
{{{road}}} {{{house_number}}}
|
1134
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1135
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1136
|
+
{{{country}}}
|
1137
|
+
|
1138
|
+
# Saint Kitts and Nevis
|
1139
|
+
KN:
|
1140
|
+
address_template: |
|
1141
|
+
{{{attention}}}
|
1142
|
+
{{{house}}}
|
1143
|
+
{{{house_number}}} {{{road}}}
|
1144
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}, {{#first}} {{{state}}} || {{{island}}} {{/first}}
|
1145
|
+
{{{country}}}
|
1146
|
+
|
1147
|
+
# Democratic People's Republic of Korea / North Korea
|
1148
|
+
KP:
|
1149
|
+
address_template: *generic21
|
1150
|
+
|
1151
|
+
# Republic of Korea / South Korea
|
1152
|
+
KR:
|
1153
|
+
address_template: |
|
1154
|
+
{{{attention}}}
|
1155
|
+
{{{house}}}
|
1156
|
+
{{{house_number}}} {{{road}}}
|
1157
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}, {{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}, {{#first}} {{{state}}} {{/first}} {{{postcode}}}
|
1158
|
+
{{{country}}}
|
1159
|
+
|
1160
|
+
# South Korea - English
|
1161
|
+
KR_en:
|
1162
|
+
address_template: |
|
1163
|
+
{{{attention}}}
|
1164
|
+
{{{house}}}
|
1165
|
+
{{{house_number}}} {{{road}}}
|
1166
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}, {{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}, {{#first}} {{{state}}} {{/first}} {{{postcode}}}
|
1167
|
+
{{{country}}}
|
1168
|
+
|
1169
|
+
# South Korea - Korean
|
1170
|
+
KR_ko:
|
1171
|
+
address_template: |
|
1172
|
+
{{{country}}}
|
1173
|
+
{{#first}} {{{state}}} {{/first}}
|
1174
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1175
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1176
|
+
{{{road}}}
|
1177
|
+
{{{house_number}}}
|
1178
|
+
{{{house}}}
|
1179
|
+
{{{attention}}}
|
1180
|
+
{{{postcode}}}
|
1181
|
+
|
1182
|
+
# Kuwait
|
1183
|
+
KW:
|
1184
|
+
address_template: |
|
1185
|
+
{{{attention}}}
|
1186
|
+
{{{house}}}
|
1187
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1188
|
+
|
1189
|
+
{{{road}}}
|
1190
|
+
{{{house_number}}} {{{house}}}
|
1191
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1192
|
+
{{{country}}}
|
1193
|
+
|
1194
|
+
# Cayman Islands
|
1195
|
+
KY:
|
1196
|
+
address_template: *generic2
|
1197
|
+
|
1198
|
+
# Kazakhstan
|
1199
|
+
KZ:
|
1200
|
+
address_template: *generic11
|
1201
|
+
|
1202
|
+
# Laos
|
1203
|
+
LA:
|
1204
|
+
address_template: *generic22
|
1205
|
+
|
1206
|
+
# Lebanon
|
1207
|
+
LB:
|
1208
|
+
address_template: *generic2
|
1209
|
+
postformat_replace:
|
1210
|
+
# fix the postcode to make it nonbreaking space
|
1211
|
+
- [" (\\d{4}) (\\d{4})\n"," $1 $2\n"]
|
1212
|
+
# - ["\n(\\d{4}) (\\d{4}) ","\n$1 $2 "]
|
1213
|
+
|
1214
|
+
|
1215
|
+
# Saint Lucia
|
1216
|
+
LC:
|
1217
|
+
address_template: *generic17
|
1218
|
+
|
1219
|
+
# Liechtenstein, same as Switzerland
|
1220
|
+
LI:
|
1221
|
+
use_country: CH
|
1222
|
+
|
1223
|
+
# Sri Lanka
|
1224
|
+
LK:
|
1225
|
+
address_template: *generic20
|
1226
|
+
|
1227
|
+
# Liberia
|
1228
|
+
LR:
|
1229
|
+
address_template: *generic1
|
1230
|
+
|
1231
|
+
# Lesotho
|
1232
|
+
LS:
|
1233
|
+
address_template: *generic2
|
1234
|
+
|
1235
|
+
# Lithuania
|
1236
|
+
LT:
|
1237
|
+
address_template: *generic1
|
1238
|
+
|
1239
|
+
# Luxemburg
|
1240
|
+
LU:
|
1241
|
+
address_template: *generic3
|
1242
|
+
|
1243
|
+
# Latvia
|
1244
|
+
LV:
|
1245
|
+
address_template: *generic7
|
1246
|
+
|
1247
|
+
# Libya
|
1248
|
+
LY:
|
1249
|
+
address_template: *generic17
|
1250
|
+
|
1251
|
+
# Morocco
|
1252
|
+
MA:
|
1253
|
+
address_template: *generic3
|
1254
|
+
|
1255
|
+
# Monaco
|
1256
|
+
MC:
|
1257
|
+
address_template: *generic3
|
1258
|
+
|
1259
|
+
# Moldova
|
1260
|
+
MD:
|
1261
|
+
address_template: |
|
1262
|
+
{{{attention}}}
|
1263
|
+
{{{house}}}
|
1264
|
+
{{{road}}}, {{{house_number}}}
|
1265
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
1266
|
+
{{{country}}}
|
1267
|
+
|
1268
|
+
# Montenegro
|
1269
|
+
ME:
|
1270
|
+
address_template: *generic1
|
1271
|
+
|
1272
|
+
# Collectivité de Saint-Martin
|
1273
|
+
MF:
|
1274
|
+
use_country: FR
|
1275
|
+
change_country: France
|
1276
|
+
|
1277
|
+
# Marshall Islands
|
1278
|
+
MH:
|
1279
|
+
use_country: US
|
1280
|
+
add_component: state=Marshall Islands
|
1281
|
+
|
1282
|
+
# Madagascar
|
1283
|
+
MG:
|
1284
|
+
address_template: |
|
1285
|
+
{{{attention}}}
|
1286
|
+
{{{house}}}
|
1287
|
+
{{{house_number}}} {{{road}}}
|
1288
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1289
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1290
|
+
{{{country}}}
|
1291
|
+
|
1292
|
+
# North Macedonia
|
1293
|
+
MK:
|
1294
|
+
address_template: *generic1
|
1295
|
+
|
1296
|
+
# Mali
|
1297
|
+
ML:
|
1298
|
+
address_template: *generic17
|
1299
|
+
|
1300
|
+
# Myanmar (Burma)
|
1301
|
+
MM:
|
1302
|
+
address_template: |
|
1303
|
+
{{{attention}}}
|
1304
|
+
{{{house}}}
|
1305
|
+
{{{house_number}}} {{{road}}}
|
1306
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}, {{{postcode}}}
|
1307
|
+
{{{country}}}
|
1308
|
+
|
1309
|
+
|
1310
|
+
# Mongolia
|
1311
|
+
MN:
|
1312
|
+
address_template: |
|
1313
|
+
{{{attention}}}
|
1314
|
+
{{{house}}}
|
1315
|
+
{{{city_district}}}
|
1316
|
+
{{#first}} {{{suburb}}} || {{{neighbourhood}}} {{/first}}
|
1317
|
+
{{{road}}}
|
1318
|
+
{{{house_number}}}
|
1319
|
+
{{{postcode}}}
|
1320
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1321
|
+
{{{country}}}
|
1322
|
+
|
1323
|
+
# Macau
|
1324
|
+
MO:
|
1325
|
+
address_template: |
|
1326
|
+
{{{attention}}}
|
1327
|
+
{{{house}}}
|
1328
|
+
{{{road}}} {{{house_number}}}
|
1329
|
+
{{#first}} {{{suburb}}} || {{{village}}} || {{{state_district}}} {{/first}}
|
1330
|
+
{{{country}}}
|
1331
|
+
|
1332
|
+
# Macao - Portuguese
|
1333
|
+
MO_pt:
|
1334
|
+
address_template: |
|
1335
|
+
{{{attention}}}
|
1336
|
+
{{{house}}}
|
1337
|
+
{{{road}}} {{{house_number}}}
|
1338
|
+
{{#first}} {{{suburb}}} || {{{village}}} || {{{state_district}}} {{/first}}
|
1339
|
+
{{{country}}}
|
1340
|
+
|
1341
|
+
# Macao - Chinese
|
1342
|
+
MO_zh:
|
1343
|
+
address_template: |
|
1344
|
+
{{{country}}}
|
1345
|
+
{{#first}} {{{suburb}}} || {{{village}}} || {{{state_district}}} {{/first}}
|
1346
|
+
{{{road}}}
|
1347
|
+
{{{house_number}}}
|
1348
|
+
{{{house}}}
|
1349
|
+
{{{attention}}}
|
1350
|
+
|
1351
|
+
# Northern Mariana Islands
|
1352
|
+
MP:
|
1353
|
+
use_country: US
|
1354
|
+
change_country: United States of America
|
1355
|
+
add_component: state=Northern Mariana Islands
|
1356
|
+
|
1357
|
+
# Montserrat
|
1358
|
+
MS:
|
1359
|
+
address_template: *generic16
|
1360
|
+
|
1361
|
+
# Malta
|
1362
|
+
MT:
|
1363
|
+
address_template: |
|
1364
|
+
{{{attention}}}
|
1365
|
+
{{{house}}}
|
1366
|
+
{{{house_number}}} {{{road}}}
|
1367
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{suburb}}} || {{{village}}} {{/first}}
|
1368
|
+
{{{postcode}}}
|
1369
|
+
{{{country}}}
|
1370
|
+
|
1371
|
+
# Martinique - overseas territory of France (FR)
|
1372
|
+
MQ:
|
1373
|
+
use_country: FR
|
1374
|
+
change_country: Martinique, France
|
1375
|
+
|
1376
|
+
# Mauritania
|
1377
|
+
MR:
|
1378
|
+
address_template: *generic18
|
1379
|
+
|
1380
|
+
# Mauritius
|
1381
|
+
MU:
|
1382
|
+
address_template: *generic18
|
1383
|
+
|
1384
|
+
# Maldives
|
1385
|
+
MV:
|
1386
|
+
address_template: *generic2
|
1387
|
+
|
1388
|
+
# Malawi
|
1389
|
+
MW:
|
1390
|
+
address_template: *generic16
|
1391
|
+
|
1392
|
+
# Mexico
|
1393
|
+
MX:
|
1394
|
+
address_template: |
|
1395
|
+
{{{attention}}}
|
1396
|
+
{{{house}}}
|
1397
|
+
{{{road}}} {{{house_number}}}
|
1398
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1399
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}, {{#first}} {{{state_code}}} || {{{state}}} {{/first}}
|
1400
|
+
{{{country}}}
|
1401
|
+
|
1402
|
+
# Malaysia
|
1403
|
+
MY:
|
1404
|
+
address_template: |
|
1405
|
+
{{{attention}}}
|
1406
|
+
{{{house}}}
|
1407
|
+
{{{house_number}}} {{{road}}}
|
1408
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1409
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1410
|
+
{{{state}}}
|
1411
|
+
{{{country}}}
|
1412
|
+
|
1413
|
+
# Mozambique
|
1414
|
+
MZ:
|
1415
|
+
address_template: *generic15
|
1416
|
+
fallback_template: *fallback4
|
1417
|
+
|
1418
|
+
# Namibia
|
1419
|
+
NA:
|
1420
|
+
address_template: *generic2
|
1421
|
+
|
1422
|
+
# New Caledonia, special collectivity of France
|
1423
|
+
NC:
|
1424
|
+
use_country: FR
|
1425
|
+
change_country: Nouvelle-Calédonie, France
|
1426
|
+
|
1427
|
+
# Niger
|
1428
|
+
NE:
|
1429
|
+
address_template: |
|
1430
|
+
{{{attention}}}
|
1431
|
+
{{{house}}}
|
1432
|
+
{{{house_number}}}
|
1433
|
+
{{{road}}}
|
1434
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1435
|
+
{{{country}}}
|
1436
|
+
|
1437
|
+
# Norfolk Island - same as Australia
|
1438
|
+
NF:
|
1439
|
+
use_country: AU
|
1440
|
+
add_component: state=Norfolk Island
|
1441
|
+
change_country: Australia
|
1442
|
+
|
1443
|
+
# Nigeria
|
1444
|
+
NG:
|
1445
|
+
address_template: |
|
1446
|
+
{{{attention}}}
|
1447
|
+
{{{house}}}
|
1448
|
+
{{{house_number}}} {{{road}}}
|
1449
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} {{{postcode}}}
|
1450
|
+
{{{state}}}
|
1451
|
+
{{{country}}}
|
1452
|
+
|
1453
|
+
# Nicaragua
|
1454
|
+
NI:
|
1455
|
+
address_template: *generic21
|
1456
|
+
|
1457
|
+
# Netherlands
|
1458
|
+
NL:
|
1459
|
+
address_template: *generic1
|
1460
|
+
postformat_replace:
|
1461
|
+
# fix the postcode to make it \d\d\d\d \w\w
|
1462
|
+
- ["\n(\\d{4})(\\w{2}) ","\n$1 $2 "]
|
1463
|
+
- ["\nKoninkrijk der Nederlanden$","\nNederland"]
|
1464
|
+
|
1465
|
+
|
1466
|
+
# Norway
|
1467
|
+
# quoted since python interprets it as a boolean. Silly python!
|
1468
|
+
"NO":
|
1469
|
+
address_template: *generic1
|
1470
|
+
|
1471
|
+
# Nepal
|
1472
|
+
NP:
|
1473
|
+
address_template: |
|
1474
|
+
{{{attention}}}
|
1475
|
+
{{{house}}}
|
1476
|
+
{{{road}}} {{{house_number}}}
|
1477
|
+
{{#first}} {{{suburb}}} || {{{neighbourhood}}} || {{{city}}} {{/first}}
|
1478
|
+
{{#first}} {{{county}}} || {{{state_district}}} || {{{state}}} {{/first}} {{{postcode}}}
|
1479
|
+
{{{country}}}
|
1480
|
+
|
1481
|
+
# Nauru
|
1482
|
+
NR:
|
1483
|
+
address_template: *generic16
|
1484
|
+
|
1485
|
+
# Niue
|
1486
|
+
NU:
|
1487
|
+
address_template: *generic16
|
1488
|
+
|
1489
|
+
# New Zealand
|
1490
|
+
NZ:
|
1491
|
+
address_template: *generic20
|
1492
|
+
|
1493
|
+
# Oman
|
1494
|
+
OM:
|
1495
|
+
address_template: |
|
1496
|
+
{{{attention}}}
|
1497
|
+
{{{house}}}
|
1498
|
+
{{{house_number}}} {{{road}}}
|
1499
|
+
{{{postcode}}}
|
1500
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}
|
1501
|
+
{{{state}}}
|
1502
|
+
{{{country}}}
|
1503
|
+
|
1504
|
+
# Panama
|
1505
|
+
PA:
|
1506
|
+
address_template: |
|
1507
|
+
{{{attention}}}
|
1508
|
+
{{{house}}}
|
1509
|
+
{{{road}}} {{{house_number}}}
|
1510
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1511
|
+
{{{postcode}}}
|
1512
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}
|
1513
|
+
{{{state}}}
|
1514
|
+
{{{country}}}
|
1515
|
+
replace:
|
1516
|
+
- ["city=Panama","Panama City"]
|
1517
|
+
- ["city=Panamá","Ciudad de Panamá"]
|
1518
|
+
|
1519
|
+
# Peru
|
1520
|
+
PE:
|
1521
|
+
address_template: *generic19
|
1522
|
+
|
1523
|
+
# French Polynesia - same as FR
|
1524
|
+
PF:
|
1525
|
+
use_country: FR
|
1526
|
+
change_country: Polynésie française, France
|
1527
|
+
replace:
|
1528
|
+
- ["Polynésie française, Îles du Vent \\(eaux territoriales\\)","Polynésie française"]
|
1529
|
+
|
1530
|
+
|
1531
|
+
# Papau New Guinea
|
1532
|
+
PG:
|
1533
|
+
address_template: |
|
1534
|
+
{{{attention}}}
|
1535
|
+
{{{house}}}
|
1536
|
+
{{{house_number}}} {{{road}}}
|
1537
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}} {{{postcode}}} {{{state}}}
|
1538
|
+
{{{country}}}
|
1539
|
+
|
1540
|
+
# Philippines
|
1541
|
+
PH:
|
1542
|
+
address_template: |
|
1543
|
+
{{{attention}}}
|
1544
|
+
{{{house}}}
|
1545
|
+
{{{house_number}}} {{{road}}}
|
1546
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{suburb}}} || {{{state_district}}} {{/first}}
|
1547
|
+
{{{postcode}}} {{{state}}}
|
1548
|
+
{{{country}}}
|
1549
|
+
|
1550
|
+
# Pakistan
|
1551
|
+
PK:
|
1552
|
+
address_template: |
|
1553
|
+
{{{attention}}}
|
1554
|
+
{{{house}}}
|
1555
|
+
{{{house_number}}} {{{road}}}
|
1556
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1557
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}} {{{postcode}}}
|
1558
|
+
{{{country}}}
|
1559
|
+
|
1560
|
+
# Poland
|
1561
|
+
PL:
|
1562
|
+
address_template: *generic1
|
1563
|
+
postformat_replace:
|
1564
|
+
# fix the postcode to make it \d\d-\d\d\d
|
1565
|
+
- ["\n(\\d{2})(\\w{3}) ","\n$1-$2 "]
|
1566
|
+
|
1567
|
+
|
1568
|
+
# Saint Pierre and Miquelon - same as FR
|
1569
|
+
PM:
|
1570
|
+
use_country: FR
|
1571
|
+
change_country: Saint-Pierre-et-Miquelon, France
|
1572
|
+
|
1573
|
+
# Pitcairn Islands
|
1574
|
+
PN:
|
1575
|
+
address_template: |
|
1576
|
+
{{{attention}}}
|
1577
|
+
{{{house}}}
|
1578
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{island}}} {{/first}}
|
1579
|
+
{{{country}}}
|
1580
|
+
|
1581
|
+
# Puerto Rico, same as USA
|
1582
|
+
PR:
|
1583
|
+
use_country: US
|
1584
|
+
change_country: United States of America
|
1585
|
+
add_component: state=Puerto Rico
|
1586
|
+
|
1587
|
+
# Palestine
|
1588
|
+
PS:
|
1589
|
+
use_country: IL
|
1590
|
+
|
1591
|
+
# Portugal
|
1592
|
+
PT:
|
1593
|
+
address_template: *generic1
|
1594
|
+
|
1595
|
+
# Palau
|
1596
|
+
PW:
|
1597
|
+
address_template: *generic1
|
1598
|
+
|
1599
|
+
# Parguay
|
1600
|
+
PY:
|
1601
|
+
address_template: *generic1
|
1602
|
+
|
1603
|
+
# Qatar
|
1604
|
+
QA:
|
1605
|
+
address_template: *generic17
|
1606
|
+
|
1607
|
+
# Réunion - same as FR
|
1608
|
+
RE:
|
1609
|
+
use_country: FR
|
1610
|
+
change_country: La Réunion, France
|
1611
|
+
|
1612
|
+
|
1613
|
+
# Romania
|
1614
|
+
RO:
|
1615
|
+
address_template: *generic1
|
1616
|
+
|
1617
|
+
# Serbia
|
1618
|
+
RS:
|
1619
|
+
address_template: *generic1
|
1620
|
+
|
1621
|
+
# Russia
|
1622
|
+
RU:
|
1623
|
+
address_template: *generic10
|
1624
|
+
|
1625
|
+
# Rwanda
|
1626
|
+
RW:
|
1627
|
+
address_template: *generic16
|
1628
|
+
|
1629
|
+
# Saudi Arabia
|
1630
|
+
SA:
|
1631
|
+
address_template: |
|
1632
|
+
{{{attention}}}
|
1633
|
+
{{{house}}}
|
1634
|
+
{{{house_number}}} {{{road}}}, {{#first}} {{{village}}} || {{{city_district}}} || {{{suburb}}} || {{{neighbourhood}}} {{/first}}
|
1635
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} {{/first}} {{{postcode}}}
|
1636
|
+
{{{country}}}
|
1637
|
+
|
1638
|
+
# Solomon Islands
|
1639
|
+
SB:
|
1640
|
+
address_template: *generic17
|
1641
|
+
|
1642
|
+
# Seychelles
|
1643
|
+
SC:
|
1644
|
+
address_template: |
|
1645
|
+
{{{attention}}}
|
1646
|
+
{{{house}}}
|
1647
|
+
{{{house_number}}} {{{road}}}
|
1648
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{island}}} {{/first}}
|
1649
|
+
{{{island}}}
|
1650
|
+
{{{country}}}
|
1651
|
+
|
1652
|
+
# Sudan
|
1653
|
+
SD:
|
1654
|
+
address_template: *generic1
|
1655
|
+
|
1656
|
+
# Sweden
|
1657
|
+
SE:
|
1658
|
+
address_template: *generic1
|
1659
|
+
postformat_replace:
|
1660
|
+
# fix the postcode to make it \d\d\d \d\d
|
1661
|
+
- ["\n(\\d{3})(\\d{2}) ","\n$1 $2 "]
|
1662
|
+
|
1663
|
+
# Singapore
|
1664
|
+
SG:
|
1665
|
+
address_template: *generic2
|
1666
|
+
|
1667
|
+
# Saint Helena, Ascension and Tristan da Cunha - same as UK
|
1668
|
+
SH:
|
1669
|
+
use_country: GB
|
1670
|
+
change_country: $state, United Kingdom
|
1671
|
+
|
1672
|
+
# Slovenia
|
1673
|
+
SI:
|
1674
|
+
address_template: *generic1
|
1675
|
+
|
1676
|
+
# Svalbard and Jan Mayen - same as Norway
|
1677
|
+
SJ:
|
1678
|
+
use_country: "NO"
|
1679
|
+
change_country: Norway
|
1680
|
+
|
1681
|
+
# Slovakia
|
1682
|
+
SK:
|
1683
|
+
address_template: *generic1
|
1684
|
+
replace:
|
1685
|
+
- ["^District of ",""]
|
1686
|
+
|
1687
|
+
# Sierra Leone
|
1688
|
+
SL:
|
1689
|
+
address_template: *generic16
|
1690
|
+
|
1691
|
+
# San Marino - same as IT
|
1692
|
+
SM:
|
1693
|
+
use_country: IT
|
1694
|
+
|
1695
|
+
# Senegal
|
1696
|
+
SN:
|
1697
|
+
address_template: *generic3
|
1698
|
+
|
1699
|
+
# Somalia
|
1700
|
+
SO:
|
1701
|
+
address_template: *generic21
|
1702
|
+
|
1703
|
+
# Suriname
|
1704
|
+
SR:
|
1705
|
+
address_template: *generic21
|
1706
|
+
|
1707
|
+
# South Sudan
|
1708
|
+
SS:
|
1709
|
+
address_template: *generic17
|
1710
|
+
|
1711
|
+
# São Tomé and Príncipe
|
1712
|
+
ST:
|
1713
|
+
address_template: *generic17
|
1714
|
+
|
1715
|
+
# El Salvador
|
1716
|
+
SV:
|
1717
|
+
address_template: |
|
1718
|
+
{{{attention}}}
|
1719
|
+
{{{house}}}
|
1720
|
+
{{{road}}} {{{house_number}}}
|
1721
|
+
{{{postcode}}} - {{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1722
|
+
{{{state}}}
|
1723
|
+
{{{country}}}
|
1724
|
+
postformat_replace:
|
1725
|
+
- ["\n- ","\n "]
|
1726
|
+
|
1727
|
+
# Sint Maarten
|
1728
|
+
SX:
|
1729
|
+
address_template: *generic17
|
1730
|
+
|
1731
|
+
# Syria
|
1732
|
+
SY:
|
1733
|
+
address_template: |
|
1734
|
+
{{{attention}}}
|
1735
|
+
{{{house}}}
|
1736
|
+
{{{road}}}, {{{house_number}}}
|
1737
|
+
{{#first}} {{{village}}} || {{{city_district}}} || {{{neighbourhood}}} || {{{suburb}}} {{/first}}
|
1738
|
+
{{{postcode}}} {{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{state}}} {{/first}}
|
1739
|
+
|
1740
|
+
{{{country}}}
|
1741
|
+
|
1742
|
+
|
1743
|
+
# Swaziland
|
1744
|
+
SZ:
|
1745
|
+
address_template: |
|
1746
|
+
{{{attention}}}
|
1747
|
+
{{{house}}}
|
1748
|
+
{{{road}}} {{{house_number}}}
|
1749
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
1750
|
+
{{{postcode}}}
|
1751
|
+
{{{country}}}
|
1752
|
+
|
1753
|
+
# Turks and Caicos Islands - same as UK
|
1754
|
+
TC:
|
1755
|
+
use_country: GB
|
1756
|
+
|
1757
|
+
# Chad
|
1758
|
+
TD:
|
1759
|
+
address_template: *generic21
|
1760
|
+
|
1761
|
+
# French Southern and Antarctic Lands
|
1762
|
+
TF:
|
1763
|
+
use_country: FR
|
1764
|
+
change_country: Terres australes et antarctiques françaises, France
|
1765
|
+
|
1766
|
+
# Togo
|
1767
|
+
TG:
|
1768
|
+
address_template: *generic18
|
1769
|
+
|
1770
|
+
# Thailand
|
1771
|
+
TH:
|
1772
|
+
address_template: |
|
1773
|
+
{{{attention}}}
|
1774
|
+
{{{house}}}
|
1775
|
+
{{{house_number}}} {{{village}}}
|
1776
|
+
{{{road}}}
|
1777
|
+
{{#first}} {{{neighbourhood}}} || {{{city}}} || {{{town}}} {{/first}}, {{#first}} {{{suburb}}} || {{{city_district}}} || {{{state_district}}} {{/first}}
|
1778
|
+
{{{state}}} {{{postcode}}}
|
1779
|
+
{{{country}}}
|
1780
|
+
|
1781
|
+
# Tajikistan
|
1782
|
+
TJ:
|
1783
|
+
address_template: *generic1
|
1784
|
+
|
1785
|
+
# Tokelau, territory of New Zealand
|
1786
|
+
TK:
|
1787
|
+
use_country: NZ
|
1788
|
+
change_country: Tokelau, New Zealand
|
1789
|
+
|
1790
|
+
# Timor-Leste/East Timor
|
1791
|
+
TL:
|
1792
|
+
address_template: *generic17
|
1793
|
+
|
1794
|
+
# Turkmenistan
|
1795
|
+
TM:
|
1796
|
+
address_template: *generic22
|
1797
|
+
|
1798
|
+
# Tunisia
|
1799
|
+
TN:
|
1800
|
+
address_template: *generic3
|
1801
|
+
|
1802
|
+
# Tonga
|
1803
|
+
TO:
|
1804
|
+
address_template: *generic16
|
1805
|
+
|
1806
|
+
# Turkey
|
1807
|
+
TR:
|
1808
|
+
address_template: *generic1
|
1809
|
+
|
1810
|
+
# Trinidad and Tobago
|
1811
|
+
TT:
|
1812
|
+
address_template: |
|
1813
|
+
{{{attention}}}
|
1814
|
+
{{{house}}}
|
1815
|
+
{{{house_number}}} {{{road}}}
|
1816
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{state_district}}} {{/first}}
|
1817
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}, {{{postcode}}}
|
1818
|
+
{{{country}}}
|
1819
|
+
|
1820
|
+
# Tuvalu
|
1821
|
+
TV:
|
1822
|
+
address_template: |
|
1823
|
+
{{{attention}}}
|
1824
|
+
{{{house}}}
|
1825
|
+
{{{house_number}}} {{{road}}}
|
1826
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1827
|
+
{{#first}} {{{county}}} || {{{state_district}}} || {{{state}}} || {{{island}}} {{/first}}
|
1828
|
+
{{{country}}}
|
1829
|
+
|
1830
|
+
# Taiwan
|
1831
|
+
TW:
|
1832
|
+
address_template: *generic20
|
1833
|
+
|
1834
|
+
TW_en:
|
1835
|
+
address_template: *generic20
|
1836
|
+
|
1837
|
+
TW_zh:
|
1838
|
+
address_template: |
|
1839
|
+
{{{country}}}
|
1840
|
+
{{{postcode}}}
|
1841
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1842
|
+
{{{city_district}}}
|
1843
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}
|
1844
|
+
{{{road}}}
|
1845
|
+
{{{house_number}}}
|
1846
|
+
{{{house}}}
|
1847
|
+
{{{attention}}}
|
1848
|
+
|
1849
|
+
# Tanzania
|
1850
|
+
TZ:
|
1851
|
+
address_template: *generic14
|
1852
|
+
fallback_template: *generic14
|
1853
|
+
postformat_replace:
|
1854
|
+
- ["Dar es Salaam\nDar es Salaam","Dar es Salaam"]
|
1855
|
+
|
1856
|
+
# Ukraine
|
1857
|
+
UA:
|
1858
|
+
address_template: |
|
1859
|
+
{{{attention}}}
|
1860
|
+
{{{house}}}
|
1861
|
+
{{{road}}}, {{{house_number}}}
|
1862
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{state_district}}} {{/first}}
|
1863
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
1864
|
+
{{{postcode}}}
|
1865
|
+
{{{country}}}
|
1866
|
+
|
1867
|
+
# Uganda
|
1868
|
+
UG:
|
1869
|
+
address_template: *generic16
|
1870
|
+
|
1871
|
+
# US Minor Outlying Islands, same as USA
|
1872
|
+
UM:
|
1873
|
+
fallback_template: *fallback3
|
1874
|
+
use_country: US
|
1875
|
+
change_country: United States of America
|
1876
|
+
add_component: state=US Minor Outlying Islands
|
1877
|
+
|
1878
|
+
# USA
|
1879
|
+
US:
|
1880
|
+
address_template: *generic4
|
1881
|
+
fallback_template: *fallback2
|
1882
|
+
replace:
|
1883
|
+
- ["state=United States Virgin Islands","US Virgin Islands"]
|
1884
|
+
- ["state=USVI","US Virgin Islands"]
|
1885
|
+
postformat_replace:
|
1886
|
+
- ["\nUS$","\nUnited States of America"]
|
1887
|
+
- ["\nUSA$","\nUnited States of America"]
|
1888
|
+
- ["\nUnited States$","\nUnited States of America"]
|
1889
|
+
|
1890
|
+
# Uzbekistan
|
1891
|
+
UZ:
|
1892
|
+
address_template: |
|
1893
|
+
{{{attention}}}
|
1894
|
+
{{{house}}}
|
1895
|
+
{{{road}}} {{{house_number}}}
|
1896
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}
|
1897
|
+
{{#first}} {{{state}}} || {{{state_district}}} {{/first}}
|
1898
|
+
{{{country}}}
|
1899
|
+
{{{postcode}}}
|
1900
|
+
|
1901
|
+
# Uruguay
|
1902
|
+
UY:
|
1903
|
+
address_template: *generic1
|
1904
|
+
|
1905
|
+
# Vatican City - same as IT
|
1906
|
+
VA:
|
1907
|
+
use_country: IT
|
1908
|
+
|
1909
|
+
# Saint Vincent and the Grenadines
|
1910
|
+
VC:
|
1911
|
+
address_template: *generic17
|
1912
|
+
|
1913
|
+
# Venezuela
|
1914
|
+
VE:
|
1915
|
+
address_template: |
|
1916
|
+
{{{attention}}}
|
1917
|
+
{{{house}}}
|
1918
|
+
{{{road}}} {{{house_number}}}
|
1919
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}} {{{postcode}}}, {{#first}} {{{state_code}}} || {{{state}}} {{/first}}
|
1920
|
+
{{{country}}}
|
1921
|
+
|
1922
|
+
# British Virgin Islands
|
1923
|
+
VG:
|
1924
|
+
address_template: |
|
1925
|
+
{{{attention}}}
|
1926
|
+
{{{house}}}
|
1927
|
+
{{{house_number}}} {{{road}}}
|
1928
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} {{/first}}, {{{island}}}
|
1929
|
+
{{{country}}}, {{{postcode}}}
|
1930
|
+
|
1931
|
+
# US Virgin Islands, same as USA
|
1932
|
+
VI:
|
1933
|
+
use_country: US
|
1934
|
+
change_country: United States of America
|
1935
|
+
add_component: state=US Virgin Islands
|
1936
|
+
|
1937
|
+
# Vietnam
|
1938
|
+
VN:
|
1939
|
+
address_template: |
|
1940
|
+
{{{attention}}}
|
1941
|
+
{{{house}}}
|
1942
|
+
{{{house_number}}}, {{{road}}}
|
1943
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}}, {{#first}} {{{city}}} || {{{town}}} || {{{state_district}}} || {{{village}}} {{/first}}
|
1944
|
+
{{{state}}} {{{postcode}}}
|
1945
|
+
{{{country}}}
|
1946
|
+
|
1947
|
+
# Vanuatu
|
1948
|
+
VU:
|
1949
|
+
address_template: *generic17
|
1950
|
+
|
1951
|
+
# Wallis and Futuna, same as France
|
1952
|
+
WF:
|
1953
|
+
use_country: FR
|
1954
|
+
change_country: Wallis-et-Futuna, France
|
1955
|
+
|
1956
|
+
# Samoa
|
1957
|
+
WS:
|
1958
|
+
address_template: *generic17
|
1959
|
+
|
1960
|
+
# Yemen
|
1961
|
+
YE:
|
1962
|
+
address_template: *generic18
|
1963
|
+
|
1964
|
+
# Mayotte - same as FR
|
1965
|
+
YT:
|
1966
|
+
use_country: FR
|
1967
|
+
change_country: Mayotte, France
|
1968
|
+
|
1969
|
+
# South Africa
|
1970
|
+
ZA:
|
1971
|
+
address_template: |
|
1972
|
+
{{{attention}}}
|
1973
|
+
{{{house}}}
|
1974
|
+
{{{house_number}}} {{{road}}}
|
1975
|
+
{{#first}} {{{suburb}}} || {{{city_district}}} || {{{state_district}}} {{/first}}
|
1976
|
+
{{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{state}}} {{/first}}
|
1977
|
+
{{{postcode}}}
|
1978
|
+
{{{country}}}
|
1979
|
+
|
1980
|
+
# Zambia
|
1981
|
+
ZM:
|
1982
|
+
address_template: *generic3
|
1983
|
+
|
1984
|
+
# Zimbabwe
|
1985
|
+
ZW:
|
1986
|
+
address_template: *generic16
|