you can use edge.getLanes() and lane.getLength() see https://sumo.dlr.de/daily/pydoc/sumolib.net.edge.html https://sumo.dlr.de/daily/pydoc/sumolib.net.lane.html
Am Mo., 15. Apr. 2019 um 09:03 Uhr schrieb Bijal <[email protected]>: > Dear Sir, > > How to get the Weight/Distance/Length of particular Edge/Lane? > > I want to do something like : > > > * for edge in graph.getEdges():* > //Get All the Lane of this *edge.getID()* > //Get the Length of All the above Lanes > //Set the length/Distance to the adjacency matrix > Please help me to understand how to get this? > > *:)* > Bijal Varia > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
