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

How is continuous_pickup/continuous_drop_off forbid language interpreted? Should it be adjusted to explicitly allow values of 1? #507

Open
westontrillium opened this issue Sep 30, 2024 · 2 comments
Labels
Extension: GTFS-Flex Issues and Pull Requests that focus on GTFS-Flex Extension 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

@westontrillium
Copy link
Contributor

westontrillium commented Sep 30, 2024

Introduce yourself

Weston Shippy, Trillium

Ask a question

Currently the restriction reads: "Forbidden if stop_times.start_pickup_drop_off_window or stop_times.end_pickup_drop_off_window are defined..."

Does this mean any presence of this field is forbidden if the above conditions are met, regardless of the specific value?

I can't think of why we would want to forbid an explicit value of "not available" when that's implicitly what is being stated by this restriction. Should it be changed to match the spirit of stop_times.pickup_type/drop_off_type? Like so:

"Any continuous_pickup/continuous_drop_off value other than 1 or empty is forbidden if start_pickup_drop_off_window or end_pickup_drop_off_window are defined..."

@gcamp
Copy link
Contributor

gcamp commented Oct 2, 2024

Your interpretation is what I assume was the original intent. I think defined was incorrectly used as "defined to non-default value"

@tzujenchanmbd
Copy link
Collaborator

Thanks for catching this @westontrillium

Agree that value 1 should be allowed here.

@eliasmbd eliasmbd added GTFS Schedule Issues and Pull Requests that focus on GTFS Schedule Extension: GTFS-Flex Issues and Pull Requests that focus on GTFS-Flex Extension Status: Discussion Issues and Pull Requests that are currently being discussed and reviewed by the community. labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Extension: GTFS-Flex Issues and Pull Requests that focus on GTFS-Flex Extension 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