[
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.
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).
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@xxxxxxxxxxxTo 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