Hello, randomTrips.py can only generate vehicles at the moment. Feel free to add an option where it generates random stand-alone routes instead. (and send us a patch). regards, Jakob
On 10/03/2015 05:56 PM, Titus Rakkesh wrote: > Dear Friends, > I am trying to generate SUMO routes files like this, > > <?xml version="1.0" encoding="UTF-8"?> > > <routes> > <route id="s1" edges="gneE0 gneE5" arrivalPos="-1"/> > <route id="s2" edges="gneE0 gneE3" arrivalPos="-1"/> > </routes> > > > For this I have tried with randomTrips.py script like this, > > python randomTrips.py -n Colombo_Small.net.xml -e 50 -l -r routeXML.xml > > But it is creating a routes file like this, > > > <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> > <vehicle id="0" depart="0.00"> > <route edges="50537944#5 122559508 53729534#4 53729534#5 53729534#6 > 50001645 53729538#1 53729540#0 53729540#1 194101704#0 194101704#1 > 194101704#2 194101704#3 194101704#4 194101704#5 194101704#6 194101704#7 > 24745879#0 24745879#1 24745879#2 13859254#0 144905255 24773533#2 24773533#3 > 24773533#4 24773534 119971340#0 119971340#1 119971340#2 119971340#3 > 48847399#4 48847399#5 48847399#0 48847393 48847396 48847395#0 48847395#1 > 308344855 308344854#0 308344854#1 308344854#2 308344854#3 308344854#4 > -24877907#3 24877907#3"/> > </vehicle> > <vehicle id="1" depart="1.00"> > <route edges="50633747#1 129478575 129478574#0 129478574#1 > 129478574#2 50633768#0 -134641875#5 -134641875#4 -134641875#3 -50633774#2 > 259451372#4 259451372#5 259451372#6 259451372#7 259451372#8 259451372#9"/> > ----- > ----- > ------ > </routes> > > Is there any possibility of getting route file without vehicle information? > > Thanks, > Rakkesh > ------------------------------------------------------------------------------ > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
