-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add stop position type to GTFS GraphQL API #5810
Add stop position type to GTFS GraphQL API #5810
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #5810 +/- ##
=============================================
+ Coverage 67.89% 67.91% +0.01%
- Complexity 16556 16566 +10
=============================================
Files 1908 1910 +2
Lines 72341 72360 +19
Branches 7440 7441 +1
=============================================
+ Hits 49117 49141 +24
+ Misses 20702 20695 -7
- Partials 2522 2524 +2 ☔ View full report in Codecov by Sentry. |
We talked about it in the dev meeting today and there was criticism that it doesn't satisfy the "general use" criteria as it doesn't deal with the following cases:
I will convert this to a draft do more thinking on it. |
Can |
Are you aware that this is a draft? |
I'm happy to close this. IBI no longer needs this feature. |
Yes, I just want to give you an early warning - adding types/data structures witch I think is not part of eiter GTFS or NeTEx is a long shot. My gut feeling tels me this is probably use-case specific... |
Summary
It adds a new field to the GTFS API which allows frontend developers to easily figure out if a stop time is the first, last or middle stop in a trip.
Why might you need this when you could just look at all stop times? In the nearby view (and perhaps others) when looking at the
DepartureRow
you see stop times in isolation without a trip. Here it would be nice if frontend developers could easily tell if it's the first or the last stop in a trip.Unit tests
Added.
Documentation
Added.
cc @miles-grant-ibigroup