[GraphHopper] optimal route

Peter K peathal at yahoo.de
Fri Oct 25 06:59:24 UTC 2013


Hi,

if you use CH you can set this only up-front (when preparing the graph).
If not, you can do request.setType("fastest"|"shortest") ... what do you
mean with optimal?

Regards,
Peter.

> Hi!
> I use graphhopper on android and use it:
> GHRequest req = new GHRequest(fromLat, fromLon, toLat,
>                             toLon).setAlgorithm("dijkstrabi").putHint(
>                             "douglas.minprecision", 1);
> GHResponse resp = hopper.route(req);
>
> Can I choose which route to build? the shortest or the fastest or the
> optimal?
> -- 
> ??????? ??????
>
>
> _______________________________________________
> 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/20131025/c24b3974/attachment.html>


More information about the GraphHopper mailing list