Hello,

I will try to explain it in a more clear way, I have a vehicule going for
example from points/nodes A to F passing by B,C,D & E.

What i want to achieve is to determine:

   1. Which node from B,C,D & E is the closest (Driving distance not Air
   distance) to a target node Z ?
   2. For this closest node, what is the route corresponding to the minimal
   driving distance computed between it and Z ?

For the first question, the best solution is to retrieve nodes that compose
the current route of a vehicule than calculate the driving distance between
each node and the target node.

For the second question, *i don't now how to achieve it. this is what i am
looking for.*

Thank you for your time,

Best regards,
Arslane


*Arslane*, un mec sympa et drole qui vous veut du bien !

Citation favorite : " Qui aime bien chatîe bien"


2016-05-11 10:46 GMT+02:00 Jakob Erdmann <[email protected]>:

> Your question remains unclear to me. Are you asking for
>  1) a completely new route that approaches this point or
>  2) for an earlier end of the given route close to that point?
>
> 2016-05-11 10:20 GMT+02:00 Arslane Hamza Cherif <[email protected]>:
>
>> Hello,
>>
>> I asked before about "How to calculate the closest point between a
>> vehicule
>> route and a fixed point in SUMO & TraCI"
>> <https://sourceforge.net/p/sumo/mailman/message/34977131/>, the best bet
>> seems to be to first define nodes who compose the current route, than in a
>> second step calculate the distance between each route node and the target
>> node with the use of TraCI Command *Distance Request *
>>
>> Now, What i am looking for is to retrieve the best route that correspond
>> to
>> the computed
>> *Distance Request, how can i do it ?*
>> Many thanks,
>>
>> Best regards,
>> Arslan
>>
>> ------------------------------------------------------------------------------
>> Mobile security can be enabling, not merely restricting. Employees who
>> bring their own devices (BYOD) to work are irked by the imposition of MDM
>> restrictions. Mobile Device Manager Plus allows you to control only the
>> apps on BYO-devices by containerizing them, leaving personal data
>> untouched!
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to