<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Geoffrey,<br>
      <br>
      Yes, sure. If you use CH do before the import:<br>
      hopper.setCHShortest("shortest")<br>
      // on master this is called setCHWeighting<br>
      <br>
      if you use GH without CH you can change this per request<br>
      ghRequest.setWeighting("shortest")<br>
      <br>
      What you are after are probably more 'alternative routes', this is
      not yet included but will at some point (and in some dev branch if
      you need more details)<br>
      <br>
      Kind Regards,<br>
      Peter.<br>
      <br>
      <br>
      On 29.09.2014 11:22, Geoffrey De Smet wrote:<br>
    </div>
    <blockquote cite="mid:m0b8bv$9u2$1@ger.gmane.org" type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      Is it possible to ask GraphHopper to find the absolute shortest
      path between 2 locations?<br>
      <br>
      Let's say we want to travel from Paris to Rome.<br>
      The sensible road takes highways that go through Lyon, Nice and
      Milan.<br>
      But the shortest road takes the dirt roads that cross the Alpes.<br>
      Can I ask GraphHopper for that route?<br>
      <br>
      Wkr,<br>
      Geoffrey<br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>