mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
fix admin levels for Norway and Sweden
Admin levels 3 and 4 are used for region and county respectively, so downgrade the ranking.
This commit is contained in:
@@ -8,11 +8,11 @@
|
|||||||
"province" : [8, 0],
|
"province" : [8, 0],
|
||||||
"region" : [18, 0],
|
"region" : [18, 0],
|
||||||
"county" : 12,
|
"county" : 12,
|
||||||
|
"municipality" : [17, 14],
|
||||||
"city" : 16,
|
"city" : 16,
|
||||||
"island" : [17, 0],
|
"island" : [17, 0],
|
||||||
"town" : [18, 16],
|
"town" : [18, 16],
|
||||||
"village" : [19, 16],
|
"village" : [19, 16],
|
||||||
"municipality" : [19, 16],
|
|
||||||
"district" : [19, 16],
|
"district" : [19, 16],
|
||||||
"borough" : [19, 18],
|
"borough" : [19, 18],
|
||||||
"hamlet" : 20,
|
"hamlet" : 20,
|
||||||
@@ -95,8 +95,7 @@
|
|||||||
"tags" : {
|
"tags" : {
|
||||||
"place" : {
|
"place" : {
|
||||||
"region" : [10, 0],
|
"region" : [10, 0],
|
||||||
"county" : [12, 0],
|
"county" : [12, 0]
|
||||||
"municipality" : 14
|
|
||||||
},
|
},
|
||||||
"boundary" : {
|
"boundary" : {
|
||||||
"administrative5" : [10, 0]
|
"administrative5" : [10, 0]
|
||||||
@@ -109,6 +108,16 @@
|
|||||||
"administrative7" : [14, 0]
|
"administrative7" : [14, 0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{ "countries" : ["se", "no"],
|
||||||
|
"tags" : {
|
||||||
|
"place" : {
|
||||||
|
},
|
||||||
|
"boundary" : {
|
||||||
|
"administrative3" : 8,
|
||||||
|
"administrative4" : 12
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user