#data #gtfs #real-time #conversion #schedule #express #anteater

bin+lib zotgtfs

Conversion of Anteater Express data to GTFS Schedule and Realtime

4 releases

new 0.3.3 May 7, 2024
0.3.2 May 6, 2024
0.3.0 May 6, 2024
0.2.0 Mar 27, 2024

#143 in Geospatial

26 downloads per month

AGPL-3.0

135KB
1.5K SLoC

Instructions to get static data

  1. Run this command to download the json data from TransLoc
cargo run --bin downloadstatic
  1. Run this command to convert the json data into GTFS static data
cargo run --bin processstatic
  1. Zip the folder anteater_gtfs with no underlying folder inside the final zip
zip -r anteater_express.zip anteater_express/

Now your Anteater static file is done!

Notes

UC Irvine Anteater Express Agency Number: 1039

** DO NOT UPDATE PROST VERSION!! Not backwards compatible! **

Shapes fix

Circular routes such as the 2023 M, E, and N lines, will parse correctly through the greedy algorithm Kyler wrote.

Routes that overlap themselves or have weird sharp corners cause errors. Transloc uses the crappiest segment idea ever.

In route-sup.json, it may be needed to override the shape.

Schedule Parameters

All fields mark departure times only

!: Cancel the stop entirely #: Disable boardings *: Cancel all service prior to this stop $: Cancel all boardings after this stop

Leave field empty: Algorithm estimates

Motivation

I want this data to show up on the rest of the Catenary

Extra notes

If ASUCI poisons my lunch, let's just say I won't be surprised.

Dependencies

~24–39MB
~636K SLoC