-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anyone using GTFS-rt trip.schedule_relationship=ADDED? #106
Comments
We don't support it right in Transit, but we plan to do so. The folks at @mbta uses it |
At the MBTA we use the Because of this, we use our own algorithm to search for a GTFS trip_id that matches up with each subway trip as soon as we need to make predictions for it. Currently we look for a trip that starts within plus or minus ten minutes of the time that we're predicting this trip will start, and has the same pattern of service. If no GTFS trip exists matching those criteria (or if one exists but has already been used) then we will create an In particular, this means that certain patterns of service will never match up with a GTFS trip. For example, we run some Green Line trips from Kenmore to Park Street on a "run as directed" basis during Red Sox games, but these are not scheduled so they will never match and will always show up as an Hope this helps. |
We performed an analysis using transit-feed-quality-calculator and found 4 agencies that have
Here are the feeds that have |
Thanks everyone for your responses. I'm closing this issue, but have referenced it in the issue on the larger debate of how we provide full support for added trips going forward - #113 (comment). |
@skinkie Do you currently have an implementation of ADDED trips? From your recent comments (#216, #221) it sounds like you do. We're trying to collect existing implementations of ADDED trips in this issue, given that ADDED trips are not well-described in the current GTFS-RT spec. If you do have an implementation, could you please provide a detailed explanation of exactly how you're using ADDED in your feeds as a producer and/or consumer? |
I'll check it from our sourcecode later but these are our three use cases.
|
MFDZ works on using GTFS-RT ADDED trip updates to feed carpool offers to OTP. OTP itself currently handles ADDED trips. In case the route_id is not yet existent, it creates a new route, assuming a bus route_type. We'd prefer an explicit route_type in GTFS-RT. Other restrictions we currently work around is that GTFS-RT does not define additional stops, nor schedule, nor shapes. |
At Trapeze we support the "ADDED" value in the GTFS-RT feed whenever the control center 'copies' a piece of work. This is mostly for use cases 1 & 2 that @skinkie mentioned for reinforcement trips or trips that are cancelled and then copied for other vehicles. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@barbeau can be closed? |
Yes, I think we can close this. If anyone is still using ADDED please feel free to comment on this thread, but note that in PR #230 we agreed that ADDED is currently underspecified and as a result isn't officially supported in the spec. ("behavior is unspecified for feeds that use this mode"). |
I have just submitted a proposal #490 which can define a schedule for ADDED (and DUPLICATED) trips. However, headsigns remain a limitation that we can't implement yet. |
In our situation we have regularly additional journeys that are not represented in the schedule data. It appears that currently that cannot be modelled with GTFS-RT correctly, right? |
OpenTripPlanner uses It also supports |
Is anyone currently using the GTFS-rt TripDescriptor.ScheduleRelationship =
ADDED
value?It's defined here:
https://github.com/google/transit/blob/master/gtfs-realtime/spec/en/reference.md#enum-schedulerelationship-1
...as:
And text above that says:
Also posted to Google Group at https://groups.google.com/forum/#!topic/gtfs-realtime/W6bm2Xj3p-Q.
The text was updated successfully, but these errors were encountered: