From: Sarah Hoffmann Date: Wed, 2 Jan 2019 13:50:55 +0000 (+0100) Subject: add postcodes and interpolations to osm2pgsql style X-Git-Tag: v3.3.0~40^2~5 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/8e2e852b898b3ebba6e3c243b08ba02f7f44d4fc?ds=sidebyside add postcodes and interpolations to osm2pgsql style --- diff --git a/settings/import-address.style b/settings/import-address.style index b79b5bc9..1b5eda61 100644 --- a/settings/import-address.style +++ b/settings/import-address.style @@ -60,9 +60,9 @@ } }, { - "keys" : ["addr:*", "is_in:*", "tiger:county", "is_in"], + "keys" : ["addr:interpolation"], "values" : { - "" : "address" + "" : "interpolation,address" } }, { diff --git a/settings/import-admin.style b/settings/import-admin.style index df7b31d2..02a54f12 100644 --- a/settings/import-admin.style +++ b/settings/import-admin.style @@ -53,5 +53,18 @@ "values" : { "" : "address" } +}, +{ + "keys" : ["postal_code", "postcode", "addr:postcode", + "tiger:zip_left", "tiger:zip_right"], + "values" : { + "" : "postcode" + } +}, +{ + "keys" : ["capital"], + "values" : { + "" : "extra" + } } ] diff --git a/settings/import-full.style b/settings/import-full.style index f84b9305..3a743001 100644 --- a/settings/import-full.style +++ b/settings/import-full.style @@ -198,6 +198,12 @@ "" : "address,house" } }, +{ + "keys" : ["addr:interpolation"], + "values" : { + "" : "interpolation,address" + } +}, { "keys" : ["addr:*", "is_in:*", "tiger:county", "is_in"], "values" : {