1.0.0 • Published 6 years ago

ssim2gtfs v1.0.0

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
6 years ago

ssim2gtfs

Travis npmDavid

ssim2gtfs converts IATA SSIM flight schedule data into a GTFS zip containing trips, stops, stop times and calendars.

Usage

ssim2gtfs requires node 10.x or above

ssim2gtfs is a CLI tool that can be installed via NPM:

npm install -g ssim2gtfs

It can be run by specifying the input and output files as CLI arguments:

ssim2gtfs flights.ssim gtfs.zip

Or using unix pipes:

cat flights.ssim | ssim2gtfs > gtfs.zip

Notes

The GTFS does not support many of the fields in the SSIM standard so there is a lot of information that is not retained.

Contributing

Issues and PRs are very welcome. To get the project set up run

git clone git@github.com:planarnetwork/ssim2gtfs
npm install --dev
npm test

If you would like to send a pull request please write your contribution in TypeScript and if possible, add a test.

License

This software is licensed under GNU GPLv3.