You are not logged in.

#1 2020-01-14 16:50:48

ArchSudo
Member
Registered: 2020-01-14
Posts: 1

Download train routes

Hello

is it possible to download train routes?


Thank you

Offline

#2 2020-01-15 08:13:12

PHerison
Member
From: Rhein-Main
Registered: 2008-04-04
Posts: 1,571

Re: Download train routes

Hi and welcome to OSM and the forum

Yes, it is possible. OSM is an open database. That's what it's made for. smile

How? That depends on what you want to accomplish and how you define "train routes". Have a look at https://wiki.openstreetmap.org/wiki/Downloading_data . In general there a two options: Use an online API to query the database directly to get data or download an OSM-File and extract the desired information from there (offline).

Offline

#3 2020-01-15 08:17:12

Maarten Deen
Member
Registered: 2010-05-20
Posts: 309

Re: Download train routes

Yes. You could download it with overpass

[out:json][timeout:25];
(
  relation["route"="train"]({{bbox}});
);
out body;
>;
out skel qt;

Offline

Board footer

Powered by FluxBB