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.
This commit is contained in:
Sarah Hoffmann 2021-09-24 17:37:31 +02:00
parent e9d54f752c
commit 09b1db63f4

View File

@ -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
}
}
}
]