[GraphHopper] Geoposition of an edge

Peter K peathal at yahoo.de
Thu May 1 13:28:48 UTC 2014


ups, ... will have the *same edgeId* so you ..

> 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
>>
>>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>


-- 
GraphHopper.com - Fast & Flexible Road Routing

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140501/536f00a3/attachment.html>


More information about the GraphHopper mailing list