You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2024. It is now read-only.
Summary:
I ran the validator on a feed that is blank by design, and no error was given.
Steps to reproduce:
Bay Area Rapid Transit (BART) prefers to not produce a vehicle position feed because they're concerned about physical security. Their regional agency (MTC) produces vehicle positions, trip updates, and alerts on behalf of all their local agencies, including BART. I plugged in the vehicle position and BART identifiers in their URL format (http://api.511.org/transit/vehiclepositions?api_key=[key]&agency=BA) and put this URL in the validator. No errors were given, which made me assume it was just a really good feed.
Expected behavior:
I expected some indication that the API wasn't returning anything at all.
Observed behavior:
The validator returned 0 errors.
Platform:
MacOS Catalina 10.15.7
Java version: 11.0.5
Chrome version 86.0.4240.80
The text was updated successfully, but these errors were encountered:
@mcplanner Thanks for opening this! No errors = perfect! :)
Could you attach the .pb file that is returned (just from putting the URL in a browser) in a zip file, or if you can see the results in plain text in the validator, paste the plain text?
I'm curious if there is some content (i.e., a header) and no vehicles, or if the entire feed is empty.
If the header is there but no vehicles, it might be challenging to tell the difference between this type of feed and a normal situation where an agency isn't running service (e.g., in the middle of the night) - we'd need to compare against static feed to see if there is service running. Maybe this would be better presented as % coverage of trips shown as active in the static schedule data.
Summary:
I ran the validator on a feed that is blank by design, and no error was given.
Steps to reproduce:
Bay Area Rapid Transit (BART) prefers to not produce a vehicle position feed because they're concerned about physical security. Their regional agency (MTC) produces vehicle positions, trip updates, and alerts on behalf of all their local agencies, including BART. I plugged in the vehicle position and BART identifiers in their URL format (http://api.511.org/transit/vehiclepositions?api_key=[key]&agency=BA) and put this URL in the validator. No errors were given, which made me assume it was just a really good feed.
Expected behavior:
I expected some indication that the API wasn't returning anything at all.
Observed behavior:
The validator returned 0 errors.
Platform:
MacOS Catalina 10.15.7
Java version: 11.0.5
Chrome version 86.0.4240.80
The text was updated successfully, but these errors were encountered: