lets say i have an area boundary of a country. now how do i get all the boundaries available in this country? like available state,city, even deeper boundaries? Shorter version of my ques: i need the list of areas(boundaries) inside a country(boundary)? asked 29 Jan '16, 09:16 Arun Gowtham |
Search for administrative boundaries using the known area as a filter: http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_area_.28area.29 Take care of the note there, that area(area) is not implemented, so you will need to search for ways and relations, the ones you want are probably tagged with boundary=administrative. answered 26 Feb '16, 21:18 maxerickson 1
To convert a way or relation back to an area (if available), use the
(27 Feb '16, 08:40)
mmd
|
There is a big difference between "areas inside areas" and "boundaries inside boundaries". The first issue is much more general and I will try to answer that one. answered 26 Feb '16, 20:44 sanser |