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
680 stars 253 forks source link

route_short_name max length 6 characters? #392

Open radumas opened 9 years ago

radumas commented 9 years ago

Hello,

Validating data from the MBTA which contains some route_short_names that caused the following error:

Invalid value Shuttle in field route_short_name This route_short_name is relatively long, which probably means that it contains a place name. You should only use this field to hold a short code that riders use to identify a route. If this route doesn't have such a code, it's OK to leave this field empty. Invalid value 441/442 in field route_short_name This route_short_name is relatively long, which probably means that it contains a place name. You should only use this field to hold a short code that riders use to identify a route. If this route doesn't have such a code, it's OK to leave this field empty. Invalid value 214/216 in field route_short_name This route_short_name is relatively long, which probably means that it contains a place name. You should only use this field to hold a short code that riders use to identify a route. If this route doesn't have such a code, it's OK to leave this field empty. Invalid value 116/117 in field route_short_name This route_short_name is relatively long, which probably means that it contains a place name. You should only use this field to hold a short code that riders use to identify a route. If this route doesn't have such a code, it's OK to leave this field empty.

Since it doesn't seem like this is likely to be a configuration that is too out of the ordinary for transit agencies to use, I am wondering if the route_short_name needs to be so short. The gtfs spec itself doesn't specify a max length for this parameter.

Thanks,

-Raphael