Closed not-my-profile closed 1 year ago
I should have read the docs more carefully. As explained there the area has to be stored in a variable, so the following works as expected:
[out:json];
area[name="Paris"]->.paris;
(
way[name="Arc de Triomphe"](area.paris);
way[name="Tour Eiffel"](area.paris);
);
out center;
The following query works as expected, returning both the Eiffel Tower as well as the Arc de Triomphe:
However when filtering using an area the union only returns the element listed first in the query, e.g.
only returns the Eiffel Tower and when we switch the order in the query
it only returns the Arc de Triomphe.
(Tested on https://overpass-turbo.eu/ using Overpass API 0.7.58.5 b0c4acbb)