[GraphHopper] How to create travel mode by foot

Emux devemux86 at gmail.com
Thu Sep 4 10:44:07 UTC 2014


To make a route request for 'foot' try:
GHRequest.setVehicle(EncodingManager.FOOT)

You need also to use the a graph that supports the travel mode.
GraphHopper by default creates graphs with contraction hierarchies 
enabled and 'car' travel mode.

-- 
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/20140904/99068ea1/attachment.html>


More information about the GraphHopper mailing list