#transit-data #data-conversion #gtfs #convert #real-time #chicago

chicago-gtfs-rt

Conversion of all Chicago Transit Authority data into GTFS Realtime

13 unstable releases (3 breaking)

0.4.0 Nov 19, 2025
0.3.2 Oct 14, 2025
0.3.1 Sep 16, 2025
0.3.0 Jul 22, 2025
0.1.5-alpha Jun 28, 2024

#2363 in Algorithms

AGPL-3.0

38KB
743 lines

chicago-gtfs-rt

Contributing

Dependencies

Install Rust. If Rust is already installed, use rustup update to update.

Make sure the OpenSSL headers and the Protobuf compiler (protoc) are installed. For example:

# Debian
sudo apt install libssl-dev protobuf-compiler
# openSUSE
sudo zypper in libopenssl-3-devel protobuf-devel

Test data

Download the CTA GTFS timetable and extract it to static/:

mkdir -p static/
cd static
wget https://www.transitchicago.com/downloads/sch_data/google_transit.zip
unzip google_transit.zip
cd ..

Testing

Then you can test the library using

cargo test

If you want to see the output on stdout, use

cargo test -- --nocapture

Contact

Please join us on discord to help us work on this!!!

https://discord.gg/yVV6dguwtq

More information

This package uses both https://docs.rs/gtfs-realtime and https://docs.rs/gtfs-structures

Dependencies

~16–34MB
~423K SLoC