Skip to content

spstreets/gtfs_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTFS Manager

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

demo.mp4

Status

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

Current features

  • Display GTFS data on a map with panning and zooming
  • Select individual trips and stops and display their metadata
  • Add new, or edit existing routes, trips, and stops on the map

Future improvements

  • Managing Edits. Edit/undo, easily view changes that have been made to the dataset, compare two different datasets.
  • Open, save, and close GTFS datasets from the file dialog.
  • Host a compiled to wasm and rendered in web canvas (as supported by Druid) version in order to provide a convenient demo.
  • Support discovering and importing datasets from https://www.transit.land/feeds.
  • Map background. Currently only the GTFS routes themselves are displayed on the map. Add a background map to provide context. Add much more...

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.