[GraphHopper] Route Options and Directions Mode

Emux devemux86 at gmail.com
Sun Dec 28 09:19:32 UTC 2014


It's important what type of graph you create / use.
With contraction hierarchies on or off and what vehicles you have put in it.

If graph is with contraction hierarchies then you cannot change those 
settings on demand.

If graph is without contraction hierarchies, then you can use:
GHRequest.setWeighting "fastest" or "shortest"
GHRequest.setVehicle(EncodingManager)

-- 
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/20141228/c5e2caa0/attachment.html>


More information about the GraphHopper mailing list