Sadless74 / googletransitdatafeed

Automatically exported from code.google.com/p/googletransitdatafeed
0 stars 0 forks source link

possible to output route without agency_id #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by tom.brow...@gmail.com on 18 Sep 2009 at 4:05

GoogleCodeExporter commented 9 years ago
Moved to https://github.com/google/transitfeed/issues/47

Original comment by bdfer...@google.com on 7 Oct 2014 at 7:52