Closed o-u-p closed 5 years ago
I never tested OpenDRIVE import for lefthand networks. Can you provide a sample .xodr file?
I have sent it to your email which subject is "opendrive sample".
Some kinds of geometrical definition already imply a specific jurisdiction and you cannot set the option --lefthand independent of that (https://sumo.dlr.de/wiki/NETCONVERT#Lefthand_Networks)
For OpenDRIVE, this translates to:
If I don't set the option --lefthand, it will generate a righthand network and the opendrive map itself is lefthand already, so, do you mean I need to change the opendrive map?
Right now the opendrive map encodes some geometries that only make sense for a right-hand network. If you want a lefthand network you need to change the opendrive (specifically, you must reverse all road elements which only define lanes in one direction) and then you can import with option --lefthand
Thanks for your help. By the way, can I know if I can reverse the shape in sumo code to make the lefthand work correctly?
You can do the following
it caused shape changed when executing "netconvert -c defaultSchema.xsd --opendrive opendrive.xodr --lefthand -o test.net.xml "
Could someone tell me how to make it work correctly? Any help will be appreciated!