3

I am searching for proper open source train station data.

I need only the central stations per country (best would be worldwide). I know the OSM source stations for each country but as far as I know you can't differentiate between the station type.

The values I'm looking for are name, country, longitude and latitude.

Is there any reliable source?

  • you've tagged openstreetmap is that not your answer? – Ian Turton Apr 13 '17 at 12:30
  • Could you give a bit more detail on how you want to use the data, how reliable the data needs to be, how up to date the data needs to be, etc ... – Marcus D Apr 13 '17 at 14:45
  • I need only the central stations per country (best would be worldwide). I know the OSM source stations for each country but as far as I know you can't differentiate beetween the station type. – Silas Apr 18 '17 at 9:39
1

I can only validate this method for Germany and by using QGis 2.14 but here my result:

  • Download the OSM data of the country of your choice (I used Germany) and look for osm_transport.shp.
  • Select the train_stations from fclass attribute (this can also be the last step) with "fclass" = 'railway_station'
  • run multiple selections with this expression: "name" LIKE '%Hauptbahnhof%' and "name" LIKE '%Hbf%' and create new shapefiles or merge the selections
  • The result will be all stations which are named "Hauptbahnhof"/"Hbf" of germany
  • repeat those steps for your country. I am not sure if this will yield all results especialy because I dont know how naming is handled in other countrys

Let me know if you need further explainations

  • Yes that's what Ich did in pgAdmin but for other countries this will be hard because they are tagged only with station. In London for example there are more than 40 stations but no string with the explanation central station. – Silas Apr 22 '17 at 8:14
  • This article from the guardian covers visitor per train station in the UK. maybe you wont get all central stations but the most important ones. Here you can download the data they used – LaughU Apr 22 '17 at 8:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.