Sorry i don't know what is contraction hierarchies? and i don't know how to
check the graph type?

I only want to give user option to which type of route he wants! i have
downloaded the osm file from geo-fabrik and created graph as mentioned in
the tutorial

On Sun, Dec 28, 2014 at 2:19 PM, Emux <[email protected]> wrote:

>  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>
>
> _______________________________________________
> GraphHopper mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to