Skip to content
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

Have a way to explicitly communicate that a trip does not have any headsigns #488

Open
evansiroky opened this issue Aug 5, 2024 · 2 comments
Labels
Change: Clarification Revisions of the current specification to improve understanding. GTFS Schedule Issues and Pull Requests that focus on GTFS Schedule Status: Discussion Issues and Pull Requests that are currently being discussed and reviewed by the community.

Comments

@evansiroky
Copy link
Contributor

Describe the problem

In some small and rural agencies, the vehicles they operate don't have any headsigns and may merely have a vehicle with the overall transit agency name present. As promoted in #485, the headsigns field is being said the be "recommended". Therefore this creates a tension in assuming that data is missing when the headsigns data is not included.

Use cases

Two examples from California are shown below:

Morro Bay Transit:

image

Dana Point Trolley:

image

I would assume there are other places throughout the world where headsigns aren't used or don't exist.

Proposed solution

There should be a some language within the specification that specifically notes how to note that headsign information is excluded. The spec could be rewritten so that when headsigns are not included, this constitutes an acknowledgment that headsigns aren't used for the trip in question. Otherwise, a flag could be added to note that headsings aren't used for a particular trip.

Additional information

No response

@evansiroky evansiroky changed the title Have a way to explicitly communicate that a route does not have any headsigns Have a way to explicitly communicate that a trip does not have any headsigns Aug 5, 2024
@stevenmwhite
Copy link
Contributor

stevenmwhite commented Aug 5, 2024

I'm not sure it's necessary to explicitly state with a flag that a vehicle doesn't have headsigns. I'd definitely prefer it to be with a language change in the spec to make this assumption clear if the data is not present.

The current spec is "This field is recommended for all services with headsign text displayed on the vehicle which may be used to distinguish amongst trips in a route." So I would assume that a vehicle does not have headsign text visible if it's not included. Or, of course, that the feed is not following the recommendation, but a user who is validating a feed they produce will get a warning here and then make a choice whether to include that info or go ahead without it. That's my take as a producer.

I think the main question here, however, is whether a consumer will do something different depending on whether the data is missing or whether there is in fact no headsigns. I'm particularly curious to hear how the UI of a consuming application may change if the data is missing vs. there is no headsign present.

@eliasmbd eliasmbd added GTFS Schedule Issues and Pull Requests that focus on GTFS Schedule Status: Discussion Issues and Pull Requests that are currently being discussed and reviewed by the community. Change: Clarification Revisions of the current specification to improve understanding. labels Aug 6, 2024
@miklcct
Copy link

miklcct commented Sep 3, 2024

I am using GTFS-RT to add trips with ScheduleRelationship = ADDED which does not currently have the ability to specify a headsign yet, so my consumers make up headsigns using the station name of the destination.

If there is really no headsign of a public transport vehicle in the real world, I also think that making it up by using the station name of the destination is reasonable, unless the trip is a loop line (in such case, a vehicle without headsign will confuse users), so for me I don't think I need to distinguish between these two cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Change: Clarification Revisions of the current specification to improve understanding. GTFS Schedule Issues and Pull Requests that focus on GTFS Schedule Status: Discussion Issues and Pull Requests that are currently being discussed and reviewed by the community.
Projects
None yet
Development

No branches or pull requests

4 participants