spstreets / gtfs_manager

A GUI for viewing and editing GTFS data
MIT License
32 stars 3 forks source link
druid gtfs gtfs-visualizer transit-data

GTFS Manager

A cross-platform app for viewing and editing GTFS data.
Built with Druid, a rust native UI toolkit.

https://user-images.githubusercontent.com/28952593/186720914-ab6c4454-206d-44c1-a232-6f0f8c3d7344.mp4

Status

The current state of the app is a rough prototype and further work is required.
Contributions and collaborators are welcome.

Current features

Future improvements

Usage instructions

Note: Whilst the App should compile for Windows, Mac, and Linux, it has only been tested on Linux, and therefore you may come across problems with the other platforms.

We suggest you update to the latest version of rustc before trying to install GTFS Manager, to ensure you meet the minimum supported rust version:

rustup update

Install gtfs_manager:

cargo install --git https://github.com/spstreets/gtfs_manager

Now we can open a GTFS zip file by providing the path or URL of a file to gtfs_manager. The below example opens a Sao Paulo GTFS file which is stored on Github. Note: Opening sufficiently large GTFS files will cause the app to become unresponsive. For this reason we recommend only opening GTFS files 20mb or smaller.

gtfs_manager https://github.com/spstreets/gtfs_manager/releases/download/v0.1.0/sao-paulo-sptrans.zip

Alternatively you can clone the repository and build and run gtfs_manager using cargo run. Larger datasets will take a long time to load on debug builds, in which case it is recommended to build with the --release flag. For example:

cargo run --release https://github.com/spstreets/gtfs_manager/releases/download/v0.1.0/sao-paulo-sptrans.zip

Thanks

Special thanks to everyone on Druid's Zulip instance who answered my questions.