Skip to content

Stoptimes should return tripId #3589

Closed

Description

@Zverik

Expected behavior

/index/stops/.../stoptimes call is documented to return, among other fields, a tripId. It would be very useful to know when a coming bus would reach other stops in its itinerary.

Observed behavior

As I see in TripTimeMapper.java, the tripId field is the only one that's not set.

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

otp-2.0.0-shaded.jar

Steps to reproduce the problem

Start OTP and query something like localhost:8080/otp/routers/default/index/stops/1:828/stoptimes.

Activity

  1. added this to the 2.1 milestone on Oct 6, 2021
  2. t2gran commented on Oct 6, 2021

    @t2gran
    Member

    @Zverik can you test the PR I made? Let me know if it works for you with a comment n the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions