Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Fwd: Edge dump and counting the amount of the vehicles

Sorry.. the mail before was identical to this one; i just sent it to sourceforge..


Hallo everyone,

It seems a bit dumb.. I am very new to SUMO.

I used the OSM web wizard to export a map, and wanted to count vehicles, and the waiting time of vehicles passing through specific edges (roads).

I am trying to use edgedump (the configuration file is at the end)
But no new xml file appear inside the folder. What did I do wrong? I used the netdump.. (just to test), but the inteded xml file appeared.


And anyways, are there any better way to solve this problem? (to count the vehichles)
I want to count all the vehicles going in and out of a junction...



so the configuration file was:

---------------------
<?xml version="1.0" encoding="UTF-8"?>

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">

    <input>
        <net-file value="osm.net.xml"/>
        <route-files value="osm.passenger.trips.xml,osm.truck.trips.xml,osm.bus.trips.xml,osm.motorcycle.trips.xml,osm.bicycle.trips.xml,osm.pedestrian.rou.xml,osm.rail.trips.xml"/>
        <additional-files value="osm.poly.xml"/>
    </input>



    <processing>
        <ignore-route-errors value="true"/>
    </processing>

    <routing>
        <device.rerouting.adaptation-steps value="180"/>
    </routing>

    <report>
        <verbose value="true"/>
        <duration-log.statistics value="true"/>
        <no-step-log value="true"/>
    </report>

    <gui_only>
        <gui-settings-file value="osm.view.xml"/>
    </gui_only>
    
   <additional> 
       <edgeData id="edge_dump" file="out.xml" freq="10" /> 
   </additional>
</configuration>

--------------


Back to the top