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

app zotgtfs

Conversion of Anteater Express data to GTFS Schedule and Realtime

1 unstable release

0.2.0 Mar 27, 2024

#79 in Geospatial

Download history 115/week @ 2024-03-25 26/week @ 2024-04-01

141 downloads per month

AGPL-3.0

120KB
1K 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

~25–42MB
~680K SLoC