Hello, maybe getNeighboringEdges(x, y, radius) from sumolib.net will help you. But it not just find the nearest exit edge, it will find every nearest edge.
Kind regards, Melanie Von: [email protected] [mailto:[email protected]] Im Auftrag von Padisala, Shanthan Kumar Gesendet: Montag, 20. Juli 2020 06:28 An: [email protected] Betreff: [sumo-user] sumolib: Can we find the nearest exit edge? Hello everyone, I am trying to reroute a vehicle network dynamically and I am planning to make a vehicle to exit the network after a certain waiting time - by rerouting it to the nearest exit edge. I came across sumolib library that looks to have promising functions to help me out to solve my problem. I would like to know if there is any way to find the nearest exit edge, given x and y coordinates of that vehicle. Thank you, PSK
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
