When I create a simple map with the web editor (just one object and one road, without further modifications), the converter script json_to_opendrive.py fails:
Traceback (most recent call last):
File "json_to_opendrive.py", line 251, in <module>
main()
File "json_to_opendrive.py", line 246, in main
convert(sys.argv[1])
File "json_to_opendrive.py", line 55, in convert
road0 = obj[0]
KeyError: 0
That error was easy to trace back, since the exported json is a dict, not a list:
I tried to quick-fix it, but there seems to be a general incomatibility between what is exported and what the converter script expects, so I didn't continue.
Hey,
When I create a simple map with the web editor (just one object and one road, without further modifications), the converter script json_to_opendrive.py fails:
That error was easy to trace back, since the exported json is a dict, not a list:
I tried to quick-fix it, but there seems to be a general incomatibility between what is exported and what the converter script expects, so I didn't continue.