<div dir="ltr">Hi I ran your sample and the route seems ok... last point is 32.67386972604703,-97.0261107628865<br>Here is the output that I get... <br>115 points<br>distance from source to start 89.8181ms<br>distance from end to target 38.4730ms<br>
<div class="gmail_extra"><br></div><div class="gmail_extra">Do you get the same output ? <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Bruno<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jun 20, 2014 at 3:27 PM, Emden R. Gansner <span dir="ltr"><<a href="mailto:erg@research.att.com" target="_blank">erg@research.att.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div class="">
<div>On 6/20/14, 6:57 AM, Bruno Carle wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Emden, I just tried your route locally with the texas
pbf file and I get same road as on <a href="http://graphhopper.com" target="_blank">graphhopper.com</a><br>
<br>
</div>
<div class="gmail_extra">Can you send the code you are using to
call GH?<br>
<br>
Here is the code I used to test it:<br>
</div>
<div class="gmail_extra"><br>
public void testMe() throws Exception{<br>
test("../../../maps/texas-latest.osm.pbf",<br>
new GHPlace(32.71201241907505,
-96.92441816057254),<br>
new GHPlace(32.67352373055029,
-97.02611101550494));<br>
<br>
<br>
}<br>
<br>
<br>
public void test(String osmFile,GHPlace from,GHPlace to)
throws Exception{<br>
GraphHopper graphHopper=new GraphHopper();<br>
graphHopper.setInMemory(true)<br>
.setGraphHopperLocation("/tmp/ghosm2-test")<br>
.setOSMFile(osmFile)<br>
// .disableCHShortcuts()<br>
.setEncodingManager(new
EncodingManager("car"));<br>
graphHopper.importOrLoad();<br>
GHRequest request=new GHRequest(from, to);<br>
GHResponse response= graphHopper.route(request);<br>
<br>
...<br>
</div>
<br>
</div>
</blockquote></div>
I have attached my code. It would be fine with me if I were told I
was using the API incorrectly. From the code you sent,<br>
it certainly appears I am working at a lower level than necessary.
Thanks for helping.<span class=""><font color="#888888"><br>
<br>
Emden<br>
<br>
</font></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" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div></div>