Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

use of frequencies.txt ? #7

Open
nlehuby opened this issue Dec 22, 2021 · 2 comments
Open

use of frequencies.txt ? #7

nlehuby opened this issue Dec 22, 2021 · 2 comments

Comments

@nlehuby
Copy link

nlehuby commented Dec 22, 2021

Hello,

I'm trying to use the lib on some GTFS that uses the frequencies.txt file but I only get 2 trips per route in the chart

My GTFS looks like that

trips.txt:

r10185142,Mo-Su,r10185123_Mo-Su,Mosquée Ado,0,r10185123
r10185142,Mo-Su,r10185122_Mo-Su,Gare Abobo Kennedy,1,r10185122

stops_times.txt:

r10185123_Mo-Su,06:00:00,06:00:00,n6903268820,0
r10185123_Mo-Su,06:10:39,06:10:39,n6903504058,1
r10185123_Mo-Su,06:12:52,06:12:52,n6903504060,2
r10185123_Mo-Su,06:14:04,06:14:04,n6903397407,3
r10185123_Mo-Su,06:16:21,06:16:21,n6903397406,4
r10185123_Mo-Su,06:17:19,06:17:19,n6903397405,5
r10185123_Mo-Su,06:18:36,06:18:36,n6903397404,6
r10185123_Mo-Su,06:19:59,06:19:59,n6903397403,7
r10185122_Mo-Su,06:00:00,06:00:00,n6903397403,0
r10185122_Mo-Su,06:05:19,06:05:19,n6903504062,1
r10185122_Mo-Su,06:08:42,06:08:42,n6903504061,2
r10185122_Mo-Su,06:10:09,06:10:09,n6903504059,3
r10185122_Mo-Su,06:13:30,06:13:30,n6903406998,4
r10185122_Mo-Su,06:15:54,06:15:54,n6903406997,5
r10185122_Mo-Su,06:27:06,06:27:06,n6902638988,6
r10185122_Mo-Su,06:30:00,06:30:00,n6903268819,7

I get exactly these hours in the chart

but I also have frequencies.txt to expand to the rest of the day:
frequencies.txt

r10185123_Mo-Su,05:00:00,22:00:00,3600
r10185122_Mo-Su,05:00:00,22:00:00,3600

In the log I get Importing - frequencies.txt - 1082 lines imported but it seems to ignore this file anyway.

Does the lib actually use the frequencies.txt file ?

@brendannee
Copy link
Member

The frequencies are getting imported, but this chart library isn't set up to use frequencies.txt. Can you share the GTFS you are using with me and I'll see if it is easy to to add this.

@nlehuby
Copy link
Author

nlehuby commented Dec 23, 2021

Hello,

Here is an extract of the GTFS I'm trying to process: sample_gtfs_freq.zip

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants