Skip to content

Negative travel time to cancelled stop reports an error #301

Description

@networkException

Looking at the following SIRI

// ...
{
  "stopPointRef": {
    "value": "570001"
  },
  "order": 1,
  "extraCall": false,
  "cancellation": false,
  "aimedArrivalTime": "2026-01-09T10:06:00Z",
  "aimedDepartureTime": "2026-01-09T10:06:00Z",
  "expectedArrivalTime": "2026-01-09T10:35:40Z",
  "expectedDepartureTime": "2026-01-09T10:35:40Z"
},
{
  "stopPointRef": {
    "value": "216501"
  },
  "order": 2,
  "extraCall": false,
  "cancellation": true,
  "aimedArrivalTime": "2026-01-09T10:07:00Z",
  "aimedDepartureTime": "2026-01-09T10:07:00Z"
},
// ...

I get an error

[error][nigiri.rt.update_time] travel_time < 0: ("Oggersheim, Comeniusstaße", "570001") -> ("Wilhelm-Tell-Straße", "216501"): dep=635 - arr=607

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions