[GraphHopper] Route through intermediate pointes

Peter graphhopper at gmx.de
Tue Jun 30 08:09:03 UTC 2015


Hi,

GHRequest takes multiple points via addPoint method, not just two.
Performancewise this is identical to concatenating the routes.

Kind Regards,
Peter

On 30.06.2015 09:55, Hazem Safetli wrote:
> Hi,
>
> I already implemented the same way you suggested but my concern was
> about a better way to get a better performance.
>
> Regards.
>
> Sent from my iPhone
>
> On 30 Jun 2015, at 06:08, Alexander Tkachov <gwalk17 at gmail.com
> <mailto:gwalk17 at gmail.com>> wrote:
>
>> Hi.
>> Just search route between A-x, x-y, y-z, z-B. Then connect results.
>> It's easy, no?
>> Regards,
>> Alexander
>>
>> On 30 Jun 2015 03:02, "Hazem Safetli" <safetli at me.com
>> <mailto:safetli at me.com>> wrote:
>>
>>     Hi,
>>
>>     Usually GHRequest gets the route between two points only ( A and
>>     B). Is there any easy  and fast way to get the route between A
>>     and B with only one GHRequest knowing that this route must pass
>>     through points x,y and z?
>>
>>     i.e.: A-->x-->y-->z-->B
>>
>>     Regards.
>>
>>
>>     _______________________________________________
>>     GraphHopper mailing list
>>     GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
>>     https://lists.openstreetmap.org/listinfo/graphhopper
>>
>> _______________________________________________
>> GraphHopper mailing list
>> GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
>> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150630/654f1e18/attachment.html>


More information about the GraphHopper mailing list