Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] desire lines

Dear friend, your solution was great, thank you very much, just one question, instead of using tazrel in the netedit code, would it be possible to use The O-format (VISUM/VISSIM)

Em qua., 24 de set. de 2025 às 10:12, Jakob Erdmann <namdre.sumo@xxxxxxxxx> escreveu:
You can draw desire lines in netedit by converting your OD matrix to tazRelation format (https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html#tazrelation_format)

For a quick demo:
netgenerate --rand --rand.grid
tools/randomTrips.py -n net.net.xml -e 2:0:0 -r routes.rou.xml
tools/district/gridDistricts.py -n net.net.xml -o taz.xml -w 400
tools/route/route2OD.py -a taz.xml -r routes.rou.xml -o tazrel.xml
netedit -s net.net.xml -a taz.xml -d tazrel.xml

In netedit:
- use data mode (F4)
- configure data coloring by attribute 'count' (F9)
- click on a TAZ to have lines on only for that one
Screenshot from 2025-09-24 15-06-28.png
regards,
Jakob


Am Mi., 24. Sept. 2025 um 13:47 Uhr schrieb Morgi Diva via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello Sumo friends,

My name is Morgana Roosevelt and I need help with a project. I simulated a road network here in the region using the Origin-Destination matrix and needed to obtain the desired lines.

Can anyone help me?
Does Sumo have this emulation function?

If so, where can I find it?

Thank you very much in advance.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top