From: Sarah Hoffmann Date: Thu, 23 Jun 2022 14:17:47 +0000 (+0200) Subject: ignore 5+ postcodes in the US for now X-Git-Tag: v4.1.0~22^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/536f08f33a1388c5022c2adf799da55035fd7e0a ignore 5+ postcodes in the US for now Hierarchical postcodes need a different treatment. --- diff --git a/settings/country_settings.yaml b/settings/country_settings.yaml index 14d08de3..b0bacdfc 100644 --- a/settings/country_settings.yaml +++ b/settings/country_settings.yaml @@ -1998,7 +1998,7 @@ ua: languages: uk names: !include country-names/ua.yaml postcode: - pattern: "ddddd" + pattern: "d?ddddd" # Uganda (Uganda) @@ -2024,7 +2024,7 @@ us: languages: en names: !include country-names/us.yaml postcode: - pattern: "(ddddd)(?:-dddd)?" + pattern: "ddddd" # Uruguay (Uruguay)