BlinkTagInc/gtfs-to-chart

Specific GTFS feed yielding invalid charts

Closed this issue · 1 comments

Metadata

Problem

When GTFS-to-Chart is run using this specific GTFS feed, the charts generated are invalid. Instead of all the stops being spread out across the chart, they appear to all be stuck against the leftmost side of the chart. No lines appear in the chart. Example of broken chart -- download and change extension to .html. Note that all charts generated have this issue.
This issue only occurs using the provided GTFS feed, which is the STO GTFS feed run through GTFSTidy with the -c flag to create a calendar.txt file as the original GTFS only contains calendar_dates.txt. Other GTFS feeds work out of the box.

Expected behaviour

Charts should have stops spaced out across the chart and lines should appear.

Thanks!

Thanks for the detailed report.

Since stop_times.txt doesn't have shape_dist_traveled, it was having a hard time placing stops on the chart. I pushed an update that should resolve this, checkout version 2.0.1.

Screen Shot 2021-08-17 at 2 41 15 PM