X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fbe40e005dfeecb937c92355492049dc4eb05f7d..781e83ddc357cefe0242d8f8aa8e6ef6a963ccb6:/settings/country_settings.yaml diff --git a/settings/country_settings.yaml b/settings/country_settings.yaml index bda3b9e7..667684c6 100644 --- a/settings/country_settings.yaml +++ b/settings/country_settings.yaml @@ -4,7 +4,8 @@ ad: languages: ca names: !include country-names/ad.yaml postcode: - pattern: "ADddd" + pattern: "(ddd)" + output: AD\1 # United Arab Emirates (الإمارات العربية المتحدة) @@ -38,7 +39,8 @@ ai: languages: en names: !include country-names/ai.yaml postcode: - pattern: "AI-2640" + pattern: "2640" + output: AI-2640 # Albania (Shqipëria) @@ -963,7 +965,8 @@ ky: languages: en names: !include country-names/ky.yaml postcode: - pattern: "KYd-dddd" + pattern: "(d)-(dddd)" + output: KY\1-\2 # Kazakhstan (Қазақстан) @@ -999,7 +1002,7 @@ lc: languages: en names: !include country-names/lc.yaml postcode: - pattern: "LC(dd) ?(ddd)" + pattern: "(dd) ?(ddd)" output: LC\1 \2 @@ -1063,7 +1066,8 @@ lv: languages: lv names: !include country-names/lv.yaml postcode: - pattern: "LV-dddd" + pattern: "(dddd)" + output: LV-\1 # Libya (ليبيا) @@ -1098,7 +1102,8 @@ md: languages: ro, ru, uk names: !include country-names/md.yaml postcode: - pattern: "MD-dddd" + pattern: "(dddd)" + output: MD-\1 # Montenegro (Crna Gora / Црна Гора) @@ -1840,7 +1845,8 @@ vc: languages: en names: !include country-names/vc.yaml postcode: - pattern: "VCdddd" + pattern: "(dddd)" + output: VC\1 # Venezuela (Venezuela) @@ -1858,7 +1864,8 @@ vg: languages: en names: !include country-names/vg.yaml postcode: - pattern: "VGdddd" + pattern: "(dddd)" + output: VG\1 # Vietnam (Việt Nam)