From: Sarah Hoffmann Date: Fri, 24 Sep 2021 15:37:31 +0000 (+0200) Subject: adjust address ranks for Spain X-Git-Tag: v4.0.0~28^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/09b1db63f48b962b5b801aec4d2e88cb66383cfc adjust address ranks for Spain Adjusts levels for boundaries according to the list on https://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative * no admin_level 5, so drop that from addresses * admin_level 6 has the province * admin_level 7 has the county when it exists Also reranks place=province so that it matches up with admin_level 6 and introduces place=civil_parish which is used as a place node for some admin_level=9 boundaries in Galicia. --- diff --git a/settings/address-levels.json b/settings/address-levels.json index 26ee6e70..09ba0d28 100644 --- a/settings/address-levels.json +++ b/settings/address-levels.json @@ -174,6 +174,20 @@ "administrative10" : 16 } } +}, +{ "countries" : ["es"], + "tags" : { + "place" : { + "province" : 10, + "civil_parish" : 18 + }, + "boundary" : { + "administrative5" : [10, 0], + "administrative6" : 10, + "administrative7" : 12, + "administrative10" : 22 + } + } } ]