[GraphHopper] Geoposition of an edge
Peter K
peathal at yahoo.de
Thu May 1 13:26:58 UTC 2014
Hey Phil,
the route result Path will give you always the edgeIteratorState with
the correct direction. If the edgeState is for the same edge then still
all states (e.g. directions are different) will have the edgeId so you
can associate them correctly to the cells IMO.
Regards,
Peter.
> Am 01.05.2014 um 14:42 schrieb Peter K <peathal at yahoo.de>:
>
>> Why can't you use the correctly directed edgeIterStates which are
>> returned as routing result? (Path.calcEdges)
> My simulated cars can drive in both directions, but I have only one cell
> sampling for both directions, imho I get different edges for the direction.
>
> I'm thinking about if it is a better choice to create different samplings for both
> directions or can GraphHopper return for each direction different edge ids?
>
> My driving method get the edge, so I can add on the "getting" call the current
> direction, but imho an own edge should be better.
>
> Phil
>
>
More information about the GraphHopper
mailing list