motis icon indicating copy to clipboard operation
motis copied to clipboard

RAPTOR Pretrip fix

Open julianharbarth opened this issue 3 years ago • 0 comments

This fixes a bug where the departure events where not correctly calculated when meta start stations are enabled for a pretrip search.

Previously, if a station was reachable by foot from the source station it would result in departure event timestamps reduced by the footpath length for the source station, as we have to walk from the source station. If the station is also denoted as a meta station then we do NOT want the departure event timestamps reduced by the footpath length, as it is possible to directly start at the meta station.

This seems to be correct (tested for swiss gtfs), but still very slow while building the raptor timetable (~20s).

julianharbarth avatar May 20 '22 16:05 julianharbarth