You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above API call OSRM indicates that 315 is the direction that the user is heading which is roughly North West and 24 is the allowable variance in bearing. For destination, the direction can be from anywhere.
However, the provided response from OSRM is constantly in the opposite direction of the current heading of the user. I've tried the tolerance bearing of various sizes but still only getting the directions in the opposite direction.
To eliminate the possibility that it could be due to the restrictions on the roads nearby, I've tried on multiple different roads as well as different destinations. Is above the correct way to specify the direction for the source?
This discussion was converted from issue #6789 on March 03, 2024 17:54.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
/route/v1/driving/-78.10131888342865,41.56893770131277%3B-78.511866,41.648554?alternatives=true&steps=true&overview=full&bearings=315,24;0,359
Above API call OSRM indicates that 315 is the direction that the user is heading which is roughly North West and 24 is the allowable variance in bearing. For destination, the direction can be from anywhere.
However, the provided response from OSRM is constantly in the opposite direction of the current heading of the user. I've tried the tolerance bearing of various sizes but still only getting the directions in the opposite direction.
To eliminate the possibility that it could be due to the restrictions on the roads nearby, I've tried on multiple different roads as well as different destinations. Is above the correct way to specify the direction for the source?
Beta Was this translation helpful? Give feedback.
All reactions