[GraphHopper] Route Options and Directions Mode

Muhammad Babar rajababar.android at gmail.com
Sun Dec 28 10:44:01 UTC 2014


And also if i set the CH off then will this guarantee to work?

GHRequest.setWeighting "fastest" or "shortest"

And does we only have two options fastest and shortest?

Also setting CH off also reduces the graph size! Right?

Many Thanks
Muhammad Babar


On Sun, Dec 28, 2014 at 3:39 PM, Muhammad Babar <rajababar.android at gmail.com
> wrote:

> So eventually you need to build a graph with CH off and define which
> vehicles you desire.
>
> What are the possible drawbacks for setting CH off as i have read that  *contraction
> hierarchies* is a technique to speed up shortest-path routing
> <http://en.wikipedia.org/wiki/Shortest-path_routing>?
>
> Then in the code how can i change the route mode i.e car, foot, bike?
>
> regards
> Muhammad Babar
>
> On Sun, Dec 28, 2014 at 3:17 PM, Emux <devemux86 at gmail.com> wrote:
>
>>  The config properties file can be used to introduce parameters for the
>> graph building process.
>>
>> In order for the user to be able to select between car or bike, then the
>> graph must have support for these vehicles.
>>
>> And currently that can only be done with graphs that have CH disabled.
>>
>> So eventually you need to build a graph with CH off and define which
>> vehicles you desire.
>>
>> Then at application level you can select the vehicle.
>>
>>  --
>> Emux
>> Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
>> <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
>>
>> _______________________________________________
>> 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/20141228/b308f84b/attachment.html>


More information about the GraphHopper mailing list