Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Dataset generation - SUMO

Hello,
fcd-output can become quite large. If you do not need values every second you can set a larger output period using option --device.fcd.period (only available in the latest development version of sumo).

fcd output as you have configured it does contain lat (as attribute y),lon (as attribute x),speed,id and type.

traceExporter may be slow to finish. How long did you wait?

Neither gpx nor gpsdat contain vehicle type information. You may be better of consuming the fcd.xml directly. (or convert it to csv using this tool: http://sumo.dlr.de/wiki/Tools/Xml#xml2csv.py

regards,
Jakob


2018-05-08 14:01 GMT+02:00 Angayarkanni Annamalai <angayarkanni.s.a@xxxxxxxxx>:

Hello Jakob,
  I used OpenStreetMap to generate data  with the following command
1. netconvert --osm-files osm_bbox.osm.xml -o map.net.xml

2. polyconvert --net-file map.net.xml --osm-files osm_bbox.osm.xml --type-file typemap.xml -o map.poly.xml

 3. python ../randomTrips.py -n map.net.xml -r map.rou.xml -e 100 -l

4.  sumo-gui test.sumo.cfg


My configuration file is ready.
To generate FCD

1. sumo -c osm.sumocfg --fcd-output.geo --fcd-output tmm1Trace.xml
2. Both
 python ..//traceExporter.py -i tmm1Trace.xml --gpx-output=tmmgpx1
and
 python ..//traceExporter.py -i tmm1Trace.xml --gpsdat-output = tmmgps1

gives no output.
Forcibly, when I quit the program, it gives tmmgpx1 or tmmgps1 ( an empty file with 0 byte size)

My Queries,
A. Whether

sumo -c osm.sumocfg --fcd-output.geo --fcd-output tmm1Trace.xml

generates a XML file of 480 MB ( I am attaching the screenshot of my folder showing sizes of my project files) ?

B. For applying predictive algorithms, I need lat,long, speed, vehicle ID, type of vehicle (bus/bicycle/heavy vehicle),etc, as features.
Am I following correct procedure?

Kindly help me


On Fri, May 4, 2018 at 5:27 PM, Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx> wrote:
regards,
Jakob

2018-05-04 13:19 GMT+02:00 Angayarkanni Annamalai <angayarkanni.s.a@xxxxxxxxx>:
Hi friends,
  Greetings of the day!
I am working on SUMO-0.30.0 version. And I m in need of generating live traffic to apply analytical algorithms for prediction of congestion.
I tried OpenStreetMap to generate road traffic for a sample road segment.
But Kindly help me how to generate road traffic dataset - lat/longit of vehicles, speed of vehicles, ID of each vehicle, timestamp.
Is it possible to inject non recurrent congestion into simulation?

Thank you

--

Best Regards,
அங்கயற்கண்னி S A


"நம் எண்ணங்களின் வெளிப்பாடு தான் நம் வாழ்க்கையாகின்றது."




--

Best Regards,
அங்கயற்கண்னி S A


"நம் எண்ணங்களின் வெளிப்பாடு தான் நம் வாழ்க்கையாகின்றது."


Back to the top