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

Added check for canceled connections #9

Merged

Conversation

DylanVanAssche
Copy link
Contributor

@DylanVanAssche DylanVanAssche commented Nov 29, 2018

This PR adds a check for trip_update.trip.scheduled_relationship, if this property == 3 then the connection is canceled. The type of the connection is changed to lc:CanceledConnection. I also fixed the Canceled connection type to lc:Canceled.

The test data doesn't have any canceled connections or am I wrong?

@julianrojas87 review?

Fixed #7

lib/Gtfsrt2LC.js Outdated Show resolved Hide resolved
@DylanVanAssche DylanVanAssche changed the base branch from master to development November 30, 2018 11:49
@julianrojas87 julianrojas87 merged commit 266748a into linkedconnections:development Feb 18, 2019
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.

None yet

3 participants