Overpass union of ways, nodes and relations within an area

Hi, I’m wondering if anyone can help me understand why my overpass query does not output the union, but just the results for the first clause in the union.

For example the following query happily gives me all the nodes I’d expect (365 to be precise), but zero ways.

);out body qt;

Reversing the order of the node and way clauses gives me all the ways I’d expect (394) plus three extra nodes - but not most of the ones that appear when the node clause comes first.

Any suggestions? Right now my workaround is two queries - and two api hits - which feels suboptimal.

Thanks and regards, Will

2 posts - 1 participant

Read full topic

Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/overpass-union-of-ways-nodes-and-relations-within-an-area/104212