Hello, you can retrieve static information about an the network via sumolib: https://sumo.dlr.de/docs/Tools/Sumolib.html Relevant calls: - edge.getRawShape (shape attribute of the edge) l- ane.getShape (lane shapes derived from the former)
The spreadType value currently isn't stored within the edge objects but adding them in https://github.com/eclipse/sumo/blob/f3bf072cbdc794e3c91d7d0eee790482bd219a60/tools/sumolib/net/__init__.py#L644-L673 should be trivial (pull requests welcome). regards, Jakob Am Mo., 2. Mai 2022 um 13:43 Uhr schrieb Alexander Brummer < [email protected]>: > Hi, > > I use SUMO in combination with Veins. > For a new model, I need to retrieve the edges' shapes (and spread type) > from Veins (as for example shown in netedit). > > Unfortunately, the two parameters do not seem to be available via TraCI. > In fact, they seem to be only present in netedit etc., but not while > simulating (I understand that they are probably irrelevant for the > simulation itself). > > Could you maybe give me a hint about what would be the best way to get > these values? I have no problem with extending the code, but it seems > like I would have to make (profound) changes at many places. Therefore, > I wanted to make sure that I don't overlook an easier solution. > > Best regards, > Alex > > -- > Alexander Brummer, M.Sc. > > Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU) > Computer Science 7 - Computer Networks and Communication Systems > > Mail: [email protected] | Web: http://cs7.tf.fau.eu/person/brummer > > _______________________________________________ > 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
