Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] edge or lane MeanData output

You can use sumolib.output.parse(..., heterogeneous=True) to be able to parse the additional attributes.


Am Mi., 21. Okt. 2020 um 23:41 Uhr schrieb Sasan Amini <aminissn@xxxxxxxxx>:
Dear SUMO team,

when I set the excludeEmpty to false in meanData definition, empty edges (or lanes) have only a few attributes from the full set (for example, speed, density, occupancy etc. are not included). In case the first line is an empty edge (or lane) the sumolib.output.parsing() function cannot parse these attributes for the remaining edges. Also, when converting the xml to csv without specifying the schema those columns won't be created which means setting the option excludeEmpty to False has no effect. Would it be possible to generate the full list of attributes even for empty edges (lanes)?

Best,
Sasan
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top