Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/tests/tools/net/patchRailConflicts/split_at_tls/net.tools
428504 views
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2026-03-19T09:21:34.147809+01:00 by Eclipse SUMO netconvert v1_26_0+0715-f2b5b981f45
<netconvertConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd">

    <input>
        <sumo-net-file value="input_net.net.xml"/>
        <node-files value="net.nod.xml"/>
        <edge-files value="net.edg.xml"/>
        <connection-files value="net.con.xml"/>
    </input>

    <output>
        <output-file value="net.net.xml"/>
    </output>

    <processing>
        <geometry.min-radius.fix.railways value="false"/>
        <geometry.avoid-overlap value="false"/>
        <geometry.max-grade.fix value="false"/>
        <offset.disable-normalization value="true"/>
    </processing>

    <junctions>
        <no-turnarounds value="true"/>
    </junctions>

</netconvertConfiguration>
-->

<net version="1.20" junctionCornerDetail="5" limitTurnSpeed="5.50" avoidOverlap="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd">

    <location netOffset="0.00,0.00" convBoundary="-100.00,-100.00,103.68,103.68" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>

    <edge id=":C_0" function="internal">
        <lane id=":C_0_0" index="0" allow="bus" speed="13.89" length="15.47" shape="10.83,-3.47 -0.11,7.47"/>
    </edge>
    <edge id=":C_1" function="internal">
        <lane id=":C_1_0" index="0" allow="tram" speed="13.89" length="14.73" shape="-5.36,0.00 -2.57,-0.45 0.45,-1.79 3.68,-4.02 7.15,-7.15"/>
    </edge>
    <edge id=":C_2" function="internal">
        <lane id=":C_2_0" index="0" allow="tram" speed="13.89" length="17.72" shape="-5.36,0.00 12.35,0.37"/>
    </edge>
    <edge id=":C_3" function="internal">
        <lane id=":C_3_0" index="0" allow="tram" speed="13.89" length="15.47" shape="-3.79,3.79 7.15,-7.15"/>
    </edge>
    <edge id=":C_4" function="internal">
        <lane id=":C_4_0" index="0" allow="tram" speed="13.89" length="16.85" shape="-3.79,3.79 -1.36,2.16 2.14,1.04 6.71,0.44 12.35,0.37"/>
    </edge>
    <edge id=":E0.-10_0" function="internal">
        <lane id=":E0.-10_0_0" index="0" allow="tram" speed="13.89" length="0.10" shape="-10.00,0.00 -10.00,0.00"/>
    </edge>
    <edge id=":E2.-10_0" function="internal">
        <lane id=":E2.-10_0_0" index="0" allow="tram" speed="13.89" length="0.10" shape="-7.07,7.07 -7.07,7.07"/>
    </edge>

    <edge id="-E2" from="C" to="J6" priority="-1" spreadType="center" shape="3.68,3.68 -96.32,103.68">
        <lane id="-E2_0" index="0" allow="bus" speed="13.89" length="136.06" shape="-0.11,7.47 -96.32,103.68"/>
    </edge>
    <edge id="-E3" from="J7" to="C" priority="-1" spreadType="center" shape="103.68,-96.32 3.68,3.68">
        <lane id="-E3_0" index="0" allow="bus" speed="13.89" length="131.31" shape="103.68,-96.32 10.83,-3.47"/>
    </edge>
    <edge id="E0" from="J0" to="E0.-10" priority="-1" spreadType="center">
        <lane id="E0_0" index="0" allow="tram" speed="13.89" length="90.00" shape="-100.00,0.00 -10.00,0.00"/>
    </edge>
    <edge id="E0.-10" from="E0.-10" to="C" priority="-1" spreadType="center" shape="-10.00,0.00 0.00,0.00">
        <lane id="E0.-10_0" index="0" allow="tram" speed="13.89" length="4.64" shape="-10.00,0.00 -5.36,0.00"/>
    </edge>
    <edge id="E1" from="C" to="J2" priority="-1" spreadType="center" shape="0.00,0.00 100.00,2.99">
        <lane id="E1_0" index="0" allow="tram" speed="13.89" length="87.69" shape="12.35,0.37 100.00,2.99"/>
    </edge>
    <edge id="E2" from="J3" to="E2.-10" priority="-1" spreadType="center">
        <lane id="E2_0" index="0" allow="tram" speed="13.89" length="131.42" shape="-100.00,100.00 -7.07,7.07"/>
    </edge>
    <edge id="E2.-10" from="E2.-10" to="C" priority="-1" spreadType="center" shape="-7.07,7.07 0.00,0.00">
        <lane id="E2.-10_0" index="0" allow="tram" speed="13.89" length="4.64" shape="-7.07,7.07 -3.79,3.79"/>
    </edge>
    <edge id="E3" from="C" to="J4" priority="-1" spreadType="center" shape="0.00,0.00 100.00,-100.00">
        <lane id="E3_0" index="0" allow="tram" speed="13.89" length="131.31" shape="7.15,-7.15 100.00,-100.00"/>
    </edge>

    <tlLogic id="C" type="static" programID="0" offset="0">
        <phase duration="42" state="GrrGg"/>
        <phase duration="3"  state="yrrGg"/>
        <phase duration="42" state="rggGG"/>
        <phase duration="3"  state="ryyGy"/>
    </tlLogic>

    <junction id="C" type="traffic_light" x="2.76" y="2.76" incLanes="-E3_0 E0.-10_0 E2.-10_0" intLanes=":C_0_0 :C_1_0 :C_2_0 :C_3_0 :C_4_0" shape="12.30,1.97 12.40,-1.23 11.68,-1.37 11.54,-1.53 11.54,-1.74 11.68,-2.01 11.96,-2.34 6.02,-8.28 3.84,-6.24 1.78,-4.57 -0.17,-3.27 -2.01,-2.34 -3.74,-1.79 -5.36,-1.60 -5.36,1.60 -4.65,1.72 -4.50,1.87 -4.50,2.07 -4.64,2.34 -4.92,2.66 1.02,8.60 3.21,6.54 5.28,4.86 7.22,3.56 9.04,2.65 10.73,2.12">
        <request index="0" response="00000" foes="10100" cont="0"/>
        <request index="1" response="01000" foes="01000" cont="0"/>
        <request index="2" response="11001" foes="11001" cont="0"/>
        <request index="3" response="00000" foes="00110" cont="0"/>
        <request index="4" response="00001" foes="00101" cont="0"/>
    </junction>
    <junction id="E0.-10" type="rail_signal" x="-10.00" y="0.00" incLanes="E0_0" intLanes=":E0.-10_0_0" shape="-10.00,1.60 -10.00,-1.60 -10.00,1.60">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="E2.-10" type="rail_signal" x="-7.07" y="7.07" incLanes="E2_0" intLanes=":E2.-10_0_0" shape="-5.94,8.20 -8.20,5.94 -5.94,8.20">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="J0" type="dead_end" x="-100.00" y="0.00" incLanes="" intLanes="" shape="-100.00,1.60 -100.00,-1.60"/>
    <junction id="J2" type="dead_end" x="100.00" y="2.99" incLanes="E1_0" intLanes="" shape="100.05,1.39 99.95,4.59"/>
    <junction id="J3" type="dead_end" x="-100.00" y="100.00" incLanes="" intLanes="" shape="-98.87,101.13 -101.13,98.87"/>
    <junction id="J4" type="dead_end" x="100.00" y="-100.00" incLanes="E3_0" intLanes="" shape="98.87,-101.13 101.13,-98.87"/>
    <junction id="J6" type="dead_end" x="-96.32" y="103.68" incLanes="-E2_0" intLanes="" shape="-95.19,104.81 -97.45,102.55"/>
    <junction id="J7" type="dead_end" x="103.68" y="-96.32" incLanes="" intLanes="" shape="102.55,-97.45 104.81,-95.19"/>

    <connection from="-E3" to="-E2" fromLane="0" toLane="0" via=":C_0_0" tl="C" linkIndex="0" dir="s" state="O"/>
    <connection from="E0" to="E0.-10" fromLane="0" toLane="0" via=":E0.-10_0_0" tl="E0.-10" linkIndex="0" dir="s" state="O"/>
    <connection from="E0.-10" to="E3" fromLane="0" toLane="0" via=":C_1_0" tl="C" linkIndex="1" dir="r" state="o"/>
    <connection from="E0.-10" to="E1" fromLane="0" toLane="0" via=":C_2_0" tl="C" linkIndex="2" dir="s" state="o"/>
    <connection from="E2" to="E2.-10" fromLane="0" toLane="0" via=":E2.-10_0_0" tl="E2.-10" linkIndex="0" dir="s" state="O"/>
    <connection from="E2.-10" to="E3" fromLane="0" toLane="0" via=":C_3_0" tl="C" linkIndex="3" dir="s" state="O"/>
    <connection from="E2.-10" to="E1" fromLane="0" toLane="0" via=":C_4_0" tl="C" linkIndex="4" dir="l" state="o"/>

    <connection from=":C_0" to="-E2" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":C_1" to="E3" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":C_2" to="E1" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":C_3" to="E3" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":C_4" to="E1" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":E0.-10_0" to="E0.-10" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":E2.-10_0" to="E2.-10" fromLane="0" toLane="0" dir="s" state="M"/>

</net>