Closed atrawog closed 8 months ago
According to the spec agency_url
is mandatory.
One word of sympathy: As a German I know how hard it is to get the data producers to make their feed compliant.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days
Currently in the US a major US rail provider, Amtrak, is publishing a GTFS feed with a missing agency_url. The agency actually has a URL, Amtrak just published a non-compliant GTFS feed anyway.
Although it's frustrating, I do see that it GTFS producers need to hold up their end of the deal and produce valid GTFS feeds.
I really don't want to encourage data producers to be even sloppier when publishing their feeds but out of all the fields in the spec, I do wonder how this one became mandatory.
Expected behavior
OTP should treat non essential field in agency.txt as optional.
Observed behavior
Version of OTP used (exact commit hash or JAR name)
Version: 2.5.0-SNAPSHOT, ser.ver.id: 120, commit: 5085fb361c1e91f65407c0cc74811ee34c1d9576, branch: dev-2.x
Data sets in use (links to GTFS and OSM PBF files)
https://mobilitydata.gv.at/en/daten/soll-fahrplandaten-gtfs
Command line used to start OTP
java -Xmx50G -jar ./otp-2.5.0-error-message.jar --build --save . | tee build.log
Reason
This is another episode of Austria likes to crash OTP and is caused by the agency_url and agency_phone missing for some providers in agency.txt.