[GraphHopper] optimal route

Дмитрий Пучков d-puchkov at mail.ru
Fri Oct 25 06:28:13 UTC 2013


 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 ?
-- 
Дмитрий Пучков
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20131025/a18778c8/attachment.html>


More information about the GraphHopper mailing list