[GraphHopper] Creating QueryResult from node?
Peter
graphhopper at gmx.de
Wed Aug 6 07:33:23 UTC 2014
Hey Jan,
for what purpose do you need a QueryResult of a tower node? Another query?
Then it would be indeed more efficient if you do
algo.calcPath(fromEdgeState.getAdjNode/getBaseNode,
toIter.EdgeState.getAdj/BaseNode)
Regards,
Peter.
On 01.08.2014 18:09, Jan Torben Heuer wrote:
> Hi,
>
> I have an EdgeIteratorState and want to have a new QueryResult at its end.
>
> I could do EdgeIteratorState#fetchWayGeometry(int), take the last coordinate and do a lookup in the locationIndex.
>
> Is there a more performant way, maybe based on #getAdjacentNode() ?
>
>
> Thanks,
>
> Jan
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
More information about the GraphHopper
mailing list