Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] sumolib: Can we find the nearest exit edge?
  • From: <Melanie.Weber@xxxxxx>
  • Date: Mon, 20 Jul 2020 06:10:36 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:nyeZ5x9a9HE2r/9uRHKM819IXTAuvvDOBiVQ1KB31ewcTK2v8tzYMVDF4r011RmVBNudt6gP0rKP+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhJiTanbr5+Mhq6oRjNusULnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gykFKjE56nnahMxugqxGvBKvqR9xw4DWb4GUKPVxcbjQcskGSWpDRMtdSzBNDp26YoASD+QBJ+FYr4zlqlYJqhWxGw2sC/npyj9JmHD6x6013Po6Hg7YxgwtBM8BsHDOrNnvKagdT/m4wa/VxjrMc/1Ywy3y6JTUch8/u/GMW6p9fM7ex0QgFA7IkFqdpZLlMj2a1uoAs2aV4uVgW++rimMqrwN8rDauy8osi4TFmoAYx1HK+Chnzos4J8O0RUpmbdOiDZBeuSaaN45sTcMjRWFloD06yqADuZ68eCgKyY8oywTZa/OZb4iF5A/oWuWJITpgmX5pZKiziwux/EWv0OHwS8e53VVQoiZbnNTArm0B2wDJ5sSaSfZw8V2t1SuB2g3Q8O1IP0A5mKXdJpU82LA/jIATvl7GHiLunUX2i7KZeVs89+iz7uTnfq3mppiBN49okg3+Mrohmsi4AekgPAYAWWaV9+u82rPj+kP3Q7JEgOconqTXv57VJNoWqrS4Aw9TzoYj8QywAy2739Qch3kLNk9Kdwyfg4joPVHBPuz4AO+ij1iwijtn2vPLM7L7DpnQIHXOk63tcahz5kJEzQo819Ff55ZaCrEbJ/LzX1f8utvGAR89KQO0xefnB8tn2oweR22AGbGWMLnJvFCV4uIvOfOAa5ILtzrlMfgq++bujWMlmV8aZaSpxoYXaHW/Hvh/PkWZemTjgs0aHGgUogU+SO3qiEWZUTFNfXqyWLg85j5oQL6hWNPYW4WqxaGa0T2TE5ZSZ3hdBxaLC3i+JKueXPJZPAefJsZnkzFCarWrRpUJ2RW08gP3nek0ZtHI8zEV4MqwnON+4PfewEk/
  • Ironport-sdr: tSznI+ZJ+e1pldInidFWR7LWJaGY1qwO1jhgnIxhSUV8Pv8VG4xCona9w5LFUzKoqt6ayXxOHl /8FG7Vatz9PQ==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWXk0f7bjHOeaU9UaY1riaS6d1AakP+5ww
  • Thread-topic: sumolib: Can we find the nearest exit edge?

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: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] Im Auftrag von Padisala, Shanthan Kumar
Gesendet: Montag, 20. Juli 2020 06:28
An: sumo-user@xxxxxxxxxxx
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


Back to the top