<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 6/20/14, 6:57 AM, Bruno Carle wrote:<br>
</div>
<blockquote
cite="mid:CANsAejWVCwUphAw4c3U=gXCQ5nD9kAcW84sGX6x7LJaDkv1x9g@mail.gmail.com"
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 moz-do-not-send="true"
href="http://graphhopper.com">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>
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.<br>
<br>
Emden<br>
<br>
</body>
</html>