How do I convert Opendrive xodr file to net.xml for SUMO

231 Views Asked by At

Conversion has to be done with 'Netconvert' tool. I am facing error and cmd prompt quitting on negative speed error.

How do I over come this issue? Is there a way I can ignore speed?

Output should be with Net.xml format file. Thanks :)

2

There are 2 best solutions below

0
Michael On BEST ANSWER

You can use the options --speed.offset and --speed.minimum to modify / ensure edge speeds but you should probably check your input first.

0
Marius Schueller On

You can use SUMO's built in file converter:

netconvert --opendrive-files xodrfilename -o newfile.net.xml