Skip to main content

2 posts tagged with "csv"

View All Tags

New GTFS-to-HTML as a Service

· One min read

A new version of run.gtfstohtml.com is live. This is an easy way to use GTFS-to-HTML entirely from your browser without needing to download any code or use the command line.

GTFS-to-HTML as a Service allows uploading a GTFS file or specifying a URL to a GTFS file. Almost all configuration options are supported, with the big exception being no support for Custom Templates.

The code to run GTFS-to-HTML as a service is available on github.

New Feature - GTFS timetables as CSV

· One min read

GTFS-to-HTML Version 2.3.0 adds support for exporting timetables as CSV. Setting the outputFormat configuration to csv will generate CSV files instead of HTML. One CSV file per timetable will be generated.

An example of a CSV timetable:

,San Francisco Ferry Building,Vallejo Ferry Terminal,Mare Island Ferry Terminal
Run #1,10:30am,11:30am,
Run #2,11:30am,12:30pm,
Run #3,1:50pm,2:50pm,
Run #4,2:50pm,3:50pm,
Run #5,4:10pm,5:10pm,5:25pm
Run #6,5:10pm,6:10pm,6:25pm
Run #7,6:30pm,7:30pm,
Run #8,8:50pm,9:50pm,10:05pm

Timetables in CSV respect the orientation set in timetables.txt or defaultOrientation in config.json, they can be either horizontal or vertical.