From: Sarah Hoffmann Date: Wed, 1 Jul 2020 16:00:53 +0000 (+0200) Subject: exclude language-specific name:prefix and name:suffix X-Git-Tag: v3.6.0~117^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/8b8dcea3de036558d1a323d962ff8572a6237c81 exclude language-specific name:prefix and name:suffix There are about 1k suffixes and 20k prefixes with a language-speicfic variant in use. These should not show up as names. --- diff --git a/settings/import-address.style b/settings/import-address.style index 8d622ec1..e0700868 100644 --- a/settings/import-address.style +++ b/settings/import-address.style @@ -6,7 +6,8 @@ } }, { - "keys" : ["name:prefix", "name:suffix", "name:botanical", "*wikidata"], + "keys" : ["name:prefix", "name:suffix", "name:prefix:*", "name:suffix:*", + "name:botanical", "*wikidata"], "values" : { "" : "skip" } diff --git a/settings/import-admin.style b/settings/import-admin.style index 2ad6cec8..3fe8c541 100644 --- a/settings/import-admin.style +++ b/settings/import-admin.style @@ -1,6 +1,7 @@ [ { - "keys" : ["name:prefix", "name:suffix", "name:botanical", "*wikidata"], + "keys" : ["name:prefix", "name:suffix", "name:prefix:*", "name:suffix:*", + "name:botanical", "*wikidata"], "values" : { "" : "skip" } diff --git a/settings/import-extratags.style b/settings/import-extratags.style index 49c55e57..b7c5223b 100644 --- a/settings/import-extratags.style +++ b/settings/import-extratags.style @@ -6,8 +6,8 @@ } }, { - "keys" : ["name:prefix", "name:suffix", "name:botanical", "wikidata", - "*:wikidata"], + "keys" : ["name:prefix", "name:suffix", "name:prefix:*", "name:suffix:*", + "name:botanical", "wikidata", "*:wikidata"], "values" : { "" : "extra" } diff --git a/settings/import-full.style b/settings/import-full.style index e876faea..e446f18a 100644 --- a/settings/import-full.style +++ b/settings/import-full.style @@ -6,8 +6,8 @@ } }, { - "keys" : ["name:prefix", "name:suffix", "name:botanical", "wikidata", - "*:wikidata"], + "keys" : ["name:prefix", "name:suffix", "name:prefix:*", "name:suffix:*", + "name:botanical", "wikidata", "*:wikidata"], "values" : { "" : "extra" } diff --git a/settings/import-street.style b/settings/import-street.style index 088c1155..7c4e9e2e 100644 --- a/settings/import-street.style +++ b/settings/import-street.style @@ -1,6 +1,7 @@ [ { - "keys" : ["name:prefix", "name:suffix", "name:botanical", "*wikidata"], + "keys" : ["name:prefix", "name:suffix", "name:prefix:*", "name:suffix:*", + "name:botanical", "*wikidata"], "values" : { "" : "skip" }