Skip to main content

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

Ok.. Additional files.. like i can name it any.xml.. for example? (just to confirm..)

On Thu, Apr 19, 2018 at 1:18 PM Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx> wrote:
Hello,
the edgeData goes into another file like this:


 <additional>
       <edgeData id="edge_dump" file="out.xml" freq="10" />
   </additional>

and in the sumocfg, load this file by adding it to the list of <additional-files value="...">

regards,
Jakob

2018-04-19 13:15 GMT+02:00 Giovanni Hieronimus Maurice Pradipta Mite <necromancerhiero@xxxxxxxxx>:
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>

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


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Back to the top