feat(transit): name Rio routes from SMTR's published GTFS

SMTR's realtime feeds carry internal route keys, so a Rio card read
"Route O0731AAN0A" where riders know line SN731. Join both feeds to the
route_short_name in SMTR's static GTFS routes.txt (CC BY 4.0, same
publisher and terms). The keys cannot be parsed: O0014AAA0A is LECD135.
A 2026-11-04 snapshot found all 282 bus and 21 BRT routes in service in
the table; an unknown key still falls through raw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Itallo BrandãoandClaude Opus 5.5 committed 2026-11-04 22:49:54 -03:00
1 parent 1b0b4a10dc
commit ad48305dac
5 files changed
+567 -4

No files matched your search

+3 -1
View File
@@ -1,4 +1,6 @@
- Add Rio de Janeiro to the Transit layer: municipal buses and the Mobi-Rio BRT
from SMTR's keyless GTFS-Realtime feeds (CC BY 4.0), the layer's first Latin
American region. A feed that publishes speed in km/h declares
`speedUnit: 'kmh'` and the proxy converts it to m/s (IMBrandao, #1481).
`speedUnit: 'kmh'` and the proxy converts it to m/s. Rio's internal route
keys are joined to SMTR's published GTFS `routes.txt`, so a card reads
"Route SN731" rather than "Route O0731AAN0A" (IMBrandao, #1481).