X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6e0014e1383f2cefa235a00a82c50f4169af278f..93d5be097a338b0333ecf2452b0a7311cf061bff:/settings/country_settings.yaml?ds=sidebyside diff --git a/settings/country_settings.yaml b/settings/country_settings.yaml index 972e2670..14d08de3 100644 --- a/settings/country_settings.yaml +++ b/settings/country_settings.yaml @@ -3,6 +3,9 @@ ad: partition: 35 languages: ca names: !include country-names/ad.yaml + postcode: + pattern: "(ddd)" + output: AD\1 # United Arab Emirates (الإمارات العربية المتحدة) @@ -35,6 +38,9 @@ ai: partition: 175 languages: en names: !include country-names/ai.yaml + postcode: + pattern: "2640" + output: AI-2640 # Albania (Shqipëria) @@ -75,6 +81,7 @@ aq: partition: 181 languages: en, es, fr, ru names: !include country-names/aq.yaml + postcode: no # Argentina (Argentina) @@ -82,6 +89,8 @@ ar: partition: 39 languages: es names: !include country-names/ar.yaml + postcode: + pattern: "l?dddd(?:lll)?" # (American Samoa) @@ -129,6 +138,8 @@ az: partition: 119 languages: az names: !include country-names/az.yaml + postcode: + pattern: "dddd" # Bosnia and Herzegovina (Bosna i Hercegovina / Босна и Херцеговина) @@ -145,6 +156,9 @@ bb: partition: 206 languages: en names: !include country-names/bb.yaml + postcode: + pattern: "(ddddd)" + output: BB\1 # Bangladesh (Bangladesh) @@ -187,6 +201,8 @@ bh: partition: 62 languages: ar names: !include country-names/bh.yaml + postcode: + pattern: "d?ddd" # Burundi (Burundi) @@ -217,6 +233,9 @@ bm: partition: 176 languages: en names: !include country-names/bm.yaml + postcode: + pattern: "(ll)[ -]?(dd)" + output: \1 \2 # Brunei (Brunei) @@ -224,6 +243,9 @@ bn: partition: 86 languages: ms names: !include country-names/bn.yaml + postcode: + pattern: "(ll) ?(dddd)" + output: \1\2 # Bolivia (Bolivia) @@ -246,6 +268,9 @@ br: partition: 121 languages: pt names: !include country-names/br.yaml + postcode: + pattern: "(ddddd)-?(ddd)" + output: \1-\2 # The Bahamas (The Bahamas) @@ -302,6 +327,9 @@ ca: partition: 244 languages: en, fr names: !include country-names/ca.yaml + postcode: + pattern: "(ldl) ?(dld)" + output: \1 \2 # Cocos (Keeling) Islands (Cocos (Keeling) Islands) @@ -441,6 +469,8 @@ cy: partition: 114 languages: el, tr names: !include country-names/cy.yaml + postcode: + pattern: "(?:99|d)ddd" # Czechia (Česko) @@ -448,6 +478,9 @@ cz: partition: 124 languages: cs names: !include country-names/cz.yaml + postcode: + pattern: "(ddd) ?(dd)" + output: \1 \2 # Germany (Deutschland) @@ -507,6 +540,8 @@ ec: partition: 78 languages: es names: !include country-names/ec.yaml + postcode: + pattern: "dddddd" # Estonia (Eesti) @@ -582,6 +617,8 @@ fk: partition: 91 languages: en names: !include country-names/fk.yaml + postcode: + pattern: "FIQQ 1ZZ" # Federated States of Micronesia (Micronesia) @@ -598,6 +635,8 @@ fo: partition: 10 languages: fo, da names: !include country-names/fo.yaml + postcode: + pattern: "ddd" # France (France) @@ -622,6 +661,9 @@ gb: partition: 1 languages: en names: !include country-names/gb.yaml + postcode: + pattern: "(l?ld[A-Z0-9]?) ?(dll)" + output: \1 \2 # Grenada (Grenada) @@ -653,6 +695,9 @@ gg: partition: 77 languages: en names: !include country-names/gg.yaml + postcode: + pattern: "(GYdd?) ?(dll)" + output: \1 \2 # Ghana (Ghana) @@ -660,6 +705,8 @@ gh: partition: 211 languages: en names: !include country-names/gh.yaml + postcode: + pattern: "ll-d?ddd-dddd" # Gibraltar (Gibraltar) @@ -667,6 +714,9 @@ gi: partition: 138 languages: en names: !include country-names/gi.yaml + postcode: + pattern: "(GX11) ?(1AA)" + output: GX11 1AA # Greenland (Kalaallit Nunaat) @@ -715,6 +765,9 @@ gr: partition: 22 languages: el names: !include country-names/gr.yaml + postcode: + pattern: "(ddd) ?(dd)" + output: \1 \2 # South Georgia and the South Sandwich Islands (South Georgia and the South Sandwich Islands) @@ -722,6 +775,9 @@ gs: partition: 44 languages: en names: !include country-names/gs.yaml + postcode: + pattern: "(SIQQ) ?(1ZZ)" + output: \1 \2 # Guatemala (Guatemala) @@ -794,6 +850,8 @@ ht: partition: 29 languages: fr, ht names: !include country-names/ht.yaml + postcode: + pattern: "dddd" # Hungary (Magyarország) @@ -819,6 +877,9 @@ ie: partition: 46 languages: en, ga names: !include country-names/ie.yaml + postcode: + pattern: "(ldd) ?([0123456789ACDEFHKNPRTVWXY]{4})" + output: \1 \2 # Israel (ישראל) @@ -835,6 +896,9 @@ im: partition: 190 languages: en names: !include country-names/im.yaml + postcode: + pattern: "(IMdd?) ?(dll)" + output: \1 \2 # India (India) @@ -842,6 +906,9 @@ in: partition: 128 languages: hi, en names: !include country-names/in.yaml + postcode: + pattern: "(ddd) ?(ddd)" + output: \1\2 # British Indian Ocean Territory (British Indian Ocean Territory) @@ -849,6 +916,9 @@ io: partition: 13 languages: en names: !include country-names/io.yaml + postcode: + pattern: "(BBND) ?(1ZZ)" + output: \1 \2 # Iraq (العراق) @@ -865,6 +935,9 @@ ir: partition: 80 languages: fa names: !include country-names/ir.yaml + postcode: + pattern: "(ddddd)[-_ ]?(ddddd)" + output: \1-\2 # Iceland (Ísland) @@ -890,6 +963,9 @@ je: partition: 123 languages: en names: !include country-names/je.yaml + postcode: + pattern: "(JEdd?) ?(dll)" + output: \1 \2 # Jamaica (Jamaica) @@ -897,6 +973,7 @@ jm: partition: 214 languages: en names: !include country-names/jm.yaml + postcode: no # Jordan (الأردن) @@ -913,6 +990,9 @@ jp: partition: 11 languages: ja names: !include country-names/jp.yaml + postcode: + pattern: "(ddd)-?(dddd)" + output: \1-\2 # Kenya (Kenya) @@ -998,6 +1078,9 @@ ky: partition: 38 languages: en names: !include country-names/ky.yaml + postcode: + pattern: "(d)-(dddd)" + output: KY\1-\2 # Kazakhstan (Қазақстан) @@ -1005,6 +1088,8 @@ kz: partition: 94 languages: kk, ru names: !include country-names/kz.yaml + postcode: + pattern: "(?:lddldld|dddddd)" # Laos (ປະເທດລາວ) @@ -1021,6 +1106,8 @@ lb: partition: 66 languages: ar, fr names: !include country-names/lb.yaml + postcode: + pattern: "(dddd)(?: ?dddd)?" # Saint Lucia (Saint Lucia) @@ -1028,6 +1115,9 @@ lc: partition: 146 languages: en names: !include country-names/lc.yaml + postcode: + pattern: "(dd) ?(ddd)" + output: LC\1 \2 # Liechtenstein (Liechtenstein) @@ -1071,6 +1161,8 @@ lt: partition: 67 languages: lt names: !include country-names/lt.yaml + postcode: + pattern: "ddddd" # Luxembourg (Lëtzebuerg) @@ -1087,6 +1179,9 @@ lv: partition: 162 languages: lv names: !include country-names/lv.yaml + postcode: + pattern: "(dddd)" + output: LV-\1 # Libya (ليبيا) @@ -1111,6 +1206,8 @@ mc: partition: 242 languages: fr names: !include country-names/mc.yaml + postcode: + pattern: "980dd" # Moldova (Moldova) @@ -1118,6 +1215,9 @@ md: partition: 147 languages: ro, ru, uk names: !include country-names/md.yaml + postcode: + pattern: "(dddd)" + output: MD-\1 # Montenegro (Crna Gora / Црна Гора) @@ -1231,6 +1331,9 @@ mt: partition: 165 languages: mt, en names: !include country-names/mt.yaml + postcode: + pattern: "(lll) ?(dddd)" + output: \1 \2 # Mauritius (Mauritius) @@ -1282,6 +1385,8 @@ mz: partition: 98 languages: pt names: !include country-names/mz.yaml + postcode: + pattern: "(dddd)(?:-dd)?" # Namibia (Namibia) @@ -1339,6 +1444,9 @@ nl: partition: 63 languages: nl names: !include country-names/nl.yaml + postcode: + pattern: "(dddd) ?(ll)" + output: \1 \2 # Norway (Norge) @@ -1450,6 +1558,9 @@ pl: partition: 168 languages: pl names: !include country-names/pl.yaml + postcode: + pattern: "(dd)[ -]?(ddd)" + output: \1-\2 # Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon) @@ -1464,6 +1575,9 @@ pn: partition: 113 languages: en, pih names: !include country-names/pn.yaml + postcode: + pattern: "(PCRN) ?(1ZZ)" + output: \1 \2 # Puerto Rico (Puerto Rico) @@ -1487,6 +1601,8 @@ pt: partition: 34 languages: pt names: !include country-names/pt.yaml + postcode: + pattern: "dddd(?:-ddd)?" # Palau (Belau) @@ -1494,6 +1610,8 @@ pw: partition: 195 languages: en, pau, ja, sov, tox names: !include country-names/pw.yaml + postcode: + pattern: "969(39|40)" # Paraguay (Paraguay) @@ -1560,6 +1678,8 @@ sa: partition: 52 languages: ar names: !include country-names/sa.yaml + postcode: + pattern: "ddddd(?:-dddd)?" # Solomon Islands (Solomon Islands) @@ -1592,6 +1712,9 @@ se: partition: 112 languages: sv names: !include country-names/se.yaml + postcode: + pattern: "(ddd) ?(dd)" + output: \1 \2 # Singapore (Singapore) @@ -1608,6 +1731,9 @@ sh: partition: 196 languages: en names: !include country-names/sh.yaml + postcode: + pattern: "(ASCN|STHL|TDCU) ?(1ZZ)" + output: \1 \2 # Slovenia (Slovenija) @@ -1631,6 +1757,9 @@ sk: partition: 172 languages: sk names: !include country-names/sk.yaml + postcode: + pattern: "(ddd) ?(dd)" + output: \1 \2 # Sierra Leone (Sierra Leone) @@ -1646,6 +1775,8 @@ sm: partition: 153 languages: it names: !include country-names/sm.yaml + postcode: + pattern: "4789d" # Senegal (Sénégal) @@ -1662,6 +1793,9 @@ so: partition: 154 languages: so, ar names: !include country-names/so.yaml + postcode: + pattern: "(ll) ?(ddddd)" + output: \1 \2 # Suriname (Suriname) @@ -1717,6 +1851,8 @@ sz: partition: 82 languages: en, ss names: !include country-names/sz.yaml + postcode: + pattern: "lddd" # Turks and Caicos Islands (Turks and Caicos Islands) @@ -1724,6 +1860,9 @@ tc: partition: 106 languages: en names: !include country-names/tc.yaml + postcode: + pattern: "(TKCA) ?(1ZZ)" + output: \1 \2 # Chad (Tchad تشاد) @@ -1840,6 +1979,8 @@ tw: partition: 25 languages: zh-hant names: !include country-names/tw.yaml + postcode: + pattern: "ddd(?:ddd?)?" # Tanzania (Tanzania) @@ -1873,6 +2014,8 @@ um: partition: 198 languages: en names: !include country-names/um.yaml + postcode: + pattern: "96898" # United States (United States) @@ -1880,6 +2023,8 @@ us: partition: 2 languages: en names: !include country-names/us.yaml + postcode: + pattern: "(ddddd)(?:-dddd)?" # Uruguay (Uruguay) @@ -1905,6 +2050,8 @@ va: partition: 107 languages: it names: !include country-names/va.yaml + postcode: + pattern: "00120" # Saint Vincent and the Grenadines (Saint Vincent and the Grenadines) @@ -1912,6 +2059,9 @@ vc: partition: 171 languages: en names: !include country-names/vc.yaml + postcode: + pattern: "(dddd)" + output: VC\1 # Venezuela (Venezuela) @@ -1928,6 +2078,9 @@ vg: partition: 109 languages: en names: !include country-names/vg.yaml + postcode: + pattern: "(dddd)" + output: VG\1 # (United States Virgin Islands)