Skip to content

Do not link cars to stop vertices in routing - #4166

Merged
hannesj merged 1 commit into
opentripplanner:dev-2.xfrom
entur:otp2_fix_car_stop_linking
May 25, 2022
Merged

Do not link cars to stop vertices in routing#4166
hannesj merged 1 commit into
opentripplanner:dev-2.xfrom
entur:otp2_fix_car_stop_linking

Conversation

@hannesj

@hannesj hannesj commented May 19, 2022

Copy link
Copy Markdown
Contributor

Summary

Currently, when doing a search with a car from a stop id, the linker links it directly to the stop vertex. This is not desirable, as the vertices are connected to edges, which are not car-traversable. Instead, we should do the regular temporary vertex linking process with the stop coordinates. This PS fixes this.

Unit tests

Updated StreetModeLinkingTest

@hannesj hannesj added the !Improvement A functional improvement or micro feature label May 19, 2022
@hannesj hannesj added this to the 2.2 milestone May 19, 2022
@hannesj
hannesj requested a review from a team as a code owner May 19, 2022 11:36
@t2gran
t2gran self-requested a review May 19, 2022 14:16
@hannesj
hannesj requested a review from vesameskanen May 19, 2022 14:16
@hannesj hannesj added the Entur Test This is currently being tested at Entur label May 24, 2022
@hannesj
hannesj merged commit 9c7a300 into opentripplanner:dev-2.x May 25, 2022
@hannesj
hannesj deleted the otp2_fix_car_stop_linking branch May 25, 2022 07:34
t2gran pushed a commit that referenced this pull request May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Entur Test This is currently being tested at Entur !Improvement A functional improvement or micro feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants