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

NEGATIVE_HOP_TIME on a real-time feed containing only arrival times but not departure times on stops after extended dwell #6391

Open
miklcct opened this issue Jan 17, 2025 · 0 comments · May be fixed by #6392

Comments

@miklcct
Copy link
Contributor

miklcct commented Jan 17, 2025

Expected behavior

The update can be parsed with only arrival times given. The spec does not require both arrival and departure to be given, only either of them.

Observed behavior

A lot of trip updates fail with NEGATIVE_HOP_TIME if the bus is running late across an extended dwell.

Version of OTP used (exact commit hash or JAR name)

2.7.0-SNAPSHOT

Data sets in use (links to GTFS and OSM PBF files)

GTFS data for Uno buses and predictions generated by TheTransitClock.

Command line used to start OTP

Router config and graph build config JSON

Steps to reproduce the problem

  1. Run Transitime using a GTFS file of an agency and a GTFS-RT containing the bus positions for that agency, matched to the trips correctly.
  2. Run OpenTripPlanner with the same GTFS file, and a trip updater connected to the API output for the GTFS-RT predictions from Transitime.
miklcct added a commit to Jnction/OpenTripPlanner that referenced this issue Jan 17, 2025
@miklcct miklcct changed the title NEGATIVE_DWELL_TIME on a real-time feed containing only arrival times but not departure times NEGATIVE_DWELL_TIME on a real-time feed containing only arrival times but not departure times on stops after extended dwell Jan 17, 2025
miklcct added a commit to Jnction/OpenTripPlanner that referenced this issue Jan 17, 2025
@miklcct miklcct changed the title NEGATIVE_DWELL_TIME on a real-time feed containing only arrival times but not departure times on stops after extended dwell NEGATIVE_HOP_TIME on a real-time feed containing only arrival times but not departure times on stops after extended dwell Jan 17, 2025
miklcct added a commit to Jnction/OpenTripPlanner that referenced this issue Jan 17, 2025
miklcct added a commit to Jnction/OpenTripPlanner that referenced this issue Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant