overpass-turbo
overpass-turbo copied to clipboard
Recursive routine not displaying all nodes of way
Hi Why is this routine only displaying nodes of the way that have tags:
way(5703091)->.Way;
node(w.Way);
out center;
.Way out geom;
While this displays all:
way(5703091)->.Way;
node(w.Way);
out center;
I don't see how that is relevant to my question. Why does the separate out geom, obscure the output of out center?
Edited due to removal of a comment:
The routine explicitly calls for both to be outputted: out geom
is a separate command to out center.
so why does Overpass Turbo consider it a reason not to display them all? Why would one influence the other?
I ran into the same problem (https://help.openstreetmap.org/questions/81712/overpass-turbo-plot-both-a-way-and-a-certain-node-of-that-way) where DaveF suggests that it is likely to be a bug.
Here, two examples which illustrate that Overpass Turbo never shows a way and nodes on that way if these nodes do not have any tags - even if asked to show both the way and a node on it:
[out:json][timeout:10];
way(151615630); // river
out geom;
node(1230090972); // node of river with tag
out geom;
[out:json][timeout:10];
way(151615630); // same river
out geom;
node(1644398312); // node of river without tag
out geom;
The first case displays both way and node; the second only the way and not the node which is not the expected behaviour.
By the way, when querying to display both a relation and a node without tag that is part of that relation, both are displayed correctly: https://overpass-turbo.eu/s/1f1S. Therefore, I assume the problem described above to be a bug.
Thanks for fixing this bug! I am also happy for any hints/workarounds to display both the way and the un-tagged node at the same time.