Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/tests/netconvert/bugs/15xxx/ticket16653/net.netconvert
169715 views
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-05-10 11:51:30 by Eclipse SUMO netconvert Version v1_23_1+0039-3bc5a6fc56b
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
This file may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<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"/>
    </input>

    <output>
        <write-license value="true"/>
    </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"/>
        <lefthand value="0"/>
    </processing>

    <tls_building>
        <tls.rebuild value="true"/>
    </tls_building>

    <junctions>
        <no-turnarounds value="true"/>
        <junctions.corner-detail value="5"/>
        <junctions.limit-turn-speed value="5.50"/>
        <rectangular-lane-cut value="0"/>
    </junctions>

    <pedestrian>
        <walkingareas value="0"/>
    </pedestrian>

    <report>
        <xml-validation value="never"/>
    </report>

</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,0.00,100.00,0.00" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>

    <edge id=":J1_w0" function="walkingarea">
        <lane id=":J1_w0_0" index="0" allow="pedestrian" speed="2.78" length="8.40" width="2.00" shape="-100.00,-3.20 -100.00,-5.20 -100.00,5.20 -100.00,3.20"/>
    </edge>
    <edge id=":J2_0" function="internal">
        <lane id=":J2_0_0" index="0" disallow="pedestrian" speed="13.89" length="4.00" shape="2.00,1.60 -2.00,1.60"/>
    </edge>
    <edge id=":J2_1" function="internal">
        <lane id=":J2_1_0" index="0" disallow="pedestrian" speed="13.89" length="4.00" shape="-2.00,-1.60 2.00,-1.60"/>
    </edge>
    <edge id=":J2_c0" function="crossing" crossingEdges="E1 -E1">
        <lane id=":J2_c0_0" index="0" allow="pedestrian" speed="2.78" length="6.40" width="4.00" shape="0.00,-3.20 0.00,3.20" outlineShape="2.00,-3.20 2.00,3.20 -2.00,5.20 2.00,5.20 2.00,3.20 -2.00,3.20 -2.00,-3.20"/>
    </edge>
    <edge id=":J2_w0" function="walkingarea">
        <lane id=":J2_w0_0" index="0" allow="pedestrian" speed="2.78" length="2.82" width="4.00" shape="-2.00,3.20 -2.00,5.20 2.00,5.20 2.00,3.20 -2.00,3.20"/>
    </edge>
    <edge id=":J2_w1" function="walkingarea">
        <lane id=":J2_w1_0" index="0" allow="pedestrian" speed="2.78" length="2.82" width="4.00" shape="-2.00,-3.20 2.00,-3.20 2.00,-5.20 -2.00,-5.20 -2.00,-3.20"/>
    </edge>
    <edge id=":J3_w0" function="walkingarea">
        <lane id=":J3_w0_0" index="0" allow="pedestrian" speed="2.78" length="8.40" width="2.00" shape="100.00,3.20 100.00,5.20 100.00,-5.20 100.00,-3.20"/>
    </edge>

    <edge id="-E0" from="J2" to="J1" priority="-1">
        <lane id="-E0_0" index="0" allow="pedestrian" speed="13.89" length="98.00" width="2.00" shape="-2.00,4.20 -100.00,4.20"/>
        <lane id="-E0_1" index="1" disallow="pedestrian" speed="13.89" length="98.00" shape="-2.00,1.60 -100.00,1.60"/>
    </edge>
    <edge id="-E1" from="J3" to="J2" priority="-1">
        <lane id="-E1_0" index="0" allow="pedestrian" speed="13.89" length="98.00" width="2.00" shape="100.00,4.20 2.00,4.20"/>
        <lane id="-E1_1" index="1" disallow="pedestrian" speed="13.89" length="98.00" shape="100.00,1.60 2.00,1.60"/>
    </edge>
    <edge id="E0" from="J1" to="J2" priority="-1">
        <lane id="E0_0" index="0" allow="pedestrian" speed="13.89" length="98.00" width="2.00" shape="-100.00,-4.20 -2.00,-4.20"/>
        <lane id="E0_1" index="1" disallow="pedestrian" speed="13.89" length="98.00" shape="-100.00,-1.60 -2.00,-1.60"/>
    </edge>
    <edge id="E1" from="J2" to="J3" priority="-1">
        <lane id="E1_0" index="0" allow="pedestrian" speed="13.89" length="98.00" width="2.00" shape="2.00,-4.20 100.00,-4.20"/>
        <lane id="E1_1" index="1" disallow="pedestrian" speed="13.89" length="98.00" shape="2.00,-1.60 100.00,-1.60"/>
    </edge>

    <tlLogic id="J2" type="static" programID="0" offset="0">
        <phase duration="77" state="GGr"/>
        <phase duration="3"  state="yyr"/>
        <phase duration="5"  state="rrG"/>
        <phase duration="5"  state="rrr"/>
    </tlLogic>

    <junction id="J1" type="dead_end" x="-100.00" y="0.00" incLanes="-E0_0 -E0_1" intLanes="" shape="-100.00,0.00 -100.00,5.20 -100.00,0.00"/>
    <junction id="J2" type="traffic_light" x="0.00" y="0.00" incLanes="-E1_0 -E1_1 E0_0 E0_1 :J2_w1_0" intLanes=":J2_0_0 :J2_1_0 :J2_c0_0" shape="2.00,5.20 2.00,-5.20 -2.00,-5.20 -2.00,5.20">
        <request index="0" response="100" foes="100" cont="0"/>
        <request index="1" response="100" foes="100" cont="0"/>
        <request index="2" response="000" foes="011" cont="0"/>
    </junction>
    <junction id="J3" type="dead_end" x="100.00" y="0.00" incLanes="E1_0 E1_1" intLanes="" shape="100.00,0.00 100.00,-5.20 100.00,0.00"/>

    <connection from="-E1" to="-E0" fromLane="1" toLane="1" via=":J2_0_0" tl="J2" linkIndex="0" dir="s" state="o"/>
    <connection from="E0" to="E1" fromLane="1" toLane="1" via=":J2_1_0" tl="J2" linkIndex="1" dir="s" state="o"/>

    <connection from=":J2_0" to="-E0" fromLane="0" toLane="1" dir="s" state="M"/>
    <connection from=":J2_1" to="E1" fromLane="0" toLane="1" dir="s" state="M"/>

    <connection from=":J1_w0" to="E0" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from="-E0" to=":J1_w0" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":J2_c0" to=":J2_w0" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":J2_w0" to="-E0" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from="-E1" to=":J2_w0" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":J2_w1" to=":J2_c0" fromLane="0" toLane="0" tl="J2" linkIndex="2" dir="s" state="M"/>
    <connection from=":J2_w1" to="E1" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from="E0" to=":J2_w1" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":J3_w0" to="-E1" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from="E1" to=":J3_w0" fromLane="0" toLane="0" dir="s" state="M"/>
</net>