---------- Forwarded message ----------
From: Vachan B R <[email protected]>
Date: Wed, Mar 12, 2014 at 12:06 PM
Subject: Re: [sumo-user] (no subject)
To: Daniel Krajzewicz <[email protected]>
After i ran sumo config file as u said sir, an error is shown like:
Error: Another route for vehicle '0' exists.
Quitting (on error).
I have attached the route file. please suggest me a way to debug the error.
On Tue, Mar 11, 2014 at 10:53 PM, Daniel Krajzewicz
<[email protected]>wrote:
> <c>
> <net value="YOUR_NETWORK_FILE/>
> <r value="YOUR_ROUTES_FILE"/>
> </c>
>
> You may also give the options as you did to SUMO and additionally the
> option --save-configuration FILE. An option that may be loaded by
> SUMO-GUI is then generated in FILE.
>
> Sincerely,
> Daniel
>
>
>
> 2014-03-11 13:23 GMT+01:00 Vachan B R <[email protected]>:
> > I generated .net,xml using netconvert from openstreetmap.
> > then trips.xml file from randomtrips.py file
> > then routes.xml file using duarouter
> > then a config file with network and route file as input
> > then speeds.xml file using --netstate-dump command in command window like
> > sumo -c test.cfg --netstate-dump speeds.xml
> > then generated nodes and edges using netextract.py
> >
> > now i have to create .sumocfg file and run in sumo-gui. I need to see
> > vehicles moving in it. How to do it.?Please tell.
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > _______________________________________________
> > sumo-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/sumo-user
>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 03/11/14 11:22:52 by SUMO duarouter Version 0.19.0
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/duarouterConfiguration.xsd">
<input>
<net-file value="raj3.net.xml"/>
<trip-files value="trips.trips.xml"/>
</input>
<output>
<output-file value="result1.rou.xml"/>
</output>
</configuration>
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/routes_file.xsd">
<vehicle id="0" depart="0.00">
<routeDistribution last="0">
<route cost="22.73" probability="1.00000000" edges="-138696933#2 138696883#2 138696883#3 138696883#4 138696953#1 138696871#2"/>
</routeDistribution>
</vehicle>
<vehicle id="1" depart="1.00">
<routeDistribution last="0">
<route cost="11.30" probability="1.00000000" edges="138696861#2 -138696861#2 -138696861#1 138696883#4 138696883#5 -138696883#5"/>
</routeDistribution>
</vehicle>
<vehicle id="2" depart="2.00">
<routeDistribution last="0">
<route cost="5.89" probability="1.00000000" edges="-138696871#2 -138696953#1"/>
</routeDistribution>
</vehicle>
<vehicle id="3" depart="3.00">
<routeDistribution last="0">
<route cost="10.09" probability="1.00000000" edges="-138696883#4 138696883#4 138696883#5 138696870#1 -138696870#1"/>
</routeDistribution>
</vehicle>
<vehicle id="4" depart="4.00">
<routeDistribution last="0">
<route cost="46.89" probability="1.00000000" edges="138696870#0 -138696883#5 -138696883#4 -138696883#3 138696973"/>
</routeDistribution>
</vehicle>
<vehicle id="5" depart="5.00">
<routeDistribution last="0">
<route cost="44.24" probability="1.00000000" edges="-138696861#0 138696861#0 138696883#4 -138696883#4"/>
</routeDistribution>
</vehicle>
<vehicle id="6" depart="6.00">
<routeDistribution last="0">
<route cost="7.49" probability="1.00000000" edges="138696870#1 -138696870#1 -138696883#5 -138696883#4"/>
</routeDistribution>
</vehicle>
<vehicle id="7" depart="7.00">
<routeDistribution last="0">
<route cost="10.61" probability="1.00000000" edges="-138696883#4 138696883#4 138696953#1 138696953#2 -138696953#2"/>
</routeDistribution>
</vehicle>
<vehicle id="8" depart="8.00">
<routeDistribution last="0">
<route cost="24.71" probability="1.00000000" edges="138696933#1 138696883#2 138696883#3 138696883#4 138696953#1 138696953#2"/>
</routeDistribution>
</vehicle>
<vehicle id="9" depart="9.00">
<routeDistribution last="0">
<route cost="48.91" probability="1.00000000" edges="-138696971#0 138696971#0 138696883#1 138696883#2 138696883#3 138696861#1 138696861#2 138696861#3"/>
</routeDistribution>
</vehicle>
<vehicle id="10" depart="10.00">
<routeDistribution last="0">
<route cost="25.58" probability="1.00000000" edges="138696933#1 138696883#2 138696883#3 138696883#4 -138696953#0"/>
</routeDistribution>
</vehicle>
<vehicle id="11" depart="11.00">
<routeDistribution last="0">
<route cost="11.80" probability="1.00000000" edges="138696883#2 138696883#3 138696883#4 138696953#1 138696953#2 -138696953#2"/>
</routeDistribution>
</vehicle>
<vehicle id="12" depart="12.00">
<routeDistribution last="0">
<route cost="46.46" probability="1.00000000" edges="-138696883#6 -138696883#5 -138696883#4 -138696883#3 138696973"/>
</routeDistribution>
</vehicle>
<vehicle id="13" depart="13.00">
<routeDistribution last="0">
<route cost="51.42" probability="1.00000000" edges="138696953#3 -138696953#3 -138696953#2 -138696953#1 -138696883#4 -138696883#3 -138696883#2 138696933#2"/>
</routeDistribution>
</vehicle>
<vehicle id="14" depart="14.00">
<routeDistribution last="0">
<route cost="35.94" probability="1.00000000" edges="-138696971#0 138696971#0 138696883#1 138696933#2"/>
</routeDistribution>
</vehicle>
<vehicle id="15" depart="15.00">
<routeDistribution last="0">
<route cost="33.68" probability="1.00000000" edges="138696883#3 138696883#4 138696883#5 138696870#1 138696870#2 138696870#3 -138696870#3"/>
</routeDistribution>
</vehicle>
<vehicle id="16" depart="16.00">
<routeDistribution last="0">
<route cost="33.14" probability="1.00000000" edges="138696883#5 -138696883#5 -138696883#4 -138696883#3 -138696883#2 -138696883#1 -138696971#0 -138696933#0"/>
</routeDistribution>
</vehicle>
<vehicle id="17" depart="17.00">
<routeDistribution last="0">
<route cost="10.56" probability="1.00000000" edges="138696861#1 -138696861#1 138696883#4 -138696953#0"/>
</routeDistribution>
</vehicle>
<vehicle id="18" depart="18.00">
<routeDistribution last="0">
<route cost="68.25" probability="1.00000000" edges="-138696871#0 138696871#0 138696871#1 138696953#2 138696884#2 138696861#3"/>
</routeDistribution>
</vehicle>
<vehicle id="19" depart="19.00">
<routeDistribution last="0">
<route cost="1.71" probability="1.00000000" edges="138696883#1"/>
</routeDistribution>
</vehicle>
<vehicle id="20" depart="20.00">
<routeDistribution last="0">
<route cost="46.11" probability="1.00000000" edges="138696883#6 -138696883#6 -138696883#5 138696953#1 138696953#2 -138696884#1"/>
</routeDistribution>
</vehicle>
<vehicle id="21" depart="21.00">
<routeDistribution last="0">
<route cost="62.25" probability="1.00000000" edges="138696861#3 -138696861#3 -138696884#2 -138696953#2 -138696871#1 -138696871#0"/>
</routeDistribution>
</vehicle>
<vehicle id="22" depart="22.00">
<routeDistribution last="0">
<route cost="8.10" probability="1.00000000" edges="138696883#1 138696883#2 138696883#3 138696883#4"/>
</routeDistribution>
</vehicle>
<vehicle id="23" depart="23.00">
<routeDistribution last="0">
<route cost="46.89" probability="1.00000000" edges="138696870#0 -138696883#5 -138696883#4 -138696883#3 138696973"/>
</routeDistribution>
</vehicle>
<vehicle id="24" depart="24.00">
<routeDistribution last="0">
<route cost="12.57" probability="1.00000000" edges="138696884#1 -138696953#2 -138696953#1 -138696883#4 -138696883#3 -138696883#2"/>
</routeDistribution>
</vehicle>
<vehicle id="25" depart="25.00">
<routeDistribution last="0">
<route cost="25.40" probability="1.00000000" edges="138696883#5 -138696883#5 -138696883#4 138696861#1 138696861#2 138696861#3"/>
</routeDistribution>
</vehicle>
<vehicle id="26" depart="26.00">
<routeDistribution last="0">
<route cost="68.40" probability="1.00000000" edges="138696933#0 138696971#0 138696971#1 -138696971#1"/>
</routeDistribution>
</vehicle>
<vehicle id="27" depart="27.00">
<routeDistribution last="0">
<route cost="38.33" probability="1.00000000" edges="138696883#6 -138696883#6"/>
</routeDistribution>
</vehicle>
<vehicle id="28" depart="28.00">
<routeDistribution last="0">
<route cost="25.46" probability="1.00000000" edges="-138696870#1 -138696883#5 -138696883#4 138696861#1 138696861#2 138696861#3"/>
</routeDistribution>
</vehicle>
<vehicle id="29" depart="29.00">
<routeDistribution last="0">
<route cost="27.61" probability="1.00000000" edges="-138696884#1 -138696870#2 -138696870#1 -138696883#5 -138696883#4 -138696883#3 -138696883#2 -138696883#1 -138696883#0 138696883#0"/>
</routeDistribution>
</vehicle>
<vehicle id="30" depart="30.00">
<routeDistribution last="0">
<route cost="9.96" probability="1.00000000" edges="138696861#2 -138696861#2 -138696861#1 138696883#4 138696953#1"/>
</routeDistribution>
</vehicle>
<vehicle id="31" depart="31.00">
<routeDistribution last="0">
<route cost="24.22" probability="1.00000000" edges="-138696933#1 -138696933#0"/>
</routeDistribution>
</vehicle>
<vehicle id="32" depart="32.00">
<routeDistribution last="0">
<route cost="28.94" probability="1.00000000" edges="-138696870#1 -138696883#5 -138696883#4 -138696883#3 138696973"/>
</routeDistribution>
</vehicle>
<vehicle id="33" depart="33.00">
<routeDistribution last="0">
<route cost="39.93" probability="1.00000000" edges="138696883#5 138696883#6 -138696883#6"/>
</routeDistribution>
</vehicle>
<vehicle id="34" depart="34.00">
<routeDistribution last="0">
<route cost="41.82" probability="1.00000000" edges="-138696933#1 138696971#0 138696883#1 138696883#2 138696883#3 138696883#4 138696953#1 138696953#2 138696884#2"/>
</routeDistribution>
</vehicle>
<vehicle id="35" depart="35.00">
<routeDistribution last="0">
<route cost="28.11" probability="1.00000000" edges="138696953#2 -138696953#2 -138696871#1 -138696871#0"/>
</routeDistribution>
</vehicle>
<vehicle id="36" depart="36.00">
<routeDistribution last="0">
<route cost="12.86" probability="1.00000000" edges="138696953#0 -138696883#4 138696861#1 -138696871#2"/>
</routeDistribution>
</vehicle>
<vehicle id="37" depart="37.00">
<routeDistribution last="0">
<route cost="11.41" probability="1.00000000" edges="-138696883#3 -138696883#2 -138696883#1 -138696883#0"/>
</routeDistribution>
</vehicle>
<vehicle id="38" depart="38.00">
<routeDistribution last="0">
<route cost="9.81" probability="1.00000000" edges="138696883#3 138696861#1 138696861#2 -138696884#2"/>
</routeDistribution>
</vehicle>
<vehicle id="39" depart="39.00">
<routeDistribution last="0">
<route cost="54.50" probability="1.00000000" edges="-138696883#0 138696883#0 138696883#1 138696883#2 138696883#3 138696883#4 138696953#1 138696953#2 138696953#3 -138696953#3"/>
</routeDistribution>
</vehicle>
<vehicle id="40" depart="40.00">
<routeDistribution last="0">
<route cost="32.24" probability="1.00000000" edges="138696884#2 -138696861#2 -138696861#1 -138696883#3 -138696883#2 138696933#2 -138696933#2"/>
</routeDistribution>
</vehicle>
<vehicle id="41" depart="41.00">
<routeDistribution last="0">
<route cost="6.75" probability="1.00000000" edges="138696870#1 138696871#1 -138696871#1"/>
</routeDistribution>
</vehicle>
<vehicle id="42" depart="42.00">
<routeDistribution last="0">
<route cost="13.06" probability="1.00000000" edges="-138696870#2 -138696870#1 -138696883#5 -138696883#4 -138696883#3 -138696883#2 138696883#2"/>
</routeDistribution>
</vehicle>
<vehicle id="43" depart="43.00">
<routeDistribution last="0">
<route cost="18.73" probability="1.00000000" edges="138696871#1 138696953#2 -138696884#1 138696870#3"/>
</routeDistribution>
</vehicle>
<vehicle id="44" depart="44.00">
<routeDistribution last="0">
<route cost="59.38" probability="1.00000000" edges="138696861#3 -138696861#3 -138696861#2 -138696861#1 138696883#4 138696883#5 -138696870#0"/>
</routeDistribution>
</vehicle>
<vehicle id="45" depart="45.00">
<routeDistribution last="0">
<route cost="8.49" probability="1.00000000" edges="-138696861#2 -138696871#2 -138696871#1"/>
</routeDistribution>
</vehicle>
<vehicle id="46" depart="46.00">
<routeDistribution last="0">
<route cost="38.93" probability="1.00000000" edges="138696933#0 138696971#0 138696883#1 138696883#2 138696883#3 138696883#4 -138696953#0 138696953#0"/>
</routeDistribution>
</vehicle>
<vehicle id="47" depart="47.00">
<routeDistribution last="0">
<route cost="5.98" probability="1.00000000" edges="-138696953#2 -138696871#1 -138696870#1"/>
</routeDistribution>
</vehicle>
<vehicle id="48" depart="48.00">
<routeDistribution last="0">
<route cost="17.89" probability="1.00000000" edges="-138696861#3 -138696861#2"/>
</routeDistribution>
</vehicle>
<vehicle id="49" depart="49.00">
<routeDistribution last="0">
<route cost="3.43" probability="1.00000000" edges="-138696883#1 138696883#1"/>
</routeDistribution>
</vehicle>
</routes>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 03/11/14 11:22:52 by SUMO duarouter Version 0.19.0
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/duarouterConfiguration.xsd">
<input>
<net-file value="raj3.net.xml"/>
<trip-files value="trips.trips.xml"/>
</input>
<output>
<output-file value="result1.rou.xml"/>
</output>
</configuration>
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/routes_file.xsd">
<vehicle id="0" depart="0.00">
<route edges="-138696933#2 138696883#2 138696883#3 138696883#4 138696953#1 138696871#2"/>
</vehicle>
<vehicle id="1" depart="1.00">
<route edges="138696861#2 -138696861#2 -138696861#1 138696883#4 138696883#5 -138696883#5"/>
</vehicle>
<vehicle id="2" depart="2.00">
<route edges="-138696871#2 -138696953#1"/>
</vehicle>
<vehicle id="3" depart="3.00">
<route edges="-138696883#4 138696883#4 138696883#5 138696870#1 -138696870#1"/>
</vehicle>
<vehicle id="4" depart="4.00">
<route edges="138696870#0 -138696883#5 -138696883#4 -138696883#3 138696973"/>
</vehicle>
<vehicle id="5" depart="5.00">
<route edges="-138696861#0 138696861#0 138696883#4 -138696883#4"/>
</vehicle>
<vehicle id="6" depart="6.00">
<route edges="138696870#1 -138696870#1 -138696883#5 -138696883#4"/>
</vehicle>
<vehicle id="7" depart="7.00">
<route edges="-138696883#4 138696883#4 138696953#1 138696953#2 -138696953#2"/>
</vehicle>
<vehicle id="8" depart="8.00">
<route edges="138696933#1 138696883#2 138696883#3 138696883#4 138696953#1 138696953#2"/>
</vehicle>
<vehicle id="9" depart="9.00">
<route edges="-138696971#0 138696971#0 138696883#1 138696883#2 138696883#3 138696861#1 138696861#2 138696861#3"/>
</vehicle>
<vehicle id="10" depart="10.00">
<route edges="138696933#1 138696883#2 138696883#3 138696883#4 -138696953#0"/>
</vehicle>
<vehicle id="11" depart="11.00">
<route edges="138696883#2 138696883#3 138696883#4 138696953#1 138696953#2 -138696953#2"/>
</vehicle>
<vehicle id="12" depart="12.00">
<route edges="-138696883#6 -138696883#5 -138696883#4 -138696883#3 138696973"/>
</vehicle>
<vehicle id="13" depart="13.00">
<route edges="138696953#3 -138696953#3 -138696953#2 -138696953#1 -138696883#4 -138696883#3 -138696883#2 138696933#2"/>
</vehicle>
<vehicle id="14" depart="14.00">
<route edges="-138696971#0 138696971#0 138696883#1 138696933#2"/>
</vehicle>
<vehicle id="15" depart="15.00">
<route edges="138696883#3 138696883#4 138696883#5 138696870#1 138696870#2 138696870#3 -138696870#3"/>
</vehicle>
<vehicle id="16" depart="16.00">
<route edges="138696883#5 -138696883#5 -138696883#4 -138696883#3 -138696883#2 -138696883#1 -138696971#0 -138696933#0"/>
</vehicle>
<vehicle id="17" depart="17.00">
<route edges="138696861#1 -138696861#1 138696883#4 -138696953#0"/>
</vehicle>
<vehicle id="18" depart="18.00">
<route edges="-138696871#0 138696871#0 138696871#1 138696953#2 138696884#2 138696861#3"/>
</vehicle>
<vehicle id="19" depart="19.00">
<route edges="138696883#1"/>
</vehicle>
<vehicle id="20" depart="20.00">
<route edges="138696883#6 -138696883#6 -138696883#5 138696953#1 138696953#2 -138696884#1"/>
</vehicle>
<vehicle id="21" depart="21.00">
<route edges="138696861#3 -138696861#3 -138696884#2 -138696953#2 -138696871#1 -138696871#0"/>
</vehicle>
<vehicle id="22" depart="22.00">
<route edges="138696883#1 138696883#2 138696883#3 138696883#4"/>
</vehicle>
<vehicle id="23" depart="23.00">
<route edges="138696870#0 -138696883#5 -138696883#4 -138696883#3 138696973"/>
</vehicle>
<vehicle id="24" depart="24.00">
<route edges="138696884#1 -138696953#2 -138696953#1 -138696883#4 -138696883#3 -138696883#2"/>
</vehicle>
<vehicle id="25" depart="25.00">
<route edges="138696883#5 -138696883#5 -138696883#4 138696861#1 138696861#2 138696861#3"/>
</vehicle>
<vehicle id="26" depart="26.00">
<route edges="138696933#0 138696971#0 138696971#1 -138696971#1"/>
</vehicle>
<vehicle id="27" depart="27.00">
<route edges="138696883#6 -138696883#6"/>
</vehicle>
<vehicle id="28" depart="28.00">
<route edges="-138696870#1 -138696883#5 -138696883#4 138696861#1 138696861#2 138696861#3"/>
</vehicle>
<vehicle id="29" depart="29.00">
<route edges="-138696884#1 -138696870#2 -138696870#1 -138696883#5 -138696883#4 -138696883#3 -138696883#2 -138696883#1 -138696883#0 138696883#0"/>
</vehicle>
<vehicle id="30" depart="30.00">
<route edges="138696861#2 -138696861#2 -138696861#1 138696883#4 138696953#1"/>
</vehicle>
<vehicle id="31" depart="31.00">
<route edges="-138696933#1 -138696933#0"/>
</vehicle>
<vehicle id="32" depart="32.00">
<route edges="-138696870#1 -138696883#5 -138696883#4 -138696883#3 138696973"/>
</vehicle>
<vehicle id="33" depart="33.00">
<route edges="138696883#5 138696883#6 -138696883#6"/>
</vehicle>
<vehicle id="34" depart="34.00">
<route edges="-138696933#1 138696971#0 138696883#1 138696883#2 138696883#3 138696883#4 138696953#1 138696953#2 138696884#2"/>
</vehicle>
<vehicle id="35" depart="35.00">
<route edges="138696953#2 -138696953#2 -138696871#1 -138696871#0"/>
</vehicle>
<vehicle id="36" depart="36.00">
<route edges="138696953#0 -138696883#4 138696861#1 -138696871#2"/>
</vehicle>
<vehicle id="37" depart="37.00">
<route edges="-138696883#3 -138696883#2 -138696883#1 -138696883#0"/>
</vehicle>
<vehicle id="38" depart="38.00">
<route edges="138696883#3 138696861#1 138696861#2 -138696884#2"/>
</vehicle>
<vehicle id="39" depart="39.00">
<route edges="-138696883#0 138696883#0 138696883#1 138696883#2 138696883#3 138696883#4 138696953#1 138696953#2 138696953#3 -138696953#3"/>
</vehicle>
<vehicle id="40" depart="40.00">
<route edges="138696884#2 -138696861#2 -138696861#1 -138696883#3 -138696883#2 138696933#2 -138696933#2"/>
</vehicle>
<vehicle id="41" depart="41.00">
<route edges="138696870#1 138696871#1 -138696871#1"/>
</vehicle>
<vehicle id="42" depart="42.00">
<route edges="-138696870#2 -138696870#1 -138696883#5 -138696883#4 -138696883#3 -138696883#2 138696883#2"/>
</vehicle>
<vehicle id="43" depart="43.00">
<route edges="138696871#1 138696953#2 -138696884#1 138696870#3"/>
</vehicle>
<vehicle id="44" depart="44.00">
<route edges="138696861#3 -138696861#3 -138696861#2 -138696861#1 138696883#4 138696883#5 -138696870#0"/>
</vehicle>
<vehicle id="45" depart="45.00">
<route edges="-138696861#2 -138696871#2 -138696871#1"/>
</vehicle>
<vehicle id="46" depart="46.00">
<route edges="138696933#0 138696971#0 138696883#1 138696883#2 138696883#3 138696883#4 -138696953#0 138696953#0"/>
</vehicle>
<vehicle id="47" depart="47.00">
<route edges="-138696953#2 -138696871#1 -138696870#1"/>
</vehicle>
<vehicle id="48" depart="48.00">
<route edges="-138696861#3 -138696861#2"/>
</vehicle>
<vehicle id="49" depart="49.00">
<route edges="-138696883#1 138696883#1"/>
</vehicle>
</routes>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user