Skip to content

planarnetwork/ssim2gtfs

Repository files navigation

ssim2gtfs

Travis npm David

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.

  • An extended route type of 1100 (air service) is used
  • All timezones are converted to UTC
  • Stop data is derived from ourairports.com
  • Agency data is derived from openflights.org/

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.

About

CLI tool to convert SSIM flight schedule data to GTFS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published