eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.49k stars 1.41k forks source link

straight line junction geometry does not cover full street width #15209

Open behrisch opened 1 month ago

behrisch commented 1 month ago

At dead ends netconvert adds a geometry consisting of a single line (although it seems to add a third point which is colinear with the first two). The initially constructed shape consists of four points (at least in the simple example in tests/netconvert/meta/with_log) which is then reduced to three points by PositionVector::simplify. Unfortunately this reduction removes the outermost point instead of one of the inner ones. Furthermore we should check whether keeping only the two outermost points is enough (or if anything in the code assumes that a junction shape always has at least three points).

behrisch commented 1 month ago

should be solved once we make the new simplification the default, see #15199