bcgov / ols-router

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

Test for turn-restriction on overpass bug [Router 2.1.2] #275

Closed mraross closed 1 year ago

mraross commented 4 years ago

This request should find a route through an intersection on an overpass:

https://router-dev.pathfinder.gov.bc.ca/truck/route.json?points=-123.14605,49.03365,-123.15443,49.02628&criteria=fastest&followTruckRoute=True

mraross commented 4 years ago

From Chris hodgson:

A complicated overpass situation on Robert's Bank Rd in Tsawwassen has three segments meeting at an overpass over two lower segments, and there is a turn restriction required. This turn restriction is able to be created in the turn restriction editor, it is handled correctly in the Routeable BC Maker, but the Router itself ignores it on startup due to a logic error caused by the overpass situation.

This particular problem is demonstrated by a route from: 49.03365,-123.14605 to: 49.02628,-123.15443 with follow truck route enabled (disabling it actually shows the correct route)

mraross commented 4 years ago

Ran test request against Router 2.1.3 and it failed to find a route:

https://router-dev.pathfinder.gov.bc.ca/truck/route.json?points=-123.14605,49.03365,-123.15443,49.02628&criteria=fastest&followTruckRoute=True

so do setting followTruckRoute to False as in this request:

https://router-dev.pathfinder.gov.bc.ca/truck/route.json?points=-123.14605,49.03365,-123.15443,49.02628&criteria=fastest&followTruckRoute=True

cmhodgson commented 4 years ago

I believe the other part of the fix for this is in the April ITN data which it does not appear the DLV router is using. Graeme, Brian, can you confirm?

gleeming commented 4 years ago

Works in RRI dev April data. Data in deliv looks to be March

BK01 commented 4 years ago

Correct. router-dev.api.gov.bc.ca is using March data. We still need to update the RBC Maker to work with the new minIO bucket location.

alixcote commented 1 year ago

Re-closing.