<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Joel,<br>
      <br>
      > I've gotten GPS-exact results working thanks to Philipp, and
      so far I'm seeing great results.<br>
      <br>
      The latest master has the same feature now.<br>
      <br>
      > Is there any way to add some sort of prioritization to always
      choose a shorter path over a closer snap to a path? <br>
      <br>
      If you don't use CH you could indeed implement something
      (none-bidirectional) where you only need to modify the finish
      condition which checks against a set of nodes instead of one. <br>
      <br>
      But I think what you could need is a proper map matching algorithm
      (or also called conflation). Map matching is a research area where
      where you take into account the position history, the speed, the
      vehicle, a possible previous calculated path, etc<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
      <br>
    </div>
    <blockquote
cite="mid:CAGRxjzSoF419FHmGURp+ggfRH0os0ORobJpiMEnqE1HkbK=J4A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi, 
        <div>I've gotten GPS-exact results working thanks to Philipp,
          and so far I'm seeing great results. Mostly everything works
          and the paths are looking great.</div>
        <div>I have however run into a slight issue. I suspect it's due
          to the way the routing and snapping is designed. I have
          several situations where I have two parallel paths a and b
          which eventually converge. My departure point is on path a but
          my destination path is closest to path b, but in a place where
          a and b are still parallel. The routing will choose a much
          longer path which routes me past my destination on path a and
          then switches back/double back on path b. 
        </div>
        <div>I've attached two screenshots which show an overview and a
          detail of my destination point, in which you can see two paths
          are parallel. </div>
        <div><br>
        </div>
        <div>Is there any way to add some sort of prioritization to
          always choose a shorter path over a closer snap to a path? </div>
        <div><br>
        </div>
        <div>Joel Haasnoot</div>
      </div>
      <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>