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

<!-- generated on 2025-04-29 10:36:46 by Eclipse SUMO netconvert Version v1_22_0+1806-33294317c71
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-file value="net.net.xml"/>
        <plain-output-prefix value="plain"/>
    </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>

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

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

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

</netconvertConfiguration>
-->

<net version="1.20" 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="0.00,0.00,40.00,20.00" origBoundary="0.00,0.00,40.00,20.00" projParameter="!"/>

    <edge id=":node_left_0" function="internal">
        <lane id=":node_left_0_0" index="0" allow="bus" speed="13.90" length="12.95" shape="-5.66,5.66 -9.36,0.12 -9.66,-4.00 -6.54,-6.71 0.00,-8.00" changeLeft="authority"/>
        <lane id=":node_left_0_1" index="1" disallow="bicycle rail_fast" speed="13.90" length="12.95" shape="-3.39,3.39 -5.62,0.07 -5.79,-2.40 -3.92,-4.02 0.00,-4.80"/>
        <lane id=":node_left_0_2" index="2" speed="13.90" length="12.95" shape="-1.13,1.13 -1.87,0.02 -1.93,-0.80 -1.31,-1.34 0.00,-1.60"/>
    </edge>
    <edge id=":node_right_0" function="internal">
        <lane id=":node_right_0_0" index="0" allow="bus" speed="13.90" length="13.95" shape="40.00,-8.00 46.54,-6.71 49.66,-4.00 49.36,0.12 45.66,5.66"/>
        <lane id=":node_right_0_1" index="1" disallow="bicycle rail_fast" speed="13.90" length="13.95" shape="37.00,-4.80 40.00,-4.80 43.92,-4.02 45.79,-2.40 45.62,0.07 43.39,3.39"/>
        <lane id=":node_right_0_2" index="2" speed="13.90" length="13.95" shape="40.00,-1.60 41.31,-1.34 41.93,-0.80 41.87,0.02 41.13,1.13"/>
    </edge>

    <edge id="edge_with_shape" from="node_right" to="node_left" priority="-1" type="testType" shape="40.00,0.00 20.00,20.00 0.00,0.00">
        <lane id="edge_with_shape_0" index="0" allow="bus" speed="13.90" length="66.17" shape="45.66,5.66 20.00,31.31 -5.66,5.66" changeLeft="authority"/>
        <lane id="edge_with_shape_1" index="1" disallow="bicycle rail_fast" speed="13.90" length="66.17" shape="43.39,3.39 20.00,26.79 -3.39,3.39" changeLeft="emergency authority" changeRight="authority bicycle"/>
        <lane id="edge_with_shape_2" index="2" speed="13.90" length="66.17" shape="41.13,1.13 20.00,22.26 -1.13,1.13" changeRight="authority"/>
    </edge>
    <edge id="reverse_edge" from="node_left" to="node_right" priority="-1" distance="42.00">
        <lane id="reverse_edge_0" index="0" speed="13.90" length="39.00" shape="0.00,-8.00 40.00,-8.00"/>
        <lane id="reverse_edge_1" index="1" speed="13.90" length="39.00" endOffset="3.00" shape="0.00,-4.80 37.00,-4.80"/>
        <lane id="reverse_edge_2" index="2" speed="13.90" length="39.00" shape="0.00,-1.60 40.00,-1.60"/>
    </edge>

    <junction id="node_left" type="priority" x="0.00" y="0.00" incLanes="edge_with_shape_0 edge_with_shape_1 edge_with_shape_2" intLanes=":node_left_0_0 :node_left_0_1 :node_left_0_2" shape="0.00,0.00 0.00,-9.60 -6.79,6.79">
        <request index="0" response="000" foes="000" cont="0"/>
        <request index="1" response="000" foes="000" cont="0"/>
        <request index="2" response="000" foes="000" cont="0"/>
    </junction>
    <junction id="node_right" type="priority" x="40.00" y="0.00" incLanes="reverse_edge_0 reverse_edge_1 reverse_edge_2" intLanes=":node_right_0_0 :node_right_0_1 :node_right_0_2" shape="40.00,-0.00 46.79,6.79 40.00,-9.60">
        <request index="0" response="000" foes="000" cont="0"/>
        <request index="1" response="000" foes="000" cont="0"/>
        <request index="2" response="000" foes="000" cont="0"/>
    </junction>

    <connection from="edge_with_shape" to="reverse_edge" fromLane="0" toLane="0" changeLeft="authority" via=":node_left_0_0" dir="t" state="M"/>
    <connection from="edge_with_shape" to="reverse_edge" fromLane="1" toLane="1" via=":node_left_0_1" dir="t" state="M"/>
    <connection from="edge_with_shape" to="reverse_edge" fromLane="2" toLane="2" via=":node_left_0_2" dir="t" state="M"/>
    <connection from="reverse_edge" to="edge_with_shape" fromLane="0" toLane="0" via=":node_right_0_0" dir="t" state="M"/>
    <connection from="reverse_edge" to="edge_with_shape" fromLane="1" toLane="1" via=":node_right_0_1" dir="t" state="M"/>
    <connection from="reverse_edge" to="edge_with_shape" fromLane="2" toLane="2" via=":node_right_0_2" dir="t" state="M"/>

    <connection from=":node_left_0" to="reverse_edge" fromLane="0" toLane="0" dir="t" state="M"/>
    <connection from=":node_left_0" to="reverse_edge" fromLane="1" toLane="1" dir="t" state="M"/>
    <connection from=":node_left_0" to="reverse_edge" fromLane="2" toLane="2" dir="t" state="M"/>
    <connection from=":node_right_0" to="edge_with_shape" fromLane="0" toLane="0" dir="t" state="M"/>
    <connection from=":node_right_0" to="edge_with_shape" fromLane="1" toLane="1" dir="t" state="M"/>
    <connection from=":node_right_0" to="edge_with_shape" fromLane="2" toLane="2" dir="t" state="M"/>

</net>