<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 Martin, Hi ZhiQiang,<br>
      <br>
      this could be related to the bug ZhiQiang mentioned but this was
      already fixed:<br>
      <a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/issues/367">https://github.com/graphhopper/graphhopper/issues/367</a><br>
      <br>
      This can only occur for shortest path routing:<br>
      <a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/issues/242">https://github.com/graphhopper/graphhopper/issues/242</a><br>
      <br>
      Martin, do you use master or a 0.4 branch?<br>
      <br>
      Regards,<br>
      Peter<br>
      <br>
      On 09.07.2015 19:46, John Zhao wrote:<br>
    </div>
    <blockquote
cite="mid:CA+EBg9SH85U0+972YsWUbGNcJ8CMx+x8Ad1y-L3via7shDJ9oQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Martin,
        <div><br>
        </div>
        <div>I have face the same problem.</div>
        <div>At last I found it caused by maxspeed=3 in the osm data.</div>
        <div>carFlagEncoder use 5 as factor of speed encoding.</div>
        <div>every number below 5 will be convert to 0.</div>
        <div><br>
        </div>
        <div>Then you will have some edges in the graph with speed=0. </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature"><b>Best Regards,</b>
            <div><b>ZhiQiang ZHAO</b></div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Thu, Jul 9, 2015 at 5:20 AM, Martin
          Sauvage <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:martin.sauvage@gmail.com" target="_blank">martin.sauvage@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">
              <div>Hello,</div>
              <div><br>
              </div>
              <div>I'm facing an issue when routing with shortest path
                between these 2 GPS points:</div>
              <div>
                <div>47.194150,-1.676384</div>
                <div>47.197470,-1.671832</div>
              </div>
              <div><br>
              </div>
              <div>Caused by: java.lang.IllegalStateException: Speed
                cannot be 0 for unblocked edge, use access properties to
                mark edge blocked! Should only occur for shortest path
                calculation. See #242.</div>
              <div><br>
              </div>
              <div>I suspect the shortest route tries to take the ferry
                (Bac Indret) with no defined speed while the fastest
                route provides:</div>
              <div><a moz-do-not-send="true"
href="https://graphhopper.com/maps/?point=47.19415%2C-1.676384&point=47.19747%2C-1.671832&locale=fr-FR&layer=Lyrk"
                  target="_blank">https://graphhopper.com/maps/?point=47.19415%2C-1.676384&point=47.19747%2C-1.671832&locale=fr-FR&layer=Lyrk</a><br>
              </div>
              <div><br>
              </div>
              <div>Is it a GH bug or an OSM data issue? Is there any way
                to fix this crash (do not take ferry with shortest
                route) ?</div>
              <div><br>
              </div>
              <div>Thanks,</div>
              <div>Martin</div>
              <br>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>