Skip to content

Do Alerts with NO_SERVICE effect for stop/trip/route impact itineraries shown to riders? #246

@barbeau

Description

@barbeau

In past discussions ((1), (2), (3)) the question has come up if Alerts with the Effect of NO_SERVICE are purely informational, or if they should impact the itinerary results shown to riders.

If alerts are purely informational, then the consumer would still show the canceled trip, route, or stop to the user like normal, but would annotate it with the Alert text explaining that the entity doesn't currently have service. For example, if "Route 5" didn't have service, then the consumer would still present the "Route 5" trip option to the rider, potentially as the top option, but indicate that it's not operating.

If alerts affect the itinerary, then the consumer would optimize the itinerary results shown to riders to account for the entity without service. For example, if "Route 5" didn't have service, a consumer may present "Route 3" as the top itinerary option to the user with an explanation that "Route 5" is not operating and therefore "Route 3" is their best choice.

We should clarify what the expected behavior is for consumers so that producers can have proper expectations when publishing NO_SERVICE alerts and some consistency across consumers.

(Note that I'm focusing on what the end user (rider) is experiencing here, and not on the internal implementation details such as whether or not the routing engine returns "Route 5" as the top option and then the results are filtered in the presentation layer so "Route 3" is shown as the top option instead, vs. the routing engine directly returning "Route 3" as the top option. IMHO those are implementation details that we shouldn't address within the spec)

The GTFS-realtime spec on the "Service Alert" page currently says:

Service alerts allow you to provide updates whenever there is disruption on the network. Delays and cancellations of individual trips should usually be communicated using Trip updates, or Vehicle Positions, using schedule_relationship in the Trip Descriptor.

Google's documentation on how they interpret Alert Effects is at the bottom of this page:
https://support.google.com/transitpartners/answer/6374472?hl=en&ref_topic=6159819

...as well as in guidelines for "How to cancel a trip":
https://support.google.com/transitpartners/answer/6325970?hl=en&ref_topic=6159819

...and in "Realtime information in routing results":
https://support.google.com/transitpartners/answer/6327328?hl=en&ref_topic=6159819

The 1st link says:

NO_SERVICE: There’s no service on the line or at certain stops, or a specific trip has been canceled. This will trigger Trip Planner to re-route users around the disruption.

The 3rd link says:

We support realtime re-routing based on Trip Updates and Service Alerts with NO_SERVICE effect on Google Maps. Service Alerts messages with effect different than NO_SERVICE will only be annotated with realtime information.

Canceled trips which may be relevant to the user, are displayed as crossed out at the bottom of the results list (after up to 4 available connections). If the canceled trip is however not relevant, for example if it is one instance of a very frequently running trip whose cancelation will not affect significantly the user, then it won't be visualized as part of the results list.

So Google interprets NO_SERVICE alerts as affecting the itinerary.

@gcamp from Transit App in #224 (comment) said:

In Transit we'll mark those services as no running without hiding them completely. The trip planner will also work around those services so you do get the best trip plan with current service.

Sounds like Transit App interprets them similarly to Google.

@tleboulenge @anatolip-rt @gcamp Please feel free to clarify any of the above if needed.

Could other producers and consumers share their interpretation/expectation of Alerts with NO_SERVICE effects?

References:
(1) - #137 (comment)
(2) - #245 (comment)
(3) - #224 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    GTFS RealtimeIssues and Pull Requests that focus on GTFS RealtimeStatus: StaleIssues and Pull Requests that have remained inactive for 30 calendar days or more.Support: Needs HelpNeeds support to answer outstanding questions and/or feedback.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions