From: Sarah Hoffmann Date: Tue, 1 Sep 2020 15:55:40 +0000 (+0200) Subject: improve fallback ranking X-Git-Tag: v3.6.0~82^2~3 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/a68cdc40beea8fe66b7fffbf993602b4f4165322?ds=inline;hp=--cc improve fallback ranking Boundaries and places now always get a rank < 26 to make sure that they do not parent to a street. Skip boundary=place completely because they will be covered throught the secondary place tag. --- a68cdc40beea8fe66b7fffbf993602b4f4165322 diff --git a/settings/address-levels.json b/settings/address-levels.json index dff0e250..377a4576 100644 --- a/settings/address-levels.json +++ b/settings/address-levels.json @@ -29,7 +29,9 @@ "square" : 25, "houses" : [28, 0], "farm" : [20, 0], - "locality" : [20, 0] + "locality" : [20, 0], + "house" : 30, + "" : [22, 0] }, "boundary" : { "administrative2" : 4, @@ -42,7 +44,8 @@ "administrative9" : 18, "administrative10" : 20, "administrative11" : 22, - "administrative12" : 24 + "administrative12" : 24, + "" : [25, 0] }, "landuse" : { "residential" : 22, @@ -88,7 +91,7 @@ "" : [20, 0] }, "historic" : { - "neighbourhood" : [30, 0] + "neighbourhood" : [22, 0] } } }, diff --git a/settings/import-extratags.style b/settings/import-extratags.style index d1ae5511..184650f3 100644 --- a/settings/import-extratags.style +++ b/settings/import-extratags.style @@ -124,6 +124,7 @@ { "keys" : ["boundary"], "values" : { + "place" : "skip", "" : "main,with_name" } }, diff --git a/settings/import-full.style b/settings/import-full.style index 0e2d62e7..0c49f23d 100644 --- a/settings/import-full.style +++ b/settings/import-full.style @@ -124,6 +124,7 @@ { "keys" : ["boundary"], "values" : { + "place" : "skip", "" : "main,with_name" } },