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

WIP support split service #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

gcamp
Copy link
Member

@gcamp gcamp commented Dec 2, 2024

Support split service by adding

  • a boolean to define if the service is split
  • a secondary shape to define the second part of the shape

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.

@gcamp gcamp requested a review from cmonagle December 2, 2024 18:29

// 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;
Copy link

@cmonagle cmonagle Dec 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants