Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Junction position mismatch with road length

Hello

I am working on a small project related to network simulation and I have created a network file from sumo. For the project to run I need the positions of the junction. But the positions are not matching according to the length of the roads. Is there any way that I can get the actual positions?

I have attached the files here for reference. Please help.
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 05/20/21 20:48:54 by Eclipse SUMO netedit Version 1.8.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>

    <input>
        <sumo-net-file value="C:\Users\ankit\Documents\Research\moyukh%20dada\demo1\ank-curved.net.xml"/>
    </input>

    <output>
        <output-file value="C:\Users\ankit\Documents\Research\moyukh%20dada\demo1\ank-curved.net.xml"/>
    </output>

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

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

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

    <report>
        <aggregate-warnings value="5"/>
    </report>

</configuration>
-->

<net version="1.6" 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="-67.62,-0.70,130.74,70.50" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>

    <edge id=":gneJ1_0" function="internal">
        <lane id=":gneJ1_0_0" index="0" speed="5.37" length="1.82" width="5.00" shape="100.00,67.99 100.54,67.98 100.91,67.91 101.23,67.72 101.65,67.38"/>
    </edge>
    <edge id=":gneJ2_0" function="internal">
        <lane id=":gneJ2_0_0" index="0" speed="5.44" length="1.72" width="5.00" shape="122.83,49.00 123.20,48.66 123.42,48.38 123.55,48.05 123.65,47.55"/>
    </edge>
    <edge id=":gneJ3_0" function="internal">
        <lane id=":gneJ3_0_0" index="0" speed="5.08" length="2.40" width="5.00" shape="127.82,24.56 127.86,23.94 127.76,23.36 127.52,22.84 127.13,22.35"/>
    </edge>
    <edge id=":gneJ4_0" function="internal">
        <lane id=":gneJ4_0_0" index="0" speed="5.24" length="1.97" width="5.00" shape="108.07,3.12 107.69,2.80 107.27,2.57 106.81,2.43 106.31,2.38"/>
    </edge>
    <edge id=":gneJ5_0" function="internal">
        <lane id=":gneJ5_0_0" index="0" speed="5.22" length="2.02" width="5.00" shape="-42.56,1.81 -43.07,1.85 -43.54,2.00 -43.97,2.24 -44.36,2.57"/>
    </edge>
    <edge id=":gneJ6_0" function="internal">
        <lane id=":gneJ6_0_0" index="0" speed="5.30" length="1.96" width="5.00" shape="-64.42,23.31 -64.80,23.74 -65.01,24.08 -65.10,24.48 -65.12,25.05"/>
    </edge>

    <edge id="0" from="gneJ0" to="gneJ1" priority="-1" length="2000.00">
        <lane id="0_0" index="0" speed="13.89" length="2000.00" width="5.00" shape="-49.40,67.57 100.00,67.99"/>
    </edge>
    <edge id="1" from="gneJ1" to="gneJ2" priority="-1" length="200.00">
        <lane id="1_0" index="0" speed="13.89" length="200.00" width="5.00" shape="101.65,67.38 122.83,49.00"/>
    </edge>
    <edge id="2" from="gneJ2" to="gneJ3" priority="-1" length="200.00">
        <lane id="2_0" index="0" speed="13.89" length="200.00" width="5.00" shape="123.65,47.55 127.82,24.56"/>
    </edge>
    <edge id="3" from="gneJ3" to="gneJ4" priority="-1" length="200.00">
        <lane id="3_0" index="0" speed="13.89" length="200.00" width="5.00" shape="127.13,22.35 108.07,3.12"/>
    </edge>
    <edge id="4" from="gneJ4" to="gneJ5" priority="-1" length="2000.00">
        <lane id="4_0" index="0" speed="13.89" length="2000.00" width="5.00" shape="106.31,2.38 -42.56,1.81"/>
    </edge>
    <edge id="5" from="gneJ5" to="gneJ6" priority="-1" length="200.00">
        <lane id="5_0" index="0" speed="13.89" length="200.00" width="5.00" shape="-44.36,2.57 -64.42,23.31"/>
    </edge>
    <edge id="6" from="gneJ6" to="gneJ7" priority="-1" length="200.00">
        <lane id="6_0" index="0" speed="13.89" length="200.00" width="5.00" shape="-65.12,25.05 -65.12,53.51"/>
    </edge>
    <edge id="7" from="gneJ0" to="gneJ7" priority="-1" length="200.00">
        <lane id="7_0" index="0" speed="13.89" length="200.00" width="5.00" shape="-53.66,65.98 -63.11,57.88"/>
    </edge>

    <junction id="gneJ0" type="dead_end" x="-45.04" y="70.08" incLanes="" intLanes="" shape="-49.41,70.07 -49.39,65.07 -50.46,65.02 -50.84,64.92 -51.18,64.75 -51.56,64.48 -52.03,64.09 -55.28,67.88 -53.40,69.35 -52.63,69.74 -51.79,69.95 -50.76,70.04"/>
    <junction id="gneJ1" type="priority" x="101.87" y="70.50" incLanes="0_0" intLanes=":gneJ1_0_0" shape="103.29,69.27 100.01,65.49 99.99,70.49 101.33,70.44 101.80,70.32 102.23,70.10 102.70,69.76">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="gneJ2" type="priority" x="125.80" y="49.73" incLanes="1_0" intLanes=":gneJ2_0_0" shape="126.11,48.00 121.19,47.11 124.47,50.88 125.39,50.01 125.65,49.65 125.83,49.23 125.98,48.70">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="gneJ3" type="priority" x="130.74" y="22.44" incLanes="2_0" intLanes=":gneJ3_0_0" shape="128.91,20.59 125.36,24.11 130.28,25.00 130.33,23.37 130.17,22.62 129.87,21.90 129.45,21.23">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="gneJ4" type="priority" x="108.39" y="-0.11" incLanes="3_0" intLanes=":gneJ4_0_0" shape="106.30,4.88 109.85,1.36 108.81,0.54 108.24,0.26 107.63,0.05 106.99,-0.07 106.32,-0.12">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="gneJ5" type="priority" x="-44.68" y="-0.70" incLanes="4_0" intLanes=":gneJ5_0_0" shape="-42.57,4.31 -42.55,-0.69 -43.90,-0.53 -44.52,-0.31 -45.10,-0.02 -45.65,0.36 -46.16,0.83">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="gneJ6" type="priority" x="-67.62" y="23.03" incLanes="5_0" intLanes=":gneJ6_0_0" shape="-67.62,25.05 -62.62,25.05 -66.21,21.58 -67.16,22.66 -67.41,23.12 -67.55,23.62 -67.61,24.24">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="gneJ7" type="dead_end" x="-67.62" y="50.72" incLanes="7_0 6_0" intLanes="" shape="-64.74,59.78 -61.48,55.98 -62.11,55.27 -62.34,54.88 -62.49,54.45 -62.59,53.99 -62.62,53.51 -67.62,53.51 -67.30,55.89 -66.90,56.97 -66.34,57.98 -65.62,58.92"/>

    <connection from="0" to="1" fromLane="0" toLane="0" via=":gneJ1_0_0" dir="s" state="M"/>
    <connection from="1" to="2" fromLane="0" toLane="0" via=":gneJ2_0_0" dir="s" state="M"/>
    <connection from="2" to="3" fromLane="0" toLane="0" via=":gneJ3_0_0" dir="r" state="M"/>
    <connection from="3" to="4" fromLane="0" toLane="0" via=":gneJ4_0_0" dir="r" state="M"/>
    <connection from="4" to="5" fromLane="0" toLane="0" via=":gneJ5_0_0" dir="r" state="M"/>
    <connection from="5" to="6" fromLane="0" toLane="0" via=":gneJ6_0_0" dir="r" state="M"/>

    <connection from=":gneJ1_0" to="1" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ2_0" to="2" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":gneJ3_0" to="3" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":gneJ4_0" to="4" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":gneJ5_0" to="5" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":gneJ6_0" to="6" fromLane="0" toLane="0" dir="r" state="M"/>

</net>

Attachment: Screenshot (97)_LI.jpg
Description: JPEG image

Attachment: Screenshot (96)_LI.jpg
Description: JPEG image

Attachment: Screenshot (95)_LI.jpg
Description: JPEG image


Back to the top