[GraphHopper] Get direction of edges
Robert Schmid
robert.schmid at fh-kempten.de
Tue Jul 23 07:35:40 UTC 2013
Hello,
I am searching for a way to get the direction of an edge when iterating
it. I added some height information and a routing WeightCalc which is
able to find the most energy efficient route. The problem is that I can
not determine whether I access the edge up- or downhill. I found a
solution to get the right directions when I already calculated the path.
Because then i can check if the current edge is connected to the next
edge via base or adjacent node. But how can I find the right directions
while routing?
PS. it would be nice to have the EdgeIterator cloneable!
Thanks in advance,
Robert
More information about the GraphHopper
mailing list