Thanks Jakob and other friends. I successfully created edgeData-output for
a particular edge as advised. Now the edge file looks like,

<?xml version="1.0" encoding="UTF-8"?>
<meandata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/meandata_file.xsd";>
    <interval begin="0.00" end="183.50" id="18598861#0">
        <edge id="-100223451" sampledSeconds="0.00" departed="0"
arrived="0" entered="0" left="0" laneChangedFrom="0" laneChangedTo="0"/>
        <edge id="-102650970" sampledSeconds="0.00" departed="0"
arrived="0" entered="0" left="0" laneChangedFrom="0" laneChangedTo="0"/>
        <edge id="-102650973" sampledSeconds="0.00" departed="0"
arrived="0" entered="0" left="0" laneChangedFrom="0" laneChangedTo="0"/>
        <edge id="-102650974" sampledSeconds="0.00" departed="0"
arrived="0" entered="0" left="0" laneChangedFrom="0" laneChangedTo="0"/>
        <edge id="-102650976#0" sampledSeconds="0.00" departed="0"
arrived="0" entered="0" left="0" laneChangedFrom="0" laneChangedTo="0"/>
        <edge id="-102650976#1" sampledSeconds="0.00" departed="0"
arrived="0" entered="0" left="0" laneChangedFrom="0" laneChangedTo="0"/>
        <edge id="-102650976#2" sampledSeconds="0.00" departed="0"
arrived="0" entered="0" left="0" laneChangedFrom="0" laneChangedTo="0"/>
        <edge id="-102650976#3" sampledSeconds="0.00" departed="0"
arrived="0" entered="0" left="0" laneChangedFrom="0"
-------------
------------
--------------


So using this file and net file I ran this command using sumo-gui,

sumo-gui -n GreaterColombo.net.xml --weight-files edge.xml

Now the GUI loads and show the network? How I can visually see the traffic
changes or simulate the "edge.xml" data in the GUI? Please assist.

Thanks,
Titus


On Fri, May 16, 2014 at 12:18 PM, Jakob Erdmann <[email protected]>
wrote:

> Also, take a look at http://sumo-sim.org/wiki/Tools/Visualization.
>
>
> 2014-05-16 8:38 GMT+02:00 Jakob Erdmann <[email protected]>:
>
> Hello,
>> it is possible to load to the output files of the edgeData-output (
>> http://sumo-sim.org/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures)
>> into sumo or sumo-gui using the option --weight-files. Edges can then be
>> colored according to that data by selecting edge coloring 'by global travel
>> time'. The attribute to use from these weight files can be set using the
>> option --weight-attribute. Unfortunately none of these features are
>> sufficiently documented in the wiki as of yet.
>> regards,
>> Jakob
>>
>>
>> 2014-05-14 20:40 GMT+02:00 Titus Rakkesh <[email protected]>:
>>
>> Dear Friends,
>>>     Currently we are planning to develop a simulation using sumo with
>>> real
>>> data. Our plan is to simulate some different routing strategies and
>>> showing
>>> the congestion has improved when we change the routing methodology.
>>>
>>> We need to do the following,
>>> 1. First need to show the current traffic situation(In Sumo - GUI or some
>>> visual way) without using any routing strategies in SUMO(Is there any way
>>> to feed the current traffic data  as it is to the simulator and show?)
>>>
>>> 2. Then modify the routing algorithms and Traffic Lights operation and
>>> derive and improved traffic model and show visually the congestion
>>> change.
>>>
>>> Pls assist us with some of your advises and comments. We are currently
>>> going through the documentation and tutorials.
>>>
>>> Thanks,
>>> Titus
>>>
>>> ------------------------------------------------------------------------------
>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>> Instantly run your Selenium tests across 300+ browser/OS combos.
>>> Get unparalleled scalability from the best Selenium testing platform
>>> available
>>> Simple to use. Nothing to install. Get started now for free."
>>> http://p.sf.net/sfu/SauceLabs
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>
>>
>>
>
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to