See the following relevant sumolib methods:
https://sumo.dlr.de/pydoc/sumolib.net.edge.html
:*sumolib.net.edge.getShape()*
https://sumo.dlr.de/pydoc/sumolib.net.node.html :
*sumolib.net.node.getShape()* , *sumolib.net.node.getCoord()*
**
TraCI is meant (mostly) for dynamic data. Network geometry can be
queried reading the network file with sumolib.net.NetReader
(https://sumo.dlr.de/pydoc/sumolib.net.html) and calling the methods
listed above.
Regards
Mirko
Am 10.07.2020 um 10:01 schrieb Proyash Podder:
Hello!
For my experiment, I want to get the (x,y) coordinate of an edge’s starting
point or ending point ( so basically the position of the nodes that creates the
edge) from a given edge id while using TraCI. Is there any python TraCI API or
any other way for doing that?
Thanks in advance.
Regards,
Proyash
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user