From: Sarah Hoffmann Date: Mon, 23 May 2022 09:10:35 +0000 (+0200) Subject: add postcode formats with optional country code X-Git-Tag: v4.1.0~22^2~23 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/49626ba7091ea305616c03b397984add8a09e7d4 add postcode formats with optional country code If the country code is not part of the mandatory output, the country code filter will do the correct handling. --- diff --git a/settings/country_settings.yaml b/settings/country_settings.yaml index 684b0e44..adb7593e 100644 --- a/settings/country_settings.yaml +++ b/settings/country_settings.yaml @@ -131,6 +131,8 @@ az: partition: 119 languages: az names: !include country-names/az.yaml + postcode: + pattern: "dddd" # Bosnia and Herzegovina (Bosna i Hercegovina / Босна и Херцеговина) @@ -513,6 +515,8 @@ ec: partition: 78 languages: es names: !include country-names/ec.yaml + postcode: + pattern: "dddddd" # Estonia (Eesti) @@ -606,6 +610,8 @@ fo: partition: 10 languages: fo, da names: !include country-names/fo.yaml + postcode: + pattern: "ddd" # France (France) @@ -804,6 +810,8 @@ ht: partition: 29 languages: fr, ht names: !include country-names/ht.yaml + postcode: + pattern: "dddd" # Hungary (Magyarország) @@ -1083,6 +1091,8 @@ lt: partition: 67 languages: lt names: !include country-names/lt.yaml + postcode: + pattern: "ddddd" # Luxembourg (Lëtzebuerg)