<div dir="ltr"><div><div><div>Hi Peter,<br><br></div>I downloaded the bayern.osm from <a href="http://geofabrik.de">geofabrik.de</a> and created the graph with the graphhopper framework as usual.<br></div>I cannot test, if isFound() returns true... but i will at thursday. Some of the valid nodes near the end of the map cannot be reached by the routing algorithm (using CH)<br>
<br></div>Regards,<br>Andreas<br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/14 Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.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 Andreas,<br>
<br>
it should work. Did both results of the location lookup are
different? Was the path found -> path.isFound?<br>
<br>
Did you use osmosis or the in build isInBounds method to cut the
area?<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Now i have a different problem:<br>
</div>
Is it possible that CH are not properly working in sub
maps like bavaria (made from bayern.osm)?<br>
</div>
I recognized strange phenomenons near the end of the map.<br>
</div>
findClosest() finds some node and when i route to this node, i
get a path with 0.0 length.<br>
</div>
<div>Is this a known problem or did i screw it up?<br>
</div>
<div><br>
</div>
<div>Thanks</div>
</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">2013/10/14 Andreas Fischer <span dir="ltr"><<a href="mailto:fischer.andreas.atf@googlemail.com" target="_blank">fischer.andreas.atf@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thank you... that did it.<br>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/10/14 Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.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 Andeas,<br>
<br>
you'll have to do it via EdgeExplorer:<br>
<br>
EdgeExplorer explorer =
graph.createEdgeExplorer(/*optionalEdgeFilter*/);<br>
<br>
// new variable 'iter' not necessary, just to
explain the concept<br>
EdgeIterator iter =
explorer.setBaseNode(nodeId);<br>
while(iter.next()) {<br>
...<br>
}<br>
<br>
Reuse edgeExplorer as often as you can (note:
not thread safe!) and just set the new base
node. With this change our none-CH algorithms
are approx. 8% faster. Usage -> see tests
or XFirstSearch<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Hi Peter,<br>
<br>
</div>
Where did the Graph.getEdges(int
nodeID) method go?<br>
</div>
How can i get all edges of a node in
the current version?<br>
</div>
<br>
</div>
Thanks,<br>
Andreas<br>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</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>