| Crates.io | gtfs-geojson |
| lib.rs | gtfs-geojson |
| version | 0.5.0 |
| created_at | 2020-05-26 14:02:32.44092+00 |
| updated_at | 2024-02-29 13:51:44.005765+00 |
| description | A simple converter for GTFS to GeoJSON formats |
| homepage | |
| repository | https://gitlab.com/CodeursEnLiberte/gtfs-to-geojson/ |
| max_upload_size | |
| id | 246219 |
| size | 66,510 |
This Rust crate is used to convert GTFS data to the GeoJSON format.
While the repo is named gtfs-to-geojson the crate is called gtfs_geojson and can me installed using
cargo add gtfs_geojson
The gtfs_geojson library use the gtfs_structures library and its types to convert gtfs files over to geojson.
extract_stops will export all of the stops and their properties from the gtfs.
extract_trips_shapes will export all of the shapes as line features from the shapes.txt file and add in trip information for each feature in the geojson properties from trips.txt.
cargo test --all-features (see GitHub actions setup)cargo build --releasecargo run --release -- --helptarget/release/gtfs-geojson --help