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,
"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]
}
}
},

View File

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

View File

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