Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register GTFS-RT extensions even when reading from a file #87

Open
wants to merge 1 commit into
base: mta-master
Choose a base branch
from

Conversation

tyleragreen
Copy link

I noticed the extensions weren't working when I ran OTP using gtfs-file mode (as opposed to gtfs-http).

Specifically, stopHeadsign was never being set, from TimetableSnapshotSource.java:

String stopHeadsign = stopTimeUpdate.getExtension(GtfsRealtimeOneBusAway.obaStopTimeUpdate).getStopHeadsign();

This PR registers the GTFS-RT extensions even when using gtfs-file mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant