From af6b9fdb399f6f478ccfcd60f57ad223c7dc3cdf Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 25 Apr 2020 22:53:35 +0200 Subject: [PATCH] fix admin levels for Norway and Sweden Admin levels 3 and 4 are used for region and county respectively, so downgrade the ranking. --- settings/address-levels.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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 + } + } } ] -- 2.39.5