This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Overpass Turbo: plot both a way and a certain node of that way

0

Hi! I am wondering how I could get Overpass Turbo displaying a node and a way which this node is part of.

Here, an Overpass example. If I delete the line printing the way (line 3), I can see the node on the map. Otherwise, the map will only show the way.

Thanks for your hints!

asked 10 Sep '21, 13:38

G%C3%A5seborg's gravatar image

Gåseborg
31171016
accept rate: 50%

edited 12 Jan '22, 16:44


One Answer:

1

I consider this to be a bug in Overpass Turbo & appears related to this unsatisfactory explanation to a similar problem: https://github.com/tyrasd/overpass-turbo/issues/499#issuecomment-756927476

If you run this routine with the next node id it displays fine. (use Zoom to Data button)

way(35565161);
out geom;
node(416714408);
out geom;

Note it's exactly the same data format as your routine.

;

answered 10 Sep '21, 16:31

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

Thanks @DaveF! For me, it does not work if I switch to other nodes belonging to the way. By the way, I guess you have a type in line 3: node 416714408 is in US while way 35565161 is in France ;)

(17 Sep '21, 14:40) Gåseborg
1

It's the next node, numerically. It was intentional to show that the routine works, but OSM-carto code interprets the two differently/incorrectly.

(17 Sep '21, 14:46) DaveF

Source code available on GitHub .