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 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


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

Attachment: myfolder2.png
Description: PNG image

Attachment: my
Description: Binary data


Back to the top