-
Notifications
You must be signed in to change notification settings - Fork 1
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
WIP support split service #26
base: master
Are you sure you want to change the base?
Conversation
|
||
// Is that modification splitting the service in two, instead of just having a detour | ||
// If true, a `secondary_shape_id` should be provided in TransitSelectedTripsExtension | ||
optional bool is_splitting_service = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: would no_through_travel through_travel_prohibited
work? it feels a bit clearer to me.
If the flag is true, how do we know the two trips that result? Is the detour defined in the trip_modifications->modification the second trip? Or the stops in the modificationdefine a part that is not served and then that is the part that does not have service? I think we could clarify the behaviour. |
There are two undocumented requirements with this:
The resulting trips are (first stop) to startStop, and then endStop to (last stop). [Edit]: I think I understand your question now: how do we know which trip is associated with which shape. I don't think that's defined in the current implementation. |
It feels to me we are stuffing this here with a shoehorn. When we define a detour in TM, we actually define a segment that is not served and there is a lot of implicits or extra behaviour. There are also fields that don't mean anything in the current spec when the flag is set. I'm not sure what's best though.
|
Support split service by adding
I think this might be ok for our usecase, but that does mean that there can be only a single split service modification. I don't think that will be ok for the general spec.