feat(transit): add Cairns and Adelaide Metro; mode hints for TransLink

- translink-cairns: TransLink CNS vehicle positions (keyless, CC BY 4.0,
  same open-data page as SEQ).
- adelaide-metro: Adelaide Metro GTFS-R vehicle positions (keyless,
  CC BY 4.0 per the data.sa.gov.au catalogue). Its gateway negotiates on
  Accept and returns base64 protobuf as JSON for the proxy's default
  list, so the feed asks for application/x-google-protobuf.
- TransLink route ids now resolve rail (station-pair codes), the Gold
  Coast light rail (L1) and ferries (F*, SMBI); buses, Brisbane Metro
  and the SHUT rail-replacement bus stay on the bus default. Adelaide
  trains, trams and the SeaLink ferry resolve from its static route
  list. Both rule sets checked against the operators' routes.txt.
- Credits: "Translink, Department of Transport and Main Roads" and
  "Adelaide Metro – Department for Infrastructure and Transport, South
  Australia", each with its CC BY 4.0 link (generated per feed by
  transitFeedCredit). DATA_SOURCES rows follow the transit row style.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Renzo WillandClaude Opus 5.5 committed 2026-11-01 20:07:13 +10:00
1 parent 0d1a68160e
commit 015bf25a79
4 files changed
+239 -3

No files matched your search

+1
View File
@@ -766,6 +766,7 @@
"server/providers/transitHistory.test.mjs",
"src/data/transitFeeds.js",
"src/data/transitFeeds.test.mjs",
"src/data/transitFeedsAustralia.test.mjs",
"src/data/transitProxy.js",
"src/data/transitProxy.test.mjs",
"src/data/gtfsRealtime.js",