Hi Yun, traci.edge.getIDList() returns a list of the edge ids. The list also includes internal edges (edges within junctions), which you can easily filter out since they start with “:”.
Regards, Giuliana From: [email protected] [mailto:[email protected]] On Behalf Of ??? Sent: Montag, 14. September 2020 06:42 To: Sumo project User discussions Subject: [sumo-user] Get all edges ID Hi, I want to ask how to get all the edge ids at the beginning of the simulation. Traci's getIDList() will contain other objects, or I can only write a program to grab the net.xml file Many thanks, Yun
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
