-
Notifications
You must be signed in to change notification settings - Fork 56
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
Multiple agencies in single GTFS file #179
Comments
Can you share the link to the GTFS file? I'm unable to access 15.206.194.4 to view the GTFS. |
The file can be downloaded now from http://15.206.194.4/gtfs/gtfs.zip |
Thanks, I think the issue is that some routes with different agencies have the same route_short_name which is what GTFS-to-HTML uses as in URL/filename when generating timetables when there is not a timetables.txt file present. For example, The way to handle this is to add a timetables.txt file which specifies each route_id that you'd like to generate a timetable for, a filename for that timetable (and optionally how you'd like to group these on a single page). See https://gtfstohtml.com/docs/timetables for details. OR you could update the route_short_name to be unique. |
http://15.206.194.4/gtfs/config.json is the config file. Is the agencies section correct? I will be making route short name unique. |
The HTML includes routes of both agencies. However, name of only the first agency appears on the page that lists the routes. The HTML title shows both agency names together. http://15.206.194.4/html as an example. |
Good catch. I published an updated version of GTFS-to-HTML 2.10.7 which should resolve this. Try it out and let me know how it works for you. The https://run.gtfstohtml.com service is also updated. |
My GTFS file has the data of two agencies, 4.4MB in size. When I provide the URL of the file on the web version of the tool, the generated output carries the HTML of only the first agency. How to generate the output for both agencies? The agencies are related to each other and that is the reason they are in a single GTFS file and need to be shown in a single HTML.
The GTFS file is at URL http://15.206.194.4/gtfs/gtfs.zip.
The generated output is at http://15.206.194.4/html.
The text was updated successfully, but these errors were encountered: