Skip to content

Validate that arrival_time, departure_time and shape_dist_traveled are non-decreasing along each trip#1319

Closed
aababilov wants to merge 2 commits intoMobilityData:masterfrom
aababilov:StopTimeInSequenceOrderValidator
Closed

Validate that arrival_time, departure_time and shape_dist_traveled are non-decreasing along each trip#1319
aababilov wants to merge 2 commits intoMobilityData:masterfrom
aababilov:StopTimeInSequenceOrderValidator

Conversation

@aababilov
Copy link
Copy Markdown
Collaborator

Validate that arrival_time, departure_time and shape_dist_traveled are non-decreasing along each trip

Generated notices:

  • TripWithOutOfOrderArrivalTimeNotice
  • TripWithOutOfOrderDepartureTimeNotice
  • TripWithOutOfOrderShapeDistTraveledNotice

The new validator is more powerful that the removed one. The new validator can also properly handle cases when some shape_dist_traveled are missing.

…e non-decreasing along each trip

Generated notices:
* TripWithOutOfOrderArrivalTimeNotice
* TripWithOutOfOrderDepartureTimeNotice
* TripWithOutOfOrderShapeDistTraveledNotice

The new validator is more powerful that the removed one. The new
validator can also properly handle cases when some shape_dist_traveled
are missing.
@isabelle-dr
Copy link
Copy Markdown
Contributor

One question: would TripWithOutOfOrderShapeDistTraveledNotice replace the existing DecreassingOrEqualStopTimeDistance?

@aababilov aababilov closed this Feb 17, 2023
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.

2 participants