[GraphHopper] Creating QueryResult from node?

Jan Torben Heuer jan at komoot.de
Wed Aug 6 07:53:03 UTC 2014


Am 06.08.2014 um 09:33 schrieb Peter <graphhopper at gmx.de>:

> Hey Jan,
> 
> for what purpose do you need a QueryResult of a tower node? Another query?

Yes.

> 
> Then it would be indeed more efficient if you do
> algo.calcPath(fromEdgeState.getAdjNode/getBaseNode,
> toIter.EdgeState.getAdj/BaseNode)

Can I also create a QueryNode from it? It would better fit to my existing method signatures where I use QueryResult for all via locations.

Jan


More information about the GraphHopper mailing list