vasile / GTFS-viz

Converts a GTFS dataset into a SQLite DB + GeoJSONs / KMLs
MIT License
86 stars 21 forks source link

Error: required GTFS table calendar not found #8

Open SKeehnen opened 9 years ago

SKeehnen commented 9 years ago

I try to read data which doesn't include a calender.txt because I have a calendar_dates.txt which includes ALL dates of service. That results in an error because calender.txt is not found. How can I solve this?

The error occurs at this step:

rake parse:gtfs_2_sqlite

vasile commented 8 years ago

Hello @SKeehnen - can you post the dataset you are trying to use ?

Ms-Shaukat commented 8 years ago

Hi @vasile - I am facing the same issue with this dataset : http://gtfs.s3.amazonaws.com/rps@trafikanten.no_20130719_1515.zip

SKeehnen commented 8 years ago

@vasile I am using the data from http://gtfs.ovapi.nl/ns/calendar_dates.txt

The complete data set is at http://gtfs.ovapi.nl/new/gtfs-nl.zip

umairakhtar123 commented 8 years ago

Any solutions to this problem ? @vasile

vasile commented 8 years ago

Well, it needs some patching to support calendar_dates.txt only I'll announce you guys here once is done

russellhoff commented 8 years ago

I've got the solution to this error. Some GTFS do not include calendar.txt file, but they do include calendar_dates.txt. This should be enough. To get rid of this error, you must create an empty calendar.txt file and place it into gtfs-data folder. Then, run rake command.

umairakhtar123 commented 8 years ago

@russellhoff I did try this but didn't worked for me. I am using this Dataset http://transitfeeds.com/p/societe-regionale-wallonne-du-transport/529/latest

@vasile did you get time to patch this ? Hope to have a reply from you! By the Way @vasile Thank you for all the support you provide from your busy Schedule.

brandsjek commented 7 years ago

Would love to see a update on this: I'm trying to use this with https://gtfs.openov.nl, which specifies all dates of service in calendar_dates.txt. I'm presuming this hasn't been fixed (yet) as there is no is_optional in inc/gtfs_mapping.yml:2.