[boundaries] More fun with mapping UK admin boundaries. Non-metroplitan counties and non-metropolitan districts map to state_district. admin_level=6 maps to state district except for London where it's the city minus City of London. admin_level=8 (e.g. Manchester) maps to city except in London where it maps to city_district. admin_level=10 is suburb unless designation=civil_parish, in which case it's treated as a city boundary (individual towns/villages may be city or suburb depending on their place tag). Just complicated enough to be valid UK law :-).
This commit is contained in:
@@ -1,11 +1,24 @@
|
||||
---
|
||||
admin_level:
|
||||
"2": "country"
|
||||
"4": "country_region"
|
||||
"5": "state"
|
||||
"6": "city"
|
||||
"8": "city_district"
|
||||
"10": "suburb"
|
||||
designation:
|
||||
non_metropolitan_county: "state_district"
|
||||
admin_level:
|
||||
"2": "country"
|
||||
"4": "country_region"
|
||||
"5": "state"
|
||||
"6": "state_district"
|
||||
"8": "city"
|
||||
"10": "suburb"
|
||||
designation:
|
||||
non_metropolitan_county: "state_district"
|
||||
non_metropolitan_district: "state_district"
|
||||
unitary_authority: "state_district"
|
||||
civil_parish: "city"
|
||||
overrides:
|
||||
id:
|
||||
relation:
|
||||
# London
|
||||
"65606": "city"
|
||||
|
||||
contained_by:
|
||||
relation:
|
||||
"65606":
|
||||
admin_level:
|
||||
"8": "city_district"
|
||||
Reference in New Issue
Block a user