Skip to main content

timetable_pages.txt

This is an optional, non-standard file called timetable_pages.txt which can be included in an agency's GTFS. This file specifies which HTML timetable to group together into a single HTML page.

If you'd like to show timetables both directions of a route on the same HTML page or show timetables for weekdays and weekends on the same HTML page then you'll need timetable_pages.txt.

Column Definitions

column namedescription
timetable_page_idA unique ID for the timetable page
timetable_page_labelA label that will show up on the top of the page. Optional, defaults to using route name.
filenameThe filename to use for the generated HTML file. Optional, defaults to timetable_page_id with file extension .html, for example 1.html.

Example

timetable_page_id,timetable_page_label,filename
1,"Cloverdale, Healdsburg, Windsor, Santa Rosa","60.html"
2,"Sebastopol, Rohnert Park, Cotati","26.html"

Simple Example

This example just lists timetable_page_id and will default to creating 1.html, 2.html and 3.html.

timetable_page_id,timetable_page_label,filename
1,,
2,,
3,,

An example of this file is located in examples/timetable_pages.txt.