I am using area queries to find nodes with particular amenities Eg:-
[out:json]; area[name = "New York"]; node(area)[amenity=bar]; out; However the issue with this is that if I query the following:
[out:json]; area[name = "New York"]; ( node(area)[amenity=bar]; node(area)[amenity=restaurant]; ); out; The output includes only the first amenity, i.e. 'bar' even though there's a union. If I reverse the order to put 'restaurant' before 'bar' the output includes only restaurants. I also tried the same using XML syntax but in vain. Any ideas?
أكثر...
[out:json]; area[name = "New York"]; node(area)[amenity=bar]; out; However the issue with this is that if I query the following:
[out:json]; area[name = "New York"]; ( node(area)[amenity=bar]; node(area)[amenity=restaurant]; ); out; The output includes only the first amenity, i.e. 'bar' even though there's a union. If I reverse the order to put 'restaurant' before 'bar' the output includes only restaurants. I also tried the same using XML syntax but in vain. Any ideas?
أكثر...