<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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
cite="mid:CAL83n0-X6ND2cgWDWK5fAbHwWE_=mDSs7f9gdRHxJchGUD2nSw@mail.gmail.com"
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 moz-do-not-send="true"
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 class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/10/14 Peter K <span
dir="ltr"><<a moz-do-not-send="true"
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>
</body>
</html>