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

Can I find bridges over water using Overpass?

1

It seems bridges are tagged bridge=*. I'm interested in what the bridge is crossing.

Specifically, I'm trying to find a way to query Overpass for bridges that cross certain waterways (not railways or other streets).

Is this possible using the Overpass API? What keys/tags would I be looking for?

asked 03 May '19, 19:42

awendt's gravatar image

awendt
46224
accept rate: 0%


One Answer:

4

I suggest this query:

way[waterway][tunnel!=yes]({{bbox}});
nwr(around:0)[bridge];
out geom;

The [tunnel!=yes] might come on surprise. A test in London did otherwise found a street bridge over another street where conincidentially also is an underground channel in the map.

answered 03 May '19, 21:56

Roland%20Olbricht's gravatar image

Roland Olbricht
6.7k36489
accept rate: 36%

Source code available on GitHub .