You are not logged in.

#1 2022-04-19 03:42:03

FrannDzs
New Member
Registered: 2022-04-19
Posts: 1

Export railroad line with stations

Hello I am wishing to extract a railroad line with all the stations that this line crosses, ignoring if the stations are no longer in use and I wish to omit the level crossings. How do I do this? I have been trying for some days to extract the data precisely and I am not succeeding. Can someone help me?

My query:
[out:json];
(
  nwr["name"="Ferrocarril Mitre: Córdoba → Retiro"]({{bbox}});
  nwr["name"="Ferrocarril Mitre: Retiro → Córdoba"]({{bbox}});
);
// print results
/*added by auto repair*/
/*end of auto repair*/
/*added by auto repair*/
(._;>;);
/*end of auto repair*/
out meta;/*fixed by auto repair*/
>;
out meta qt;/*fixed by auto repair*/

{{style:
node[railway=station]{
  text : name;
  color: blue;
  fill-color:blue;
  fill-opacity:1.0;
}
}}

Offline

Board footer

Powered by FluxBB