Bug in ScheduleViewer?

14 views
Skip to first unread message

Joel Haasnoot

unread,
Oct 29, 2011, 5:44:33 PM10/29/11
to transit-d...@googlegroups.com
Hi all,
I'm trying to validate my GTFS data is indeed accurate, and was using
the ScheduleViewer tool in the TransitFeed toolkit for doing some
poking around. It's a great tool, and helpful for looking at feeds.
Not sure this is the right place, but for now just validating my
observations. I think I found a bug in that a trip will always show
arrival times twice, and departure times are never shown, even though
the bubble at each stop shows two times. The MareyGraph is correct,
and shows a horizontal segment indicating stopping, but the times on
the map are incorrect, both the same time. The GTFS feed is for
intercity train services, the 5 minutes make a big difference.

After doing some debugging of the script, the following code seems to
be the problem on line 307 of schedule_viewer.py
<code>
for arr,dep,stop in time_stops:
stops.append(StopToTuple(stop))
times.append(arr)
</code>
Nothing ever happens to dep, so that would make sense. The outputed
JSON in my browser contains batches of two identical times, which
would match that observation.

Am I missing something or is this indeed a bug?

Thanks,

Joel Haasnoot

Brian Ferris

unread,
Oct 31, 2011, 6:06:31 AM10/31/11
to transit-d...@googlegroups.com
Hey Joel,

For what it's worth, there is a mailing list for discussing the tools hosted at http://code.google.com/p/googletransitdatafeed/ and it's:


That said, no need to get too bogged down on convention.  Let's see if we can fix your bug!  I'll admit that I'm not 100% clear on the issue you're facing, so if you could follow up with me off-list with some more details, that'd be great.  Specifically, which info window are you referring to?

Thanks,
Brian



Joel Haasnoot

--
You received this message because you are subscribed to the Google Groups "Transit Developers" group.
To post to this group, send email to transit-d...@googlegroups.com.
To unsubscribe from this group, send email to transit-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/transit-developers?hl=en.


Reply all
Reply to author
Forward
0 new messages