Skip to content

Files

gtfs2netexfr

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 7, 2024
Jun 29, 2021
Nov 21, 2023
Apr 5, 2022

gtfs2netexfr

Command-Line Interface to convert GTFS data format into NeTEx-France data format.

Installation

To install, you first need to install PROJ.
See PROJ installation instructions.

As gtfs2netexfr 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 gtfs2netexfr

Usage

gtfs2netexfr --input /path/to/gtfs/folder/ --output /path/to/netexfr/ --participant hove-io
  • --input is the path to a folder containing GTFS data format
  • --output is the path to a folder where the NeTEx France will be exported
  • --participant is an identifier for the instigator of this NeTEx France export; it is exported in each NeTEx file

Get more information about the available options with gtfs2netexfr --help.

Finally, it's possible to check the output manually.

Specifications

As NTFS is the pivot format for conversion, common NTFS rules is useful.
For input, see GTFS to NTFS specifications.
For output, see NTFS to NeTEx-France specifications.