conveyal / gtfs-lib

A library for loading and saving GTFS feeds of arbitrary size with disk-backed storage
BSD 2-Clause "Simplified" License
71 stars 38 forks source link

GTFS lib warns on missing calendar.txt #33

Open mattwigway opened 7 years ago

mattwigway commented 7 years ago

[main] INFO com.conveyal.gtfs.GTFSFeed - GTFSError: calendar line 0: This table is required by the GTFS specification but is missing.

This is actually perfectly legal.

blackmad commented 4 years ago

I was looking into using gtfs-lib to do gtfs feed validation, since I think it's what OTP uses internally, and I was surprised how many feeds give me this calendar missing error, which doesn't seem to actually be an error.

Any updates on this?

timlod commented 5 months ago

Still an issue. See https://gtfs.org/schedule/reference/#calendar_datestxt for the official documentation describing how this is okay:

Alternate: Omit [calendar.txt](https://gtfs.org/schedule/reference/#calendartxt), and specify each date of service in [calendar_dates.txt](https://gtfs.org/schedule/reference/#calendardatestxt). This allows for considerable service variation and accommodates service without normal weekly schedules. In this case service_id is an ID.