You are not logged in.

#1 2022-04-21 16:23:31

Shohreh
Member
Registered: 2012-12-15
Posts: 243

Query train line + stations?

Hello,

The following query returns local train lines in a given region. Is there a way to also grab stations?

Thank you.

[out:json][timeout:60];
//region 123
rel(123);
map_to_area -> .searchArea;

(
rel[operator=Acme][route=train][type=route][network~"^Acme  "][ref~"^Acme "](area.searchArea);

//train stops?
//[operator=Acme]["public_transport"=station][railway=station]
);

out geom;

Last edited by Shohreh (2022-04-21 16:23:48)

Offline

Board footer

Powered by FluxBB