From: Sarah Hoffmann Date: Fri, 18 Sep 2020 09:08:47 +0000 (+0200) Subject: postal boundary may be imported without name X-Git-Tag: v3.6.0~74^2~3 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/7fb62ea904fc2354b0b281028e12af1f6d212562 postal boundary may be imported without name Postal boundaries usually just have the postcode tag set and are therefore officially 'nameless'. We want to have them as boundary=postal_code anyways in order to distiguish them from postcode points inherited from addr: tags. --- diff --git a/settings/import-address.style b/settings/import-address.style index bff9fa65..16f2e929 100644 --- a/settings/import-address.style +++ b/settings/import-address.style @@ -44,7 +44,8 @@ { "keys" : ["boundary"], "values" : { - "administrative" : "main" + "administrative" : "main", + "postal_code" : "main" } }, { diff --git a/settings/import-extratags.style b/settings/import-extratags.style index 184650f3..b90a07b1 100644 --- a/settings/import-extratags.style +++ b/settings/import-extratags.style @@ -125,6 +125,7 @@ "keys" : ["boundary"], "values" : { "place" : "skip", + "postal_code" : "main", "" : "main,with_name" } }, diff --git a/settings/import-full.style b/settings/import-full.style index 0c49f23d..c57c2c3a 100644 --- a/settings/import-full.style +++ b/settings/import-full.style @@ -125,6 +125,7 @@ "keys" : ["boundary"], "values" : { "place" : "skip", + "postal_code" : "main", "" : "main,with_name" } },