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

Overpass API: Some stations missing in query

0
1

I have a query to pull back narrow gauge railways and associated features (stations, crossings etc). Most places it works well, but I have seen a few stations are missing.

Here's a missing station: https://overpass-turbo.eu/s/wEj

When I compare this station to one that works (https://overpass-turbo.eu/s/wEk), their properties look very similar: https://www.openstreetmap.org/node/1836922925 (ignored by the query) https://www.openstreetmap.org/node/471077795 (fetched by the query)

Can anyone tell why this station isn't matched?

To fix I tried to use an (around:20)[railway=station] query applied to all results from my main query, and then filtered to stations, halts etc. It works but when run over a bigger area (country level) is noticeably slower than the original query.

https://overpass-turbo.eu/s/wEn

Is there a faster way to do this?

asked 02 Mar '18, 12:43

Peter%20K9's gravatar image

Peter K9
21112
accept rate: 0%