[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.56 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.56 KB

ntfs2netexfr

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

Installation

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

You also need the following dependencies to be installed.

apt install -y clang libssl-dev

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

Usage

ntfs2netexfr --input /path/to/ntfs/folder/ --output /path/to/netexfr/ --participant hove-io
  • --input is the path to a folder containing NTFS 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 ntfs2netexfr --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 and output, see NTFS to NeTEx-France specifications.