Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 914 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 914 Bytes

GTFS to GeoJson

This Rust crate is used to convert GTFS data to the GeoJSON format.

How to compile and run the standalone program

  • Clone this repository
  • Install Rust
  • Run the tests with cargo test --all-features (see GitHub actions setup)
  • Build the optimized binary with cargo build --release
  • Run the standalone program with cargo run --release -- --help
  • To run the standalone program without cargo (e.g. when shipping the binary), run target/release/gtfs-geojson --help

Using Docker

docker build -t gtfs-to-geojson .

Check the build with:

docker run gtfs-to-geojson --help

To run with data stored locally:

docker run -v /path/to/gtfs/datasets/:/data/ gtfs-to-geojson --input /data/gtfs.zip --output /data/output.geojson