Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] NetConvert Issue

Hello, 

I am currently working on using NetConvert to convert an inpx file to a .net.xml file for a simulation project. The inpx and .net.xml file, and a screenshot of the netconvert command and the file in NetEdit are attached below. However, when the inpx file is converted to the .net.xml file, the y-coordinates are not consistent with the original file. The center-line of the lanes should be at 84.7m, but after conversion they are off (between 82 and 84.7m). Please let me know if there are any apparent issues with the code or any additional options that should be used with netconvert. 

Thanks. 
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 02/19/19 11:18:09 by Eclipse SUMO netconvert Version 1.1.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>

    <input>
        <vissim-file value="for_sumo_network.inpx"/>
    </input>

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

</configuration>
-->

<net version="1.1" 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="9857.29,2960.92" convBoundary="0.00,0.00,13478.15,3045.58" origBoundary="-9857.29,-2960.92,3620.86,84.65" projParameter="!"/>

    <edge id=":0_0" function="internal">
        <lane id=":0_0_0" index="0" speed="13.89" length="8.29" shape="1921.82,3043.62 1924.24,3043.43 1925.87,3042.91 1927.50,3042.36 1929.92,3042.11"/>
    </edge>
    <edge id=":0_1" function="internal">
        <lane id=":0_1_0" index="0" speed="13.89" length="8.10" shape="1921.87,3042.12 1929.92,3042.11"/>
        <lane id=":0_1_1" index="1" speed="13.89" length="8.10" shape="1921.77,3045.32 1929.92,3045.31"/>
    </edge>
    <edge id=":1_0" function="internal">
        <lane id=":1_0_0" index="0" speed="13.89" length="8.29" shape="6548.21,3043.56 6550.63,3043.37 6552.26,3042.84 6553.88,3042.29 6556.31,3042.04"/>
    </edge>
    <edge id=":1_1" function="internal">
        <lane id=":1_1_0" index="0" speed="13.89" length="8.10" shape="6548.26,3042.04 6556.31,3042.04"/>
        <lane id=":1_1_1" index="1" speed="13.89" length="8.10" shape="6548.16,3045.24 6556.30,3045.24"/>
    </edge>
    <edge id=":2_0" function="internal">
        <lane id=":2_0_0" index="0" speed="13.89" length="55.13" shape="9469.98,3043.97 9525.00,3040.51"/>
    </edge>
    <edge id=":2_1" function="internal">
        <lane id=":2_1_0" index="0" speed="13.89" length="55.14" shape="9469.98,3043.97 9525.12,3043.98"/>
        <lane id=":2_1_1" index="1" speed="13.89" length="55.14" shape="9469.98,3047.17 9525.12,3047.18"/>
    </edge>
    <edge id=":3_0" function="internal">
        <lane id=":3_0_0" index="0" speed="13.89" length="0.16" shape="1578.68,3033.19 1578.82,3033.29"/>
    </edge>
    <edge id=":4_0" function="internal">
        <lane id=":4_0_0" index="0" speed="13.89" length="0.16" shape="6205.52,3033.21 6205.65,3033.31"/>
    </edge>
    <edge id=":5_0" function="internal">
        <lane id=":5_0_0" index="0" speed="13.89" length="0.10" shape="9708.93,3028.00 9709.02,3028.00"/>
    </edge>

    <edge id="1[0]" from="1-begin" to="0" priority="-1" type="3" spreadType="center">
        <lane id="1[0]_0" index="0" speed="13.89" length="1921.82" shape="-0.00,3043.97 1921.87,3042.12"/>
        <lane id="1[0]_1" index="1" speed="13.89" length="1921.82" shape="0.00,3047.17 1921.77,3045.32"/>
    </edge>
    <edge id="1[1][0]" from="0" to="1" priority="-1" type="3" spreadType="center">
        <lane id="1[1][0]_0" index="0" speed="13.89" length="4618.29" shape="1929.92,3042.11 6548.26,3042.04"/>
        <lane id="1[1][0]_1" index="1" speed="13.89" length="4618.29" shape="1929.92,3045.31 6548.16,3045.24"/>
    </edge>
    <edge id="1[1][1][0]" from="1" to="2" priority="-1" type="3" spreadType="center">
        <lane id="1[1][1][0]_0" index="0" speed="13.89" length="2913.67" shape="6556.31,3042.04 9469.98,3043.97"/>
        <lane id="1[1][1][0]_1" index="1" speed="13.89" length="2913.67" shape="6556.30,3045.24 9469.98,3047.17"/>
    </edge>
    <edge id="1[1][1][1]" from="2" to="1-end" priority="-1" type="3" spreadType="center">
        <lane id="1[1][1][1]_0" index="0" speed="13.89" length="3953.03" shape="9525.12,3043.98 13478.15,3043.98"/>
        <lane id="1[1][1][1]_1" index="1" speed="13.89" length="3953.03" shape="9525.12,3047.18 13478.15,3047.18"/>
    </edge>
    <edge id="2" from="2-begin" to="3" priority="-1" type="3" spreadType="center" shape="1140.00,2611.66 1142.15,2638.02 1145.11,2664.79 1148.69,2687.30 1153.27,2706.63 1159.73,2726.80 1169.72,2751.57 1181.10,2774.18 1193.06,2792.89 1205.56,2809.67 1218.10,2824.69 1233.48,2840.75 1252.12,2858.10 1272.09,2877.05 1294.40,2898.40 1313.29,2916.50 1339.73,2941.50 1361.47,2962.05 1382.12,2978.98 1400.76,2991.18 1417.55,3000.68 1435.55,3008.89 1453.25,3015.76 1475.16,3022.40 1492.59,3026.31 1513.10,3029.34 1538.17,3031.41 1578.68,3033.19">
        <lane id="2_0" index="0" speed="13.89" length="664.75" shape="1140.00,2611.66 1142.15,2638.02 1145.11,2664.79 1148.69,2687.30 1153.27,2706.63 1159.73,2726.80 1169.72,2751.57 1181.10,2774.18 1193.06,2792.89 1205.56,2809.67 1218.10,2824.69 1233.48,2840.75 1252.12,2858.10 1272.09,2877.05 1294.40,2898.40 1313.29,2916.50 1339.73,2941.50 1361.47,2962.05 1382.12,2978.98 1400.76,2991.18 1417.55,3000.68 1435.55,3008.89 1453.25,3015.76 1475.16,3022.40 1492.59,3026.31 1513.10,3029.34 1538.17,3031.41 1578.68,3033.19"/>
    </edge>
    <edge id="3" from="3" to="0" priority="-1" type="3" spreadType="center" shape="1578.82,3033.29 1926.81,3043.77">
        <lane id="3_0" index="0" speed="13.89" length="343.16" shape="1578.82,3033.29 1921.82,3043.62"/>
    </edge>
    <edge id="4" from="4-begin" to="4" priority="-1" type="3" spreadType="center" shape="5766.83,2611.68 5768.99,2638.04 5771.94,2664.81 5775.53,2687.32 5780.11,2706.65 5786.57,2726.82 5796.56,2751.59 5807.94,2774.20 5819.90,2792.91 5832.40,2809.69 5844.94,2824.71 5860.32,2840.77 5878.96,2858.12 5898.93,2877.07 5921.24,2898.42 5940.13,2916.52 5966.57,2941.52 5988.31,2962.07 6008.96,2979.00 6027.60,2991.20 6044.39,3000.70 6062.39,3008.91 6080.09,3015.78 6102.00,3022.42 6119.43,3026.33 6139.94,3029.36 6165.01,3031.43 6205.52,3033.21">
        <lane id="4_0" index="0" speed="13.89" length="664.75" shape="5766.83,2611.68 5768.99,2638.04 5771.94,2664.81 5775.53,2687.32 5780.11,2706.65 5786.57,2726.82 5796.56,2751.59 5807.94,2774.20 5819.90,2792.91 5832.40,2809.69 5844.94,2824.71 5860.32,2840.77 5878.96,2858.12 5898.93,2877.07 5921.24,2898.42 5940.13,2916.52 5966.57,2941.52 5988.31,2962.07 6008.96,2979.00 6027.60,2991.20 6044.39,3000.70 6062.39,3008.91 6080.09,3015.78 6102.00,3022.42 6119.43,3026.33 6139.94,3029.36 6165.01,3031.43 6205.52,3033.21"/>
    </edge>
    <edge id="5" from="4" to="1" priority="-1" type="3" spreadType="center" shape="6205.65,3033.31 6553.66,3043.72">
        <lane id="5_0" index="0" speed="13.89" length="342.71" shape="6205.65,3033.31 6548.21,3043.56"/>
    </edge>
    <edge id="6" from="2" to="5" priority="-1" type="3" spreadType="center" shape="9477.78,3043.72 9708.93,3028.00">
        <lane id="6_0" index="0" speed="13.89" length="184.35" shape="9525.00,3040.51 9708.93,3028.00"/>
    </edge>
    <edge id="7" from="5" to="7-end" priority="-1" type="3" spreadType="center" shape="9709.02,3028.00 9724.03,3026.63 9738.80,3025.21 9748.88,3024.25 9758.83,3023.10 9768.15,3021.94 9777.86,3020.37 9787.27,3018.58 9796.43,3016.37 9807.32,3013.61 9820.19,3009.57 9832.78,3005.03 9843.45,3000.69 9854.38,2995.60 9864.64,2990.37 9874.42,2984.88 9883.83,2979.15 9893.42,2972.76 9904.96,2964.23 9915.18,2955.90 9924.16,2948.07 9932.78,2939.73 9941.75,2930.33 9951.57,2920.18 9979.62,2890.57 10004.54,2864.49 10043.85,2823.19 10078.53,2784.31 10103.99,2738.90 10120.46,2693.97 10127.83,2647.19 10143.65,0.00">
        <lane id="7_0" index="0" speed="13.89" length="3254.28" shape="9709.02,3028.00 9724.03,3026.63 9738.80,3025.21 9748.88,3024.25 9758.83,3023.10 9768.15,3021.94 9777.86,3020.37 9787.27,3018.58 9796.43,3016.37 9807.32,3013.61 9820.19,3009.57 9832.78,3005.03 9843.45,3000.69 9854.38,2995.60 9864.64,2990.37 9874.42,2984.88 9883.83,2979.15 9893.42,2972.76 9904.96,2964.23 9915.18,2955.90 9924.16,2948.07 9932.78,2939.73 9941.75,2930.33 9951.57,2920.18 9979.62,2890.57 10004.54,2864.49 10043.85,2823.19 10078.53,2784.31 10103.99,2738.90 10120.46,2693.97 10127.83,2647.19 10143.65,0.00"/>
    </edge>

    <junction id="0" type="priority" x="1925.03" y="3043.71" incLanes="3_0 1[0]_0 1[0]_1" intLanes=":0_0_0 :0_1_0 :0_1_1" shape="1929.92,3046.91 1929.92,3040.51 1921.92,3040.52 1921.77,3045.21 1924.81,3045.71 1925.85,3046.11 1926.88,3046.50 1928.16,3046.80">
        <request index="0" response="110" foes="110" cont="0"/>
        <request index="1" response="000" foes="001" cont="0"/>
        <request index="2" response="000" foes="001" cont="0"/>
    </junction>
    <junction id="1" type="priority" x="6550.95" y="3043.64" incLanes="5_0 1[1][0]_0 1[1][0]_1" intLanes=":1_0_0 :1_1_0 :1_1_1" shape="6556.30,3046.84 6556.31,3040.44 6548.31,3040.44 6548.16,3045.16 6551.20,3045.65 6552.23,3046.04 6553.27,3046.43 6554.55,3046.72">
        <request index="0" response="110" foes="110" cont="0"/>
        <request index="1" response="000" foes="001" cont="0"/>
        <request index="2" response="000" foes="001" cont="0"/>
    </junction>
    <junction id="1-begin" type="dead_end" x="0.00" y="3045.57" incLanes="" intLanes="" shape="0.00,3048.77 -0.00,3042.37"/>
    <junction id="1-end" type="dead_end" x="13478.15" y="3045.58" incLanes="1[1][1][1]_0 1[1][1][1]_1" intLanes="" shape="13478.15,3042.38 13478.15,3048.78"/>
    <junction id="2" type="priority" x="9476.95" y="3045.58" incLanes="1[1][1][0]_0 1[1][1][0]_1" intLanes=":2_0_0 :2_1_0 :2_1_1" shape="9525.12,3048.78 9525.12,3042.38 9525.11,3042.10 9524.89,3038.91 9469.98,3042.37 9469.98,3048.77">
        <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="2-begin" type="dead_end" x="1140.00" y="2611.66" incLanes="" intLanes="" shape="1138.40,2611.79 1141.59,2611.53"/>
    <junction id="3" type="priority" x="1577.66" y="3033.15" incLanes="2_0" intLanes=":3_0_0" shape="1578.84,3034.89 1578.94,3031.69 1578.84,3031.66 1578.78,3031.62 1578.73,3031.60 1578.53,3034.79 1578.65,3034.82 1578.73,3034.86 1578.78,3034.88">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="4" type="priority" x="6204.50" y="3033.17" incLanes="4_0" intLanes=":4_0_0" shape="6205.68,3034.91 6205.78,3031.71 6205.68,3031.68 6205.61,3031.64 6205.57,3031.62 6205.37,3034.81 6205.49,3034.84 6205.57,3034.88 6205.61,3034.90">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="4-begin" type="dead_end" x="5766.83" y="2611.68" incLanes="" intLanes="" shape="5765.24,2611.81 5768.43,2611.55"/>
    <junction id="5" type="priority" x="9707.52" y="3028.10" incLanes="6_0" intLanes=":5_0_0" shape="9709.26,3029.58 9708.97,3026.40 9708.73,3026.41 9708.95,3029.60">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="7-end" type="dead_end" x="10143.65" y="0.00" incLanes="7_0" intLanes="" shape="10142.05,-0.01 10145.25,0.01"/>

    <connection from="1[0]" to="1[1][0]" fromLane="0" toLane="0" via=":0_1_0" dir="s" state="M"/>
    <connection from="1[0]" to="1[1][0]" fromLane="1" toLane="1" via=":0_1_1" dir="s" state="M"/>
    <connection from="1[1][0]" to="1[1][1][0]" fromLane="0" toLane="0" via=":1_1_0" dir="s" state="M"/>
    <connection from="1[1][0]" to="1[1][1][0]" fromLane="1" toLane="1" via=":1_1_1" dir="s" state="M"/>
    <connection from="1[1][1][0]" to="6" fromLane="0" toLane="0" via=":2_0_0" dir="s" state="M"/>
    <connection from="1[1][1][0]" to="1[1][1][1]" fromLane="0" toLane="0" via=":2_1_0" dir="s" state="M"/>
    <connection from="1[1][1][0]" to="1[1][1][1]" fromLane="1" toLane="1" via=":2_1_1" dir="s" state="M"/>
    <connection from="2" to="3" fromLane="0" toLane="0" via=":3_0_0" dir="s" state="M"/>
    <connection from="3" to="1[1][0]" fromLane="0" toLane="0" via=":0_0_0" dir="s" state="m"/>
    <connection from="4" to="5" fromLane="0" toLane="0" via=":4_0_0" dir="s" state="M"/>
    <connection from="5" to="1[1][1][0]" fromLane="0" toLane="0" via=":1_0_0" dir="s" state="m"/>
    <connection from="6" to="7" fromLane="0" toLane="0" via=":5_0_0" dir="s" state="M"/>

    <connection from=":0_0" to="1[1][0]" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":0_1" to="1[1][0]" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":0_1" to="1[1][0]" fromLane="1" toLane="1" dir="s" state="M"/>
    <connection from=":1_0" to="1[1][1][0]" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":1_1" to="1[1][1][0]" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":1_1" to="1[1][1][0]" fromLane="1" toLane="1" dir="s" state="M"/>
    <connection from=":2_0" to="6" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":2_1" to="1[1][1][1]" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":2_1" to="1[1][1][1]" fromLane="1" toLane="1" dir="s" state="M"/>
    <connection from=":3_0" to="3" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":4_0" to="5" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":5_0" to="7" fromLane="0" toLane="0" dir="s" state="M"/>

</net>

Attachment: CMD.PNG
Description: PNG image

Attachment: for_sumo_network.inpx
Description: Binary data

Attachment: NETEDIT.pdf
Description: Adobe PDF document


Back to the top