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.
This commit is contained in:
Sarah Hoffmann
2020-09-01 17:55:40 +02:00
parent 76b307f42a
commit a68cdc40be
3 changed files with 8 additions and 3 deletions

View File

@@ -29,7 +29,9 @@
"square" : 25, "square" : 25,
"houses" : [28, 0], "houses" : [28, 0],
"farm" : [20, 0], "farm" : [20, 0],
"locality" : [20, 0] "locality" : [20, 0],
"house" : 30,
"" : [22, 0]
}, },
"boundary" : { "boundary" : {
"administrative2" : 4, "administrative2" : 4,
@@ -42,7 +44,8 @@
"administrative9" : 18, "administrative9" : 18,
"administrative10" : 20, "administrative10" : 20,
"administrative11" : 22, "administrative11" : 22,
"administrative12" : 24 "administrative12" : 24,
"" : [25, 0]
}, },
"landuse" : { "landuse" : {
"residential" : 22, "residential" : 22,
@@ -88,7 +91,7 @@
"" : [20, 0] "" : [20, 0]
}, },
"historic" : { "historic" : {
"neighbourhood" : [30, 0] "neighbourhood" : [22, 0]
} }
} }
}, },

View File

@@ -124,6 +124,7 @@
{ {
"keys" : ["boundary"], "keys" : ["boundary"],
"values" : { "values" : {
"place" : "skip",
"" : "main,with_name" "" : "main,with_name"
} }
}, },

View File

@@ -124,6 +124,7 @@
{ {
"keys" : ["boundary"], "keys" : ["boundary"],
"values" : { "values" : {
"place" : "skip",
"" : "main,with_name" "" : "main,with_name"
} }
}, },