opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.18k stars 1.02k forks source link

OTP2 gives tripPatterns with alighting when forAlighting = false #3594

Closed andtry closed 2 years ago

andtry commented 3 years ago

Example query below gives tripPatterns with alighting when forAlighting = false

query

  trip(
    from: {
      name: "Oslo Bussterminal"
      place:"NSR:StopPlace:58293"
    }
    to: {
      place:"NSR:GroupOfStopPlaces:64"
      name:"Kragero"
    }
    numTripPatterns: 3
    dateTime: "2021-09-03T13:43:03.790+02:00"
    walkSpeed: 1.3
    arriveBy: false
  )

#### Requested fields
  {
    tripPatterns {
      expectedStartTime
      duration
      walkDistance
      legs {
        mode
        line {
          id
          publicCode
        }
        toEstimatedCall {
          quay {
            name
          }
          forAlighting
          forBoarding
          requestStop
        }
      }
    }
  }
}

response

"toEstimatedCall": {
                "quay": {
                  "name": "Rugtvedt E18"
                },
                "forAlighting": false,
                "forBoarding": true,
                "requestStop": false
              }
lassetyr commented 3 years ago

I am able to reproduce this with the following data: