<div dir="ltr">Sorry i don't know what is contraction hierarchies? and i don't know how to check the graph type?<div><br></div><div>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</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 28, 2014 at 2:19 PM, Emux <span dir="ltr"><<a href="mailto:devemux86@gmail.com" target="_blank">devemux86@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>It's important what type of graph you
      create / use.<br>
      With contraction hierarchies on or off and what vehicles you have
      put in it.<br>
      <br>
      If graph is with contraction hierarchies then you cannot change
      those settings on demand.<br>
      <br>
      If graph is without contraction hierarchies, then you can use:<br>
      GHRequest.setWeighting "fastest" or "shortest"<br>
      GHRequest.setVehicle(EncodingManager)<span class="HOEnZb"><font color="#888888"><br>
      <br>
    </font></span></div><span class="HOEnZb"><font color="#888888">
    <div>-- <br>
      <font color="#000000">Emux</font><br>
      <a href="http://wiki.openstreetmap.org/wiki/Cruiser" target="_blank">Cruiser</a> -
      <a href="http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29" target="_blank">Atlas</a></div>
  </font></span></div>

<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>