From: Sarah Hoffmann Date: Sat, 25 Apr 2020 20:53:35 +0000 (+0200) Subject: fix admin levels for Norway and Sweden X-Git-Tag: v3.5.0~6^2~2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/af6b9fdb399f6f478ccfcd60f57ad223c7dc3cdf fix admin levels for Norway and Sweden Admin levels 3 and 4 are used for region and county respectively, so downgrade the ranking. --- diff --git a/settings/address-levels.json b/settings/address-levels.json index fe2b2eaa..8b25fb1a 100644 --- a/settings/address-levels.json +++ b/settings/address-levels.json @@ -8,11 +8,11 @@ "province" : [8, 0], "region" : [18, 0], "county" : 12, + "municipality" : [17, 14], "city" : 16, "island" : [17, 0], "town" : [18, 16], "village" : [19, 16], - "municipality" : [19, 16], "district" : [19, 16], "borough" : [19, 18], "hamlet" : 20, @@ -95,8 +95,7 @@ "tags" : { "place" : { "region" : [10, 0], - "county" : [12, 0], - "municipality" : 14 + "county" : [12, 0] }, "boundary" : { "administrative5" : [10, 0] @@ -109,6 +108,16 @@ "administrative7" : [14, 0] } } +}, +{ "countries" : ["se", "no"], + "tags" : { + "place" : { + }, + "boundary" : { + "administrative3" : 8, + "administrative4" : 12 + } + } } ]