NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum


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:

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's gravatar image

accept rate: 0%

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?

permanent link

answered 09 Jul '19, 12:13

TZorn's gravatar image

accept rate: 15%

edited 09 Jul '19, 12:15

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 - .

(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:



way [highway] (around:1, 48.1624106, 11.5884358)->.w2;



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

That works with the code given under the heading "If ways cannot be split into two distinct groups..." (although two ";" were missing):

foreach .allways -> .currentway(  
  (.allways; - .currentway;)->.allotherways;  
  (._ ; .result;) -> .result;  
.result out meta;

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 09 Jul '19, 11:07

question was seen: 3,673 times

last updated: 12 Jul '19, 05:13

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum