I would like to extract all the cities along with their administrative hierarchy within a country.
I was thinking to use a mix of tag and geom information since tags are often inconsistent/incomplete:
Maybe start searching with the
boundary=administrative tag which should exist for major subdivision, then list the
node[place=city] within the area.
That would take quite a while though, especially when getting to smaller admin divisions.
Is there a straight way to do this?