Hello, I would like to get all motorway junctions with their roadnames. At the moment, I'm using this:
Which works, but it gives me the following output:
I can't find any information, which says, on which road this junciton is. I do not mean the destination road. In my example it would be the road(highway) "A20". For testing i'm using overpass turbo. Could somebody please help me? asked 28 Aug '17, 12:22 _supersonic |
The
I think there is no way to get Overpass to amend the nodes with information from the parent ways, but you can at least return the ways as part of your Overpass query and then use the node ids to find information about parent ways:
Overpass Turbo might warn that this query is broken because it doesn't return the full geometries of the ways, but if I understand correctly you don't care about the way geometry, so just ignore the warning. answered 28 Aug '17, 13:57 maxerickson |
Are you asking about the data model, or about the overpass syntax?
As to data model, "A 20" is the value of the
destination:ref=*
tag on the highway=motorway_link road that node 9200769 is part of. I don't know the overpass syntax for requesting that information.