I'll focus on a single interaction to illustrate my difficulties.
In the text below, I'll excerpt what I think are the relevant lines for the intersection in the connections (.con.xml) file, and below that I'll excerpt what l think are the relevant lines in the network (.net.xml) file produced by netconvert. I'm including two pictures of the intersection, very close up and less close up, so the labels of the roads and the intersections are visible. I'm also including a picture of a drawing of what the allowed connections should be. The node is of type priority.
<connection from="NodeX7Y4toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="0" toLane="0"/>
<connection from="NodeX7Y4toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="1" toLane="1"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX7Y4" fromLane="0" toLane="0"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX7Y4" fromLane="1" toLane="1"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="1" toLane="1"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="2" toLane="2"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX5Y4" fromLane="2" toLane="0"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX5Y4" fromLane="3" toLane="1"/>
<connection from="NodeX5Y4toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="0" toLane="2"/>
<connection from="NodeX5Y4toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="1" toLane="3"/>
From the network file:
<connection from="NodeX5Y4toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="0" toLane="1" via=":NodeX6Y4_5_0" dir="l" state="m"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX7Y4" fromLane="0" toLane="0" via=":NodeX6Y4_1_0" dir="r" state="M"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="0" toLane="0" via=":NodeX6Y4_2_0" dir="s" state="M"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="1" toLane="1" via=":NodeX6Y4_2_1" dir="s" state="M"/>
<connection from="NodeX6Y3toNodeX6Y4" to="NodeX6Y4toNodeX5Y4" fromLane="1" toLane="0" via=":NodeX6Y4_4_0" dir="l" state="M"/>
<connection from="NodeX7Y4toNodeX6Y4" to="NodeX6Y4toNodeX6Y5" fromLane="0" toLane="0" via=":NodeX6Y4_0_0" dir="r" state="m"/>
Hello,
right now, the junction-shape algorithm cannot handle a mix of right-hand and left-hand driving. A work-around is to set a custom junction shape:
Note, that turn-around connections from the left-hand roads in a right-hand network will also have the wrong shape. Either remove them or set a custom shape for them as well.
regards,
Jakob
I'm trying to model a road network in which some of the streets have driving on the left-hand side rather than the right. I'm not getting the shape of the roads and especially the intersections the way they should be. The best I could do is have the roads with left-hand side driving enter and exit the intersections at angles. For example, the road on the right in this figure is left-side driving; the other roads are right-side driving or one-way. The position of the stop lines is too far away from the intersection and the intersection shape has a small bottleneck that I don't want.
Any suggestions about how to program in a more correct shape?
Rich Tasgal
Ben-Gurion University
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user