According to the spec, if routes.txt includes an agency_id column all rows
must have a value. Ideally Route.GetFieldValuesTuple would use the
schedule's default route if self.route_id is None and there would be a way
to totally omit the column if only one agency is in the schedule.
The easiest fix is to make agency_id required when creating a Route object
and populate it with the default agency in the loader when loading
routes.txt. I don't like adding things so that transitfeed loading and
writing a feed modifies its content.
Original issue reported on code.google.com by tom.brow...@gmail.com on 20 Mar 2008 at 1:06
Original issue reported on code.google.com by
tom.brow...@gmail.com
on 20 Mar 2008 at 1:06