mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 14:02:12 +03:00
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:
parent
76b307f42a
commit
a68cdc40be
@ -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]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -124,6 +124,7 @@
|
||||
{
|
||||
"keys" : ["boundary"],
|
||||
"values" : {
|
||||
"place" : "skip",
|
||||
"" : "main,with_name"
|
||||
}
|
||||
},
|
||||
|
@ -124,6 +124,7 @@
|
||||
{
|
||||
"keys" : ["boundary"],
|
||||
"values" : {
|
||||
"place" : "skip",
|
||||
"" : "main,with_name"
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user