bcgov / ols-router

BC Advanced Route Planner
https://bcgov.github.io/ols-router/
Apache License 2.0
23 stars 11 forks source link

Best route takes an extra loop between 49.34905,-123.23019 and 4711 Woodley Dr, West Vancouver, BC #281

Closed mraross closed 2 years ago

mraross commented 4 years ago

49.34905,-123.23019 4711 Woodley Dr, West Vancouver, BC

image.png

mraross commented 4 years ago

This doesn't happen when truck route multiplier is set less than 6.17. For example:

image

gleeming commented 4 years ago

I'm not really clear on how this is an "extra" loop since it is analogous to staying longer on a truck route to skirt a non truck route section. The first route uses perhaps 50% less non-truck route in its end-to-end path since it doesn't require any travel on Westport Rd.

So from one perspective that is a positive outcome. TransLink has mentioned that ideally the non-truck route portions at the start and end should take the shortest path to the nearest truck route. We try to approximate that using LDF, GDF and truck multipliers that model the fastest route, and hope that in the majority of cases the outcome is acceptable.

It would be interesting to hear if TransLink has a preference of one route over the other and can provide a comment.

mraross commented 4 years ago

@gk-tl: Greg, could you please indicate your preference of truck route?

gk-tl commented 4 years ago

Preference would be to take Exit 4 to Woodgreen Drive/Headland Drive rather than doing a long loop via Hwy 99. I suspect the reason the router generates the "loop" route is that the ramps are not classified as a truck route for the "direct" route, but are classified as a truck route for the "loop" route. While I recognize this will create a "dangler", it should help generate the correct route.

@al-tabb please update the cartographic data for the Westport on/off ramp (westbound) and the Headlands on/off ramp (eastbound). The Headlands ramps are already classified as a truck route in the router data, but not the cartographic data.

image

image

gk-tl commented 4 years ago

@al-tabb, @mraross, @gleeming please note I made a couple of edits to my original response. Hopefully it's a little clearer.

gleeming commented 4 years ago

@gk-tl @al-tabb last month I added truck routes to the Headland Dr ramps based on our general rule that it facilitates eastbound highway traffic skirting the overpass. I had not done the same for Westport Rd ramps because, as per the rule, they are not in a configuration to support a similar maneuver for westbound traffic (or link into another truck route). However I'll create an ITN ticket to get the Westport Rd ramp cases associated with truck routes to support this special case. Hopefully that will be sufficient for the router to avoid the long loop.

mraross commented 4 years ago

@gk-tl Thanks for the quick response Greg. We're getting there faster, one dangler at a time.

gk-tl commented 4 years ago

@gk-tl @al-tabb last month I added truck routes to the Headland Dr ramps based on our general rule that it facilitates eastbound highway traffic skirting the overpass. I had not done the same for Westport Rd ramps because, as per the rule, they are not in a configuration to support a similar maneuver for westbound traffic (or link into another truck route). However I'll create an ITN ticket to get the Westport Rd ramp cases associated with truck routes to support this special case. Hopefully that will be sufficient for the router to avoid the long loop.

Thanks Graeme. I know it's not entirely consistent with the general rule we agreed on for highway ramps, but in this case it should help with the routing and hopefully is OK with everyone.

mraross commented 2 years ago

Verified in production