Command-Line Interface to convert GTFS data format into NTFS data format.
As gtfs2ntfs
is not pushed to crates.io yet, you can install it by cloning transit_model
.
git clone https://github.com/hove-io/transit_model
cd transit_model
cargo install --path gtfs2ntfs
gtfs2ntfs --input /path/to/gtfs/folder/ --output /path/to/ntfs/
--input
is the path to a folder containing GTFS data format--output
is the path to a folder where the NTFS will be exported
Get more information about the available options with gtfs2ntfs --help
.
As NTFS is the pivot format for conversion, common NTFS rules is useful.
For input and output, see GTFS to NTFS specifications.