This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Searching within relations which are not boundarys.

1

One can search withing relations like this:

node(area:3600062422)["addr:city"]; out meta;

But this does only work for boundary relations because they are preprocessed by the overpass api. How to search within other relations like this one: https://www.openstreetmap.org/relation/3734750

asked 22 May '14, 22:36

Ogmios's gravatar image

Ogmios
766202639
accept rate: 25%

In case of no sufficient answer here, try to ask at the discussion page in the OSM wiki: https://wiki.openstreetmap.org/wiki/Overpass_turbo

(23 May '14, 17:14) stephan75

One Answer:

1

The relation you mentioned doesn't match any of the existing extraction rules, that's why you won't get any result when querying with this relation id. A similar requirement to relax this restriction is currently on the Overpass API "Enhancement Suggestions" list. Please see https://github.com/drolbr/Overpass-API/issues/77 for more details.

For the time being you could set up your own Overpass API instance and adjust areas.osm3s to suit your needs. However, to get this up and running might require some significant time and effort depending on your prior experience.

answered 26 May '14, 18:49

mmd's gravatar image

mmd
5.7k15388
accept rate: 37%

Source code available on GitHub .