I want to get nodes and ways (amenity~fastfood|restaurant) for a specific area. I tried with a boundingbox, which works well, but when i change the query to use area, i only get the the first query results in the union (nodes). If i put the way-query first, i only get ways. The QL i have so far:
link:Link to overpass-turbo with query running
Any help to get the ways and nodes in one run? |
You need to store the query result in a dedicated variable and to use it from there:
Without the variable, the result of the area query is overwritten by the "node(area)..." statement. Thus the next statement doesn't find any area to recurse from. |