I’ve received an issue for Nominatim asking how to manipulate the admin boundaries of Melbourne and Sydney, so that they show up in an order that does not correspond to the order of the admin_level. Digging into this, the source of this question is likely the revert of changeset 166663977, which tried to put admin levels for Melbourne into a proper order.
@aharvey writes:
The “Sydney” place=city at relation/5750005 and “Melbourne” place=city at relation/4246124 cover the Sydney and Melbourne urban areas roughly considered part of those cities, although there’s no formal definition so the extents are debatable. The boundaries aren’t set by the government nor are they used for administrative purposes, so in actuality they probably shouldn’t have an admin_level set at all, however we do and have been using 7.
This is a serious issue for data users as it breaks the assumption that admin_levels represent an order of hierarchy. You now have the suburbs of Melbourne like Relation: City of Maribyrnong (3330965) | OpenStreetMap at admin_level=6 while the overarching Melbourne is one level lower at 7.
I see two ways to improve the situation:
- Move Sydney and Melbourne to admin_level=5. That would clash with the currently used admin_levels in Australia as far as I can see and it would reinstate a proper hierarchy.
- Stop using boundary=administrative for the Sydney and Melbourne areas. Given that they have no administrative function, it would be entirely proper to move them to
boundary=placeor (judging from the source tag on the relation) toboundary=statistical. Lots of other countries are now going this way. As long as you keep theplace=cityit will still be possible to identify them as the informal city areas.
Would one of the two options sound reasonable to you?
And a question marginally related to that: do the admin_level=6 boundaries even have any practical relevance other than defining who is the responsible council? I’m asking because while looking through the data, I found a lot of names like Oberon Council or Council of the City of Sydney and that doesn’t sound like a place description that should appear as part of an address to me.