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

Add alternative schedule source format with frequencies #113

Open
ialokim opened this issue Dec 20, 2017 · 2 comments
Open

Add alternative schedule source format with frequencies #113

ialokim opened this issue Dec 20, 2017 · 2 comments

Comments

@ialokim
Copy link
Contributor

ialokim commented Dec 20, 2017

For the creation of Managua's timetable.json, @xamanu wrote a little script to convert frequency data to the current schedule format specification.

For integrating the public transport data of Esteli, we had a similar starting point: schedule information (mainly) given in frequency information. I've worked on @xamanu's script to be usable in different regions and with different requirements. The last version is published in mapanica/easy-timetable-converter and was done thinking of a possible latter integration into osm2gtfs. After merging in #99, we could discuss the support of a second schedule source format (see my specification here).

@ialokim
Copy link
Contributor Author

ialokim commented Jan 8, 2018

It's also worth mentioning the GTFS frequencies.txt, which is an alternative source of time information for exactly the situations described above. We should discuss whether to include the above mentioned script which processes the frequencies to our known timetable.json format (and than into stop_times.txt or to generate with the help of transitfeed this frequencies.txt.

Reasons for integrating the script:

  • would be much easier to include, because the script is already working and we wouldn't need to rewrite some core functions
  • frequencies.txt is optional and might not be implemented/read by all GTFS consumer programs

Reasons for generating the frequencies.txt:

  • GTFS filesizes would be less big
  • standardized way of giving frequencies inside GTFS

Feel free to add more arguments!

@nlehuby
Copy link
Collaborator

nlehuby commented Jan 8, 2018

FYI, the Accra creator does generate a frequencies.txt file.

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