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.53k stars 1.42k forks source link

Improve visualization for "doors" and "random" string for the "pos" attribute of an access. #14335

Open bcoueraud87 opened 8 months ago

bcoueraud87 commented 8 months ago

Things like:

<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd">
    <!-- StoppingPlaces -->
    <trainStop id="ts_0" lane="E10_0" startPos="5.23" endPos="40.72" personCapacity="20">
        <access lane="E4_0" pos="doors"/>
    </trainStop>
    <trainStop id="ts_1" lane="E26_0" startPos="0.00" personCapacity="20">
        <access lane="E1_0" pos="doors"/>
    </trainStop>
</additional>

are recognized in sumo but not in netedit.

namdre commented 8 months ago

see #14334

namdre commented 8 months ago

right now, the 'pos' attribute is also used when drawing the access element. In case of doors we could target the closest position on the edge and maybe draw a door icon.

behrisch commented 7 months ago

The attribute value "doors" is at least recognized now. I keep it open for better visualization ideas. This also applies to the value of "random".