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

[Suggestion] Remove equivalent trips #18

Open
brodyFlannigan opened this issue May 24, 2023 · 0 comments
Open

[Suggestion] Remove equivalent trips #18

brodyFlannigan opened this issue May 24, 2023 · 0 comments

Comments

@brodyFlannigan
Copy link

GTFSTidy already removes trips that have the same arrival/departure times and the same service ID.

Would it be possible to do the same for trips that are identical save for their days of operation?

For instance:
Trips 1 and 2 are identical in terms of trip properties (stop_times, trip fields, etc.) except that trip 1's service is only in effect on Monday while Trip 2 is only on Tuesday.
What we should do is delete one of the two trips and assign the remaining one a new service_id that covers all the dates covered by the 2 original service IDs.

Would that be feasible? OneBusAway's GTFS transformer does this with the calendar simplification option. and it can help reduce the size of a GTFS considerably.

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

No branches or pull requests

1 participant