bcgov / ols-router

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

Directions return bogus heading, text and name components for responses to routes that don't have a valid path. #311

Open gleeming opened 3 years ago

gleeming commented 3 years ago

An example from Port Essington to a point near Hwy 16 across the inlet is https://router-dev.pathfinder.gov.bc.ca/directions.json?points=-129.96225,54.15882,-129.96758,54.20282

The response includes a single directions entry related to the destination, with unnecessary/incorrect information such as name "Hwy 16" heading "EAST" text "Head east on Hwy 16"

This also occurs in the HTML response and possibly the other formats.

cmhodgson commented 3 years ago

This is fixed by my commit here: https://github.com/bcgov/ols-router/commit/267219a602f66f53115df3f21b971c75ee752bef

mraross commented 2 years ago

Brentwood Bay to Sidney Island didn't have bogus directions

BK01 commented 2 years ago

The update appears to have been merged into the dev branch but not yet into the main branch.