Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] automatic naming for groups of edges in netgenerate

Yes. you can merge networks with option --sumo-net-file net1.net.xml,net2.net.xml. Just make sure that you create the networks with the appropriate offsets by setting netgenerate options --offset.x and --offset.y.

Am Do., 25. Mai 2023 um 13:08 Uhr schrieb ISIK ILBER SIRMATEL <iilbersirmatel@xxxxxxxxxxxxx>:
thanks a lot. I guess I can combine this with netconvert to solve my problem with 2 groups of prefixes (combining 2 networks).


Kimden: "Jakob Erdmann" <namdre.sumo@xxxxxxxxx>
Kime: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
Gönderilenler: 25 Mayıs Perşembe 2023 13:45:40
Konu: Re: [sumo-user] automatic naming for groups of edges in netgenerate

you can use option --prefix to prefix all ids with the given string (custom suffixes are not supported though).

Am Mi., 24. Mai 2023 um 23:12 Uhr schrieb ISIK ILBER SIRMATEL <iilbersirmatel@xxxxxxxxxxxxx>:
Hi all,

I am using SUMO for academic research (traffic flow modeling and control).

Using "netgenerate" command (or something similar), I want to be able generate a network that consists of two distinct subnetworks (imagine they are connected in the middle with horizontal edges) like this:
where the objects belonging to region 1 all have a (automatically assigned) region-specific ID ending with "R1" for example, and same for region 2 with "R2".

Is it possible to do this in SUMO? Thanks a lot in advance.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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