opentripplanner / OpenTripPlanner

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

Minimum transfers with night train not found #3801

Closed t2gran closed 2 years ago

t2gran commented 2 years ago

Expected behavior

When searching from Fredrikstad to Trondheim with departure at 20:00, we expect to find the following itinerary:

Observed behavior

The only option found is R20 to Oslo S, then L14 to Lillestrøm and the the night train 21 to Trondheim. This journey have an extra transfer, so we would expect both results to be in he result set. The expected journey is not filtered away in the itinerary filter.

Some observations:

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

OTP 2.x

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

Norwegian data

Steps to reproduce the problem

Search: Fredrikstad - Trondheim Set the time to 20:00.

hannesj commented 2 years ago

image

It seems it is returned, but filtered away due to similar-legs-filter-85p-1x

hannesj commented 2 years ago

A second case. We suggest an itinerary with transit compared to a direct one here:

https://entur.no/travel-result?transportModes=bus%2Ctram%2Crail%2Cmetro%2Cwater%2Cflytog%2Cflybuss&date=1643320800000&walkSpeed=1.3&minimumTransferTime=120&timepickerMode=departAfter&startId=NSR%3AStopPlace%3A58211&startLabel=Oslo%20lufthavn&startLat=60.193361&startLon=11.097887&stopId=NSR%3AStopPlace%3A38775&stopLabel=%C3%85lesund%20rutebilstasjon&stopLat=62.47038&stopLon=6.154049

Skjermbilde 2022-01-27 kl  08 54 00