#data-conversion #gtfs #express #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

#115 in Geospatial

Download history 7/week @ 2024-08-17 24/week @ 2024-08-24 86/week @ 2024-08-31 27/week @ 2024-09-07 47/week @ 2024-09-14 41/week @ 2024-09-21 53/week @ 2024-09-28 518/week @ 2024-10-05 253/week @ 2024-10-12 95/week @ 2024-10-19 155/week @ 2024-10-26 33/week @ 2024-11-02 63/week @ 2024-11-09 35/week @ 2024-11-16 65/week @ 2024-11-23 129/week @ 2024-11-30

292 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

~24–38MB
~593K SLoC