For simple shapes like lines or arrows, I draw some polygon shapes using the functions described here: http://www.sumo.dlr.de/pydoc/traci._polygon.html . But it sounds like a good idea to make labels accessible from outside for the future...
Regards
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] Advice on visualizing additional information
Datum: 2018-12-21T11:30:50+0100
Von: "Joel Greenyer" <greenyer@xxxxxxxxxxxxxxxxxxx>
An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
Hi SUMO users,
(not sure if this is a users or dev question, trying here first...)
We extended SUMO to run some behavior on top of the traffic simulation in SUMO. (JVM application communicating with SUMO via Traas/TraCI) Now we would like to visualize additional information, and need some advice on how to do this.
Ideally, we would like to show additional information in the SUMO GUI -- what we would need is essentially only showing additional labels on objects, or popping up arrows on or between vehicles. Unfortunately, the GUI and TraCI interface does not allow this. What we would need, minimally, would be to show a label at a certain position for a certain duration, and showing an arrow from one position to another for a certain duration.
Would you recommend that we extend the SUMO GUI for this? This would entail extending Traas/TraCI as well...
Or would you recommend building a separate GUI?
Thanks,
Joel
_______________________________________________