delay in stop_time_update GTFS-RT trip updates not recognized by OBA?

18 views
Skip to first unread message

Wojciech Kulesza

unread,
May 28, 2025, 7:35:39 AMMay 28
to onebusaway-developers
Hey.
We’re having troubles with oba support for delay rather than time values for gtfs rt trip updates. What we normally produce in transit clock, has time values for stop_time_update, but we’re trying to consume delay values and I’m being told it’s not supported or causes problems to match gtfs to gtfs rt?

We have found one method that does not recognize "delay" value and therefore throws away such trips and marks them as inactive. Please see isTripActive() in the class GtfsRealtimeTripLibrary in row 605: https://github.com/OneBusAway/onebusaway-application-modules/blob/0beb2c1050386c5e[…]ration/impl/realtime/gtfs_realtime/GtfsRealtimeTripLibrary.java

Can anyone provide any insight on this, confirm/deny/suggest possible options?

Regards

Sean Barbeau

unread,
May 28, 2025, 1:09:20 PMMay 28
to onebusaway-developers
When I was involved with the Tampa deployment we used delay there. I don't know if thats still the case.

Sean

Wojciech Kulesza

unread,
May 28, 2025, 2:56:48 PMMay 28
to onebusaway-developers

Sean Barbeau

unread,
May 28, 2025, 3:05:25 PMMay 28
to onebusaway...@googlegroups.com
IIRC there can be arrival and departure delays, so from a quick glance I don't immediately see why that code would disable a delay-only update (but I dont recall details of the code).

Maybe make sure that all your GTFS stop_times.txt records have both arrival and departure times set? IIRC thats what Tampas data looked like. Then OBA can apply the delay to the scheduled time to compute the realtime time.

Sean


--
You received this message because you are subscribed to a topic in the Google Groups "onebusaway-developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/onebusaway-developers/bOho6oobn7s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to onebusaway-devel...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/onebusaway-developers/a76a362d-4c10-4e44-97ac-b345f4927963n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages