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

zotgtfs

Conversion of Anteater Express data to GTFS Schedule and Realtime

8 releases

0.3.7 Oct 10, 2024
0.3.6 Oct 9, 2024
0.3.4 May 23, 2024
0.2.0 Mar 27, 2024

#72 in Geospatial

Download history 87/week @ 2024-07-29 38/week @ 2024-08-05 37/week @ 2024-08-12 55/week @ 2024-08-26 75/week @ 2024-09-02 9/week @ 2024-09-09 52/week @ 2024-09-16 35/week @ 2024-09-23 61/week @ 2024-09-30 617/week @ 2024-10-07 160/week @ 2024-10-14 106/week @ 2024-10-21 150/week @ 2024-10-28 15/week @ 2024-11-04 70/week @ 2024-11-11

356 downloads per month

AGPL-3.0

93KB
369 lines

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

~23–38MB
~589K SLoC