<div dir="ltr">And also if i set the CH off then will this guarantee to work?<div><br><div><span style="font-size:13px">GHRequest.setWeighting "fastest" or "shortest"</span><br></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">And does we only have two options fastest and shortest?</span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">Also setting CH off also reduces the graph size! Right?</span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">Many Thanks</span></div><div><span style="font-size:13px">Muhammad Babar</span></div><div><span style="font-size:13px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 28, 2014 at 3:39 PM, Muhammad Babar <span dir="ltr"><<a href="mailto:rajababar.android@gmail.com" target="_blank">rajababar.android@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 dir="ltr"><span class=""><span style="font-size:13px">So eventually you need to build a graph with CH off and define which vehicles you desire.</span><div><span style="font-size:13px"><br></span></div></span><div><span style="font-size:13px">What are the possible drawbacks for setting CH off as i have read that </span><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.3999996185303px"> </span><b style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.3999996185303px">contraction hierarchies</b><span style="color:rgb(37,37,37);font-family:sans-serif;font-size:14px;line-height:22.3999996185303px"> is a technique to speed up </span><a href="http://en.wikipedia.org/wiki/Shortest-path_routing" title="Shortest-path routing" style="color:rgb(11,0,128);font-family:sans-serif;font-size:14px;line-height:22.3999996185303px;background-image:none;background-repeat:initial" target="_blank">shortest-path routing</a>?</div><div><br></div><div>Then in the code how can i change the route mode i.e car, foot, bike?</div><div><br></div><div>regards</div><span class="HOEnZb"><font color="#888888"><div>Muhammad Babar</div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Dec 28, 2014 at 3:17 PM, Emux <span dir="ltr"><<a href="mailto:devemux86@gmail.com" target="_blank">devemux86@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>The config properties file can be used
      to introduce parameters for the graph building process.<br>
      <br>
      In order for the user to be able to select between car or bike,
      then the graph must have support for these vehicles.<br>
      <br>
      And currently that can only be done with graphs that have CH
      disabled.<br>
      <br>
      So eventually you need to build a graph with CH off and define
      which vehicles you desire.<br>
      <br>
      Then at application level you can select the vehicle.<br>
      <br>
    </div><span>
    <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>
  </span></div>

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