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

Convert calendar_dates to schedule exceptions on import into editor #80

Open
landonreed opened this issue Apr 26, 2018 · 3 comments
Open

Comments

@landonreed
Copy link
Member

Currently (and since the earliest versions of gtfs-editor), when importing a feed into the editor the calendar_dates.txt table is entirely disregarded. Schedule exceptions must be generated and managed from scratch within the feed editor. This is due in part to the complex combinations of calendars.txt and calendar_dates.txt that can be found in GTFS feeds. One notable example, a case which is also described in the reference documentation, is the TriMet feed, which explicitly defines all dates of operation in calendar_dates.txt.

While there is no support currently for moving from calendar_dates.txt to editor-defined schedule exceptions, there may be some simple rules we could introduce to simply convert single or paired dates entries into the SWAP exception type.

@cbergy
Copy link

cbergy commented Sep 21, 2018

Hi @landonreed ,

is the import of calendar_dates.txt planned somehow in the next future, or al least to implement the rules you mentioned?

@abyrd
Copy link

abyrd commented Sep 21, 2018

@cbergy we are working on this now.

@landonreed
Copy link
Member Author

landonreed commented Nov 13, 2018

This has been fixed in the downstream library conveyal/gtfs-lib#141, but we need to first release gtfs-lib and bump the version of gtfs-lib in datatools-server's pom.

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

No branches or pull requests

3 participants