onebusaway-transit-data-federation-builder fails if agency ID contains underscore
Precache will fail to build with org.onebusaway.exceptions.NoSuchStopServiceException
Seems to have been discussed before:
https://groups.google.com/d/msg/onebusaway-developers/RHHfZy_uLJM/mTklBXweYKUJ
This is rather unfortunate when trying to use the UK traveline data as all their operator IDs are preffixed with 'OId_'
Yeah, that is a shame. However, the agency + "_" is pretty well baked into OneBusAway. Any chance you could run the gtfs transformer over the GTFS first to clean up the operator ids before building?
http://developer.onebusaway.org/modules/onebusaway-gtfs-modules/current-SNAPSHOT/onebusaway-gtfs-transformer-cli.html
Sheldon
On Fri, Aug 14, 2015 at 1:57 AM, Robert Kerr [email protected] wrote:
Precache will fail to build with org.onebusaway.exceptions.NoSuchStopServiceException
Seems to have been discussed before:
https://groups.google.com/d/msg/onebusaway-developers/RHHfZy_uLJM/mTklBXweYKUJ
This is rather unfortunate when trying to use the UK traveline data as all their operator IDs are preffixed with 'OId_'
— Reply to this email directly or view it on GitHub https://github.com/OneBusAway/onebusaway-application-modules/issues/140.
I certainly can process the GTFS before processing. If it's not going to be possible to change this I think catching it earlier and providing a more obvious error message may be helpful. Getting a NoSuchStopServiceException in the precache phase is rather confusing and it took quite a while to get to the bottom of what was going on.
We just ran into this when trying to build a bundle for Delaware DART. The agency_id in that feed is DART_DE. We're handling it manually, but it confused us for a bit. Just mentioning it here to upvote the issue.
Delaware DART feed: http://transitfeeds.com/p/dart-first-state/209/latest