Hi All, I'm having a bit of trouble running queries for areas that are within other areas. For example:
I would expect this to return a list of states in the US. However, what I actually get is a random hodgepodge of areas with admin_level=4, not just those in the US. Am I misunderstanding the area syntax? asked 07 Mar '14, 04:15 sib |
There are two different problems entangled: Overpass API doesn't support to query for areas in areas. It is just not implemented, but you could get a similar result with the query
It is unfortunately really slow. Second, there are a lot of relations (and thus areas) tagged with "admin_level=4" although they are not states. One example is relation 80297 which is a park somewhere in Ohio. answered 07 Mar '14, 10:03 Roland Olbricht |
Unfortunately, it is not yet possible to search for areas inside other areas. See this ticket on github. :/ answered 07 Mar '14, 08:49 tyr_asd |