<div dir="ltr"><div><br></div><div>export the graph with </div><div>            prepare.chShortcuts=no</div><div><br><div>In the code try this</div><div><br></div><div><div>            protected Path saveDoInBackground( Void... v ) throws Exception</div>
<div>            {</div><div>                GraphHopper tmpHopp = new GraphHopper().forMobile();</div><div>                tmpHopp.disableCHShortcuts();</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jan 8, 2014 at 9:35 PM, mythex3cutioner . <span dir="ltr"><<a href="mailto:mizantropy@gmail.com" target="_blank">mizantropy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>hey, </div><div><br></div>I'm editing your example for Android and I want to use simple A* and Dijkstra. <div><br></div><div>Code is almost untouched compared to your Android example, so that should not be hard to understand: <br>

<div><br></div><div>if I disable CH (GraphHopper tmpHopp = new GraphHopper().forMobile().disableCHShortcuts();), then it gives me that error from GraphhopperStorage.java : "Cannot load the graph - it wasn't create via ..."</div>

<div><br></div><div>I'm trying to load "australia-oceania-latest-gh" folder with all edges, nodes & etc in it. there's also a .map file. </div><div><br></div><div>Should I load the routing data somehow else if I don't want to use contraction hierarchies?</div>

<div><br></div><div><br></div><div><br></div></div></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" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><br></div></div></div>