#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

#78 in Geospatial

Download history 58/week @ 2024-07-11 24/week @ 2024-07-18 56/week @ 2024-07-25 63/week @ 2024-08-01 16/week @ 2024-08-08 27/week @ 2024-08-15 14/week @ 2024-08-22 54/week @ 2024-08-29 66/week @ 2024-09-05 48/week @ 2024-09-12 40/week @ 2024-09-19 16/week @ 2024-09-26 290/week @ 2024-10-03 439/week @ 2024-10-10 156/week @ 2024-10-17 122/week @ 2024-10-24

1,008 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
~595K SLoC