<div dir="ltr">Hi,<div><br></div><div>I tried on master and I still got the same illegal state exception, so apparently <span style="font-size:12.8000001907349px">ZhiQiang fix doesn't solve the problem (is it a ferry link only issue?).</span></div><div><span style="font-size:12.8000001907349px">Any idea?</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Thanks,</span></div><div><span style="font-size:12.8000001907349px">Martin</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-10 10:50 GMT+02:00 Peter <span dir="ltr"><<a href="mailto:graphhopper@gmx.de" target="_blank">graphhopper@gmx.de</a>></span>:<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>Hi Martin, Hi ZhiQiang,<br>
<br>
this could be related to the bug ZhiQiang mentioned but this was
already fixed:<br>
<a href="https://github.com/graphhopper/graphhopper/issues/367" target="_blank">https://github.com/graphhopper/graphhopper/issues/367</a><br>
<br>
This can only occur for shortest path routing:<br>
<a href="https://github.com/graphhopper/graphhopper/issues/242" target="_blank">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<span class=""><br>
<br>
On 09.07.2015 19:46, John Zhao wrote:<br>
</span></div><span class="">
<blockquote 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><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 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 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>
</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" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>