Skip to content

Commit

Permalink
README.md 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin authored Oct 20, 2024
1 parent 32336e5 commit f11e688
Showing 1 changed file with 3 additions and 36 deletions.
39 changes: 3 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,14 @@
## Instructions to get static data

1. Run this command to download the json data from TransLoc
```bash
cargo run --bin downloadstatic
```
download this damn thing:

2. Run this command to convert the json data into GTFS static data
```bash
cargo run --bin processstatic
```

3. Zip the folder `anteater_gtfs` with no underlying folder inside the final zip

```bash
zip -r anteater_express.zip anteater_express/
```
https://api.transloc.com/gtfs/uci.zip

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
Previously, Transloc used a proprietary system that required conversion of all data. They switched to a different map and database technology, basically overhauled everything. for 2024, we rewrote the entire thing to use the provided GTFS file, and no longer generate our own timetable.

# Motivation

Expand Down

0 comments on commit f11e688

Please sign in to comment.