google / transitfeed

A Python library for reading, validating, and writing transit schedule information in the GTFS format.
https://github.com/google/transitfeed/wiki
Apache License 2.0
679 stars 254 forks source link

Validate for single IDless agencies #500

Closed laurentg closed 4 years ago

laurentg commented 4 years ago

As stated in the GTFS specification, an agency ID is optional, but only if there is a single agency. If there are multiple agencies defined, ID are mandatory.

I've a fix for this in my fork, preparing a PR with this.