<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi,</p>
<p>I've built a graphhopper graph for Great Britain following the instructions and calling ./graphhopper.sh web europe_great-britain.osm from cygwin. The graph builds fine. However I'm finding when I try to create routes between 150 points in the UK then 2 of them - both mainland - don't route from. The rest route fine. Following the Graphopper code through for one of the points, I think its snapping to a node with no edges, which is why it won't route. I'm using the latest code.</p>
<p>When the graph was being built it output this information:<br />2014-08-14 16:36:30,849 [main] INFO routing.util.PrepareRoutingSubnetworks - optimize to remove subnetworks (49285), zero-degree-nodes (0), unvisited-dead-end-nodes(0), maxEdges/node (15)</p>
<p>Which I presume means it has removed any dodgy disconnected areas but didn't remove the zero-degree nodes I'm finding?</p>
<p>The following self-contained example tries to route but fails.</p>
<p>public static void noRouteExample(){<br /> // this is the problem position<br /> GHPoint a = new GHPoint(52.407995203838 ,-1.50572174886011);<br /> <br /> // the second position can be anywhere....<br /> GHPoint b = new GHPoint(52. ,-1.3); <br /> <br /> GraphHopper hopper = new GraphHopper().forDesktop();<br /> hopper.setInMemory(true);<br /> hopper.setGraphHopperLocation("C:\\Demo\\Graphhopper");<br /> hopper.importOrLoad();<br /> <br /> GHRequest req = new GHRequest(a,b);<br /> GHResponse rsp = hopper.route(req);<br /> <br /> System.out.println("Found = " + rsp.isFound());</p>
<p>}<br /> <br />I've uploaded the built graph to http://www.opendoorlogistics.com/wp-content/uploads/temp/europe_great-britain.zip</p>
<p>Any ideas where I'm going wrong? All help would be appreciated!</p>
<p>Many thanks</p>
<p>Phil</p>
<p> </p>
<div> </div>
</body></html>