Skip to content

planarnetwork/ssim2gtfs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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