The laneData definition must be placed in an additional file loaded with
option --additional-files

Am So., 18. Apr. 2021 um 11:35 Uhr schrieb Toprak <atoprakfi...@gmail.com>:

> Hello,
>
> Does that mean when I add this directly to the cfg file it would be fine?
> My .cfg file looks like this right now:
>
> <?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="map.net.xml"/>
>         <route-files value="map.rou.xml"/>
>     </input>
>     <time>
>         <begin value="0"/>
>         <end value="50000"/>
>     </time>
> </configuration>
> <additional>
>     <laneData id="<MEASUREMENT_ID>" file="lanedata.xml" />
> </additional>
>
> What should I write on terminal for it to give me lanedata.xml? In the
> wiki, fcd data is gathered by:
> --fcd-output OUTPUTFILE
>
> but I couldn't find the command for lanedata and just running it with:
> sumo -c map.sumo.cfg --fcd-output sumoTace.xml
>
> doesnt work because it says there's a problem with the cfg file. What
> am I doing wrong, I am confused?
>
> Regards,
>
> On Sun, Apr 18, 2021 at 1:40 AM Jakob Erdmann <namdre.s...@gmail.com>
> wrote:
> >
> > laneData and edgeData definitions will generate outputs for the whole
> network. The MEASUREMENT_ID is only there to distinguish different outputs
> (i.e. when using the vTypes attribute).
> > To change the aggregation, use the 'freq' attribute.
> >
> > regards,
> > Jakob
> >
> > Am Sa., 17. Apr. 2021 um 20:38 Uhr schrieb Toprak <
> atoprakfi...@gmail.com>:
> >>
> >> Hello,
> >>
> >> I am trying to get the data of congestion levels for each individual
> >> road. I have found this page
> >>
> https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html#Value_Descriptions
> >> and I think the lane data can somewhat help me. However, I am still a
> >> rookie on Sumo so I have some questions. To get that lane data, I
> >> think I need to add:
> >> <additional> <laneData id="<MEASUREMENT_ID>" file="<OUTPUT_FILE>"
> >> .../> </additional> part to the cfg file. But in the example of the
> >> additional-file page on the wiki, It looks like I need to write it for
> >> each road. Is there a way to get the laneData for each road, at each
> >> time step?
> >>
> >> Regards,
> >> A. Toprak Firat
> >> _______________________________________________
> >> sumo-user mailing list
> >> sumo-user@eclipse.org
> >> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> >
> > _______________________________________________
> > sumo-user mailing list
> > sumo-user@eclipse.org
> > To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to