You are not logged in.

#1 2021-04-22 12:20:10

olegsvynarchuk
New Member
Registered: 2021-04-22
Posts: 1

extract railway data between two given points

Is it possible to construct a query for overpass turbo which returns data between two given points, in my case railway stations, to return railway line geometry limited by these two points? By now I succeeded to retrieve data I need but its boundaries limited by bbox. For example the following query

node[railway=halt]({{bbox}});
node[railway=station]({{bbox}});
way[railway=rail]({{bbox}});
way[railway=station]({{bbox}});
out geom;

gives my stations and railway tracks but its boundaries limited by bbox. However, I wish I can specify coordinates or station names and query returns me data only contained between these two points.

Offline

Board footer

Powered by FluxBB