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

<!-- generated on 2024-02-29 13:36:51 by Eclipse SUMO netgenerate Version v1_19_0+1092-a49a04372af
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
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netgenerateConfiguration.xsd">

    <grid_network>
        <grid value="true"/>
        <grid.number value="2"/>
        <grid.length value="400"/>
    </grid_network>

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

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

</configuration>
-->

<net version="1.20" junctionCornerDetail="5" limitTurnSpeed="5.50" 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="0.00,0.00,400.00,400.00" origBoundary="0.00,0.00,400.00,400.00" projParameter="!"/>

    <edge id=":A0_0" function="internal">
        <lane id=":A0_0_0" index="0" speed="6.08" length="7.74" shape="-1.60,3.20 -1.30,1.10 -0.40,-0.40 1.10,-1.30 3.20,-1.60"/>
    </edge>
    <edge id=":A0_1" function="internal">
        <lane id=":A0_1_0" index="0" speed="3.90" length="2.58" shape="3.20,1.60 2.50,1.70 2.00,2.00 1.70,2.50 1.60,3.20"/>
    </edge>
    <edge id=":A1_0" function="internal">
        <lane id=":A1_0_0" index="0" speed="6.08" length="7.74" shape="3.20,401.60 1.10,401.30 -0.40,400.40 -1.30,398.90 -1.60,396.80"/>
    </edge>
    <edge id=":A1_1" function="internal">
        <lane id=":A1_1_0" index="0" speed="3.90" length="2.58" shape="1.60,396.80 1.70,397.50 2.00,398.00 2.50,398.30 3.20,398.40"/>
    </edge>
    <edge id=":B0_0" function="internal">
        <lane id=":B0_0_0" index="0" speed="3.90" length="2.58" shape="398.40,3.20 398.30,2.50 398.00,2.00 397.50,1.70 396.80,1.60"/>
    </edge>
    <edge id=":B0_1" function="internal">
        <lane id=":B0_1_0" index="0" speed="6.08" length="7.74" shape="396.80,-1.60 398.90,-1.30 400.40,-0.40 401.30,1.10 401.60,3.20"/>
    </edge>
    <edge id=":B1_0" function="internal">
        <lane id=":B1_0_0" index="0" speed="6.08" length="7.74" shape="401.60,396.80 401.30,398.90 400.40,400.40 398.90,401.30 396.80,401.60"/>
    </edge>
    <edge id=":B1_1" function="internal">
        <lane id=":B1_1_0" index="0" speed="3.90" length="2.58" shape="396.80,398.40 397.50,398.30 398.00,398.00 398.30,397.50 398.40,396.80"/>
    </edge>

    <edge id="A0A1" from="A0" to="A1" priority="-1">
        <lane id="A0A1_0" index="0" speed="13.89" length="393.60" shape="1.60,3.20 1.60,396.80"/>
    </edge>
    <edge id="A0B0" from="A0" to="B0" priority="-1">
        <lane id="A0B0_0" index="0" speed="13.89" length="393.60" shape="3.20,-1.60 396.80,-1.60"/>
    </edge>
    <edge id="A1A0" from="A1" to="A0" priority="-1">
        <lane id="A1A0_0" index="0" speed="13.89" length="393.60" shape="-1.60,396.80 -1.60,3.20"/>
    </edge>
    <edge id="A1B1" from="A1" to="B1" priority="-1">
        <lane id="A1B1_0" index="0" speed="13.89" length="393.60" shape="3.20,398.40 396.80,398.40"/>
    </edge>
    <edge id="B0A0" from="B0" to="A0" priority="-1">
        <lane id="B0A0_0" index="0" speed="13.89" length="393.60" shape="396.80,1.60 3.20,1.60"/>
    </edge>
    <edge id="B0B1" from="B0" to="B1" priority="-1">
        <lane id="B0B1_0" index="0" speed="13.89" length="393.60" shape="401.60,3.20 401.60,396.80"/>
    </edge>
    <edge id="B1A1" from="B1" to="A1" priority="-1">
        <lane id="B1A1_0" index="0" speed="13.89" length="393.60" shape="396.80,401.60 3.20,401.60"/>
    </edge>
    <edge id="B1B0" from="B1" to="B0" priority="-1">
        <lane id="B1B0_0" index="0" speed="13.89" length="393.60" shape="398.40,396.80 398.40,3.20"/>
    </edge>

    <junction id="A0" type="priority" x="0.00" y="0.00" incLanes="A1A0_0 B0A0_0" intLanes=":A0_0_0 :A0_1_0" shape="-3.20,3.20 3.20,3.20 3.20,-3.20 -0.36,-2.49 -1.60,-1.60 -2.49,-0.36 -3.02,1.24">
        <request index="0" response="00" foes="00" cont="0"/>
        <request index="1" response="00" foes="00" cont="0"/>
    </junction>
    <junction id="A1" type="priority" x="0.00" y="400.00" incLanes="B1A1_0 A0A1_0" intLanes=":A1_0_0 :A1_1_0" shape="3.20,403.20 3.20,396.80 -3.20,396.80 -2.49,400.36 -1.60,401.60 -0.36,402.49 1.24,403.02">
        <request index="0" response="00" foes="00" cont="0"/>
        <request index="1" response="00" foes="00" cont="0"/>
    </junction>
    <junction id="B0" type="priority" x="400.00" y="0.00" incLanes="B1B0_0 A0B0_0" intLanes=":B0_0_0 :B0_1_0" shape="396.80,3.20 403.20,3.20 402.49,-0.36 401.60,-1.60 400.36,-2.49 398.76,-3.02 396.80,-3.20">
        <request index="0" response="00" foes="00" cont="0"/>
        <request index="1" response="00" foes="00" cont="0"/>
    </junction>
    <junction id="B1" type="priority" x="400.00" y="400.00" incLanes="B0B1_0 A1B1_0" intLanes=":B1_0_0 :B1_1_0" shape="403.20,396.80 396.80,396.80 396.80,403.20 400.36,402.49 401.60,401.60 402.49,400.36 403.02,398.76">
        <request index="0" response="00" foes="00" cont="0"/>
        <request index="1" response="00" foes="00" cont="0"/>
    </junction>

    <connection from="A0A1" to="A1B1" fromLane="0" toLane="0" via=":A1_1_0" dir="r" state="M"/>
    <connection from="A0B0" to="B0B1" fromLane="0" toLane="0" via=":B0_1_0" dir="l" state="M"/>
    <connection from="A1A0" to="A0B0" fromLane="0" toLane="0" via=":A0_0_0" dir="l" state="M"/>
    <connection from="A1B1" to="B1B0" fromLane="0" toLane="0" via=":B1_1_0" dir="r" state="M"/>
    <connection from="B0A0" to="A0A1" fromLane="0" toLane="0" via=":A0_1_0" dir="r" state="M"/>
    <connection from="B0B1" to="B1A1" fromLane="0" toLane="0" via=":B1_0_0" dir="l" state="M"/>
    <connection from="B1A1" to="A1A0" fromLane="0" toLane="0" via=":A1_0_0" dir="l" state="M"/>
    <connection from="B1B0" to="B0A0" fromLane="0" toLane="0" via=":B0_0_0" dir="r" state="M"/>

    <connection from=":A0_0" to="A0B0" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":A0_1" to="A0A1" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":A1_0" to="A1A0" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":A1_1" to="A1B1" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":B0_0" to="B0A0" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":B0_1" to="B0B1" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":B1_0" to="B1A1" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":B1_1" to="B1B0" fromLane="0" toLane="0" dir="r" state="M"/>

</net>