From: Sarah Hoffmann Date: Tue, 25 Feb 2025 19:29:06 +0000 (+0100) Subject: enable parsing of US ZIP+ codes X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/eff60ba6becafc243b011d91761f4757462d9b30?ds=inline;hp=--cc enable parsing of US ZIP+ codes The four-digit part of these postcodes will simply be ignored. --- eff60ba6becafc243b011d91761f4757462d9b30 diff --git a/settings/country_settings.yaml b/settings/country_settings.yaml index 667684c6..a2ca7412 100644 --- a/settings/country_settings.yaml +++ b/settings/country_settings.yaml @@ -1809,7 +1809,8 @@ us: languages: en names: !include country-names/us.yaml postcode: - pattern: "ddddd" + pattern: "(ddddd)(?:-dddd)?" + output: \1 # Uruguay (Uruguay)