Hello, I want to find all crossroads with their associated street names, but there are nodes without any attributes I can search for (like highway=crossing). For example: http://overpass-turbo.eu/s/KAg So I guess I have to search in an area for nodes which belong to two or more ways. Unfortunately I don't know how to achieve such a query. Any help would be appreciated, thanks. asked 09 Jul '19, 11:07 Chrno |
Please have a look at the examples in the wiki: Search for nodes which belong to two different ways and the following one, as well as Search for street intersections. Can you take it from there to adapt these queries to your specific needs? answered 09 Jul '19, 12:13 TZorn I've just tried pasting a variation on the first of those into an overpass turbo window and got "Error: runtime error: […] The server is probably too busy to handle your request. ". Only if I zoom in to around 100m2 does it work - https://overpass-turbo.eu/s/KAD .
(09 Jul '19, 12:54)
SomeoneElse ♦
The example in the wiki helped, thank you! Got this for now and it's showing the node I need: [bbox:{{bbox}}]; way[highway][name="Haimhauserstraße"]->.w1; way [highway] (around:1, 48.1624106, 11.5884358)->.w2; node(w.w1)(w.w2); out; http://overpass-turbo.eu/s/KCf At "48.1624106,11.5884358" I'm on/around the street of w2. Given this point, how is it possible to get the crossing street of w1 for the query without a constant value ("Haimhauserstraße")?
(10 Jul '19, 06:19)
Chrno
1
That works with the code given under the heading "If ways cannot be split into two distinct groups..." (although two ";" were missing):
http://overpass-turbo.eu/s/KCR This finds also the connection point of two road segments, though, not only strict intersections.
(10 Jul '19, 09:50)
TZorn
Thanks, that works for me!
(12 Jul '19, 05:13)
Chrno
|