[GraphHopper] Waypoints and Deviation detection

Peter K peathal at yahoo.de
Thu Mar 6 09:31:17 UTC 2014


Regarding 2)
Yes, GraphHopper already needs to handle this for the instructions, not
sure what your requirements are. See Path.calcInstructions but there is
room for improvement e.g.
https://github.com/graphhopper/graphhopper/issues/94

Regards,
Peter.

> I'm also very interested to point A and B, so I hope someone can answer :)
>
> Diego Guidi
>
>
> On Thu, Mar 6, 2014 at 8:19 AM, ratrun <ratrun at gmx.at> wrote:
>> Regarding issue 1) "Via": This is already available in a branch and a pull
>> request is waiting: see
>>
>> github.com/graphhopper/graphhopper/pull/147
>>
>> regards,
>>
>> ratrun
>>
>>
>> Am 06.03.2014 05:10, schrieb David Ssali:
>>
>>> Greetings...
>>> I have been scratching my head on two issues
>>> 1) How to get a route via a certain point. Say i need to move from point A
>>> to C via B.I know the obvious  thing is to get the route from A to B then B
>>> to C but i wonder if there's a direct way to do this using Graphhopper.
>>>
>>> 2) How to detect a deviation.
>>> I came up with an algorithm where if the Heading or bearing is different
>>> from the heading to the next point on the route, then i assume there's a
>>> deviation...of course putting in a degree of error. But the challenge is
>>> that sometimes there may be a sharp corner which causes the car to point in
>>> the "wrong" heading yet it is actually still on the correct path.
>>> Is this something that Graphhopper has already dealt with? If not, could
>>> someone help me with a better algorithm to handle it?
>>>
>>> Regards,
>>>
>>




More information about the GraphHopper mailing list