Skip to content

Commit 6e54be0

Browse files
drewdaAutomated Bot
andauthored
Taiwan (#2097)
* Stop the nightly 401 on the Taipei Metro feed, refresh TDX notes f-trtc~tdx~tw carried the TDX v3 URL as static_current, so the platform fetcher tried it every night without a bearer token and got 401 every time, most recently 2026-08-07. The endpoint itself is fine: with a token it returns a 1,068,632 byte zip whose sha1 532e9d7e matches the feed version already held, so the custom script is working and TDX simply has not republished since 2026-02-17. Its calendar still runs to 2026-12-31. Authorization is a client_credentials token exchange rather than a fixed credential, so this is not registrable as a fetchable URL at all. Moving it to static_historic matches the four sibling feeds, which already handle it that way, and removes a failure that could never resolve. The other four notes said the v3 API was TRTC-only "as of Feb 2026". Still true, re-checked today: TRA and THSR return HTTP 400 with the message 目前只提供北捷(TRTC)的GTFS資料, "currently only TRTC GTFS data is provided", and both bus paths return 404. Notes now carry the evidence and the date, so the next check is a re-probe rather than a rediscovery. * Fold the five TDX feeds into Taiwan's national GTFS TDX publishes one nationwide bundle covering every mode: 403 agencies, 9,925 routes, 203,677 trips, 162,179 stops, including Taiwan Railways, High Speed Rail, all six metro systems, city and intercity buses, ferries and airlines. It is the bare /V3/Map/GTFS/Static path with no system suffix, which is undocumented as far as any reachable API spec shows, and was found by probing. The per-system records were waiting for endpoints TDX largely never built. Rail/TRA and Rail/THSR return HTTP 400 with 目前只提供北捷(TRTC)的GTFS資料, "currently only TRTC GTFS data is provided", and both bus paths return 404. TRA and THSR have served nothing since January 2024 and the two bus feeds carry a 2017 to 2099 calendar over 2024 data, so nothing would ever have flagged them. All five are superseded rather than deleted, and their v2 URLs are carried into static_historic. The bundle needs one intervention, done in the fetch script rather than here: fare_products and fare_leg_rules hold 28,472,449 rows each, 6.5 GB of the 7.67 GB uncompressed archive. transitland validate is killed partway through fare_products; without those two the same feed validates in 113s at a 3.5 GB peak, and fares survive as GTFS-Fares v1. Editing a producer's feed is not routine, and is justified here only because this source already needs a custom fetch and the alternative is publishing nothing for 400 agencies. * restore shorter note * Fold the dead Taichung bus feeds into the national record too Five intercity bus feeds were hosted at gtfs.taichung.gov.tw, which no longer resolves at all. Their last feed versions date from 2019 and 2021, one never produced a feed version at all, and every fetch has failed since 2023-04-14. Fifteen of their sixteen operators are present in the national bundle. The sixteenth, 仁友客運, ceased operating on 2026-02-25 having already transferred its routes to 中鹿客運, which is present, so nothing is lost by folding these in rather than leaving them parked against a host that is gone. * Keep the note short; the detail lives in the commit history --------- Co-authored-by: Automated Bot <info@interline.io>
1 parent d90a71e commit 6e54be0

2 files changed

Lines changed: 25 additions & 406 deletions

File tree

feeds/tcbnb.maxwin.com.tw.dmfr.json

Lines changed: 0 additions & 337 deletions
This file was deleted.

0 commit comments

Comments
 (0)