Skip to content

Ruby utility that converts public transport data from data.gov.ro into GTFS

License

Notifications You must be signed in to change notification settings

vasile/data.gov.ro-gtfs-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Romanian Railways GTFS exporter

This ruby utility converts public transport data from data.gov.ro into GTFS files. The datasource is published by the romanian railways operators at this address: https://data.gov.ro/organization/sc-informatica-feroviara-sa

Usage

TLDR; If you are in a hurry just grab the gtfs files located in gtfs-out folder of this repo. I am generating these files on a regular basis, once there is a new update from data.gov.ro

Please link back to this page if you are using this utility or the generated files in your projects. Thanks!.

Steps

  • clone/download this repo
  • download latest XML files from data.gov.ro into data.gov.ro folder
  • if needed install Nokogiri Ruby gem: $ (sudo) gem install nokogiri
  • run $ ruby parse.rb
  • in few seconds the gtfs-out folder is populated with required GTFS files

Romanian Railways iOS App

Romanian Railways is an iOS app containing all the stations and train departures in Romania, can be used offline without need of a mobile connection.

Romanian Railways Download the app

Romanian Railways Network

cfr.webgis.ro is an example usage of using the GTFS dataset and it's a visualization of romanian railways network

cfr.webgis.ro Click to open

Contact

If you have additional questions you can use this form to contact me or just ping me on Twitter

Contributors

License

Copyright (c) 2016-2022 Vasile Coțovanu - http://www.vasile.ch

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

  • The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

  • THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Ruby utility that converts public transport data from data.gov.ro into GTFS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages