From d732dc3bb287bbbc58da28a637cef3dc2cc4802e Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 8 Jan 2020 22:44:56 +0100 Subject: [PATCH] update place address levels Adds province and allotments and downgrades hamlet. --- settings/address-levels.json | 4 +++- test/bdd/db/import/placex.feature | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/settings/address-levels.json b/settings/address-levels.json index 8429a3cb..c4fcf910 100644 --- a/settings/address-levels.json +++ b/settings/address-levels.json @@ -5,21 +5,23 @@ "continent" : [2, 0], "country" : [4, 0], "state" : [8, 0], + "province" : [8, 0], "region" : [18, 0], "county" : 12, "city" : 16, "island" : [17, 0], "town" : [18, 16], "village" : [19, 16], - "hamlet" : [19, 16], "municipality" : [19, 16], "district" : [19, 16], "unincorporated_area" : [19, 16], "borough" : [19, 16], + "hamlet" : 20, "suburb" : 20, "croft" : 20, "subdivision" : 20, "isolated_dwelling" : 20, + "allotments" : 20, "farm" : [20, 0], "locality" : [20, 0], "islet" : [20, 0], diff --git a/test/bdd/db/import/placex.feature b/test/bdd/db/import/placex.feature index f17d09df..b04a971f 100644 --- a/test/bdd/db/import/placex.feature +++ b/test/bdd/db/import/placex.feature @@ -175,7 +175,7 @@ Feature: Import into placex | N19 | 17 | 0 | | N20 | 18 | 16 | | N21 | 19 | 16 | - | N22 | 19 | 16 | + | N22 | 20 | 20 | | N23 | 19 | 16 | | N24 | 19 | 16 | | N25 | 19 | 16 | -- 2.45.1