New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
netconvert always align the entrance and exit roads of the intersection of the same side after conversion from opendrive #14341
Comments
The OpenDrive import automatically sets the option --rectangular-lane-cut. You could set this to 'false' explicitly and see if it improves things. Can you provide an example OpenDrive file with an irregular junction shape? |
This netconvert behavior is controlled by the option --rectangular-lane-cut. |
I use the following command |
can you provide the input file (in a private message or direct attachment)? |
I send an email to you and upload the test opendrive file. I use the follwoing convert command: |
This isn't even OpenDRIVE specific and contrary to my previous assumption is unrelated to rectangular-lane-cut. |
@allenzhuyi beginning with tomorrow, the development version supports option --junctions.endpoint-shape which should have the desired effect (https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots) |
Is is available now,I want to try to test. |
yes |
I used netconvert to convert an OpenDrive file to a SUMO netxml road network file.
However, in certain direction at an intersection,due to the different of start point and lengths of entrance road and reverse direction of the road in opendrive file, after conversion netconvert always align the edge and reverse direction of the edge in certain direction at an intersection, which will cause the actual edge length to be shortened.
I tried using netedit tool,by selecting the junction,first use "Reset Ende Points",then I undo the operation,at last I use "set custom junction shape" adjust junction shape, but it is not applicable to multiple junctions.
How do I netconvert automatically refer to the actual shape of each edge of the junction to construct an irregular junction shape, without having to align them in netedit? Is there any related netconvert convert arguments?
This is the default conversion effect of netconvert. The entrance and exit roads of the intersection on the same side are aligned, which does not meet the definition requirements of the actual opendrive file.
This is the result of manually adjusting the shape with the help of the netedit tool. I want to build a polygonal irregular intersection according to the edge shape of the actual intersection.
SUMO-version: 1.19
operating system: windows 10
The text was updated successfully, but these errors were encountered: