mrcagney / gtfs_kit

A Python library for analyzing GTFS feeds.
MIT License
46 stars 7 forks source link

Handle multiple agencies #6

Closed cedarbaum closed 9 months ago

cedarbaum commented 9 months ago

I am working on using this library to merge a few GTFS feeds together, and the input files contain different agencies. Although the documentation seems ambiguous if this technically follows the spec (https://developers.google.com/transit/gtfs/reference#agencytxt), the canonical GTFS validator (https://gtfs.org/schedule/validate/) does consider this OK. Would you be open to this change (happy to open a PR if so). And if so, would backwards compatibility be a concern or would it be OK to just change Feed.agency to Feed.agencies everywhere?

Thanks for your work on this project!

cedarbaum commented 9 months ago

Actually, I think this is already handled, sorry about the confusion!