bcgov / ols-router

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

Don't generate U-turn restrictions that are already covered by basic turn restrictions #226

Open cmhodgson opened 4 years ago

cmhodgson commented 4 years ago

The logic in the RoutableBC maker that generates turn restrictions should be a little smarter and not generate U-Turn restrictions that are already prevented by regular turn restrictions. This happens in the case of "V-turn" restrictions that also look like angle U-turns, and also cases of U-turns onto divided left turn lanes, the left turn onto the divided turn lane is already prevented.

This is relatively minor but worth considering.