[GraphHopper] Bearing at routing
Emux
devemux86 at gmail.com
Mon Nov 3 19:07:17 UTC 2014
More specifically I'm describing a feature I see at MapQuest web service.
http://open.mapquestapi.com/guidance/#advancedoptions
*direction*
"Provides an initial compass direction of travel to favor when
generating the route.
If the |direction < 0|, then no direction is favored.
If the |direction >= 0|, then the calculated route will attempt to
follow the given direction at the beginning of the route.
This is useful for real-time GPS guided applications in which the user
is already traveling in a certain direction and would like to ensure
that the returned route starts heading in a similar direction."
On 3/11/2014 19:46, Emux wrote:
> Hi Peter,
>
> I would like to ask if it's possible to include the vehicle bearing
> (as taken from gps) at the routing calculations?
>
> Let me give an example of the problem which is important for mobile
> routing.
> Let's assume that we are with a car in a 2-way road facing right and
> we want to perform routing with 'start' our position and 'end' a point
> far behind (left) on the road.
> Now GH (as it is a 2-way road) indicates a straight path connecting
> the 2 points, i.e. in reality to turn around.
>
> That may be possible with bike or foot, but we're using a car, we
> cannot simply turn around.
> The logical path would seem to move forward till the next turn in
> order to be able to go back at your destination.
>
> So is it somehow possible to use also the car bearing at our calculations?
>
> --
> Emux
> Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
> <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
--
Emux
Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
<http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141103/b2e92d33/attachment.html>
More information about the GraphHopper
mailing list