catalogueglobal / datatools-server

Server for Conveyal's GTFS data management platform. NOTE: Active development has returned to https://github.com/conveyal/datatools-server
MIT License
14 stars 8 forks source link

Convert calendar_dates to schedule exceptions on import into editor #80

Open landonreed opened 6 years ago

landonreed commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@cbergy we are working on this now.

landonreed commented 5 years ago

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.