Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] [EXTERNAL] Re: netconvert add sidewalks and crossings

Hello,

I am trying to add sidewalks to the following test network using netconvert. The sumo version is 1.20.0 and the command I used was:
netconvert -s test.net.xml --sidewalks.guess.max-speed 22.0 --walkingareas 1 -o test1.net.xml

But it does not work. It seems to only add the following configuration to the original xml file:
image.png
Could you please help check? Thanks,

Rachael

On Thu, Sep 26, 2024 at 2:24 AM Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:
[Caution: Email from External Sender. Do not click or open links or attachments unless you know this sender.]
 
The sidewalk.guess function also checks against a minimum speed (default 5.8m/s) but should not depend on edge permissions.
If you can rule out the minimum speed as an explanation, please provide a small sample network for investigation.

Am Mi., 25. Sept. 2024 um 19:25 Uhr schrieb Rachael Yuan via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello,

I got a network from osm but some edges miss sidewalks and they disallow pedestrians. Also, there are no pedestrian crossings for all the intersections. I am trying to use netconvert to add sidewalks for those edges and add crossings as follows:
netconvert -s osm.net.xml --sidewalks.guess.max-speed 22.0 --crossings.guess t --ignore-errors.edge-type t -o osm1.net.xml

It turns out that no sidewalks were added to the edges that disallow pedestrians and there were no crossings added to any intersections. Could you please let me know what might be the problem? Do I have to change the allow type for the edges first? If so, is there a quick way to change the allow type for all the desired edges?

Thanks and regards,

Rachael
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-09-27 15:05:37 by Eclipse SUMO netedit Version 1.20.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/neteditConfiguration.xsd";>

    <input>
        <sumo-net-file value="C:\Users\yyuan7\OneDrive - University of North Carolina at Charlotte\Documents\2025_fall\wilson_sumo_simulation\Wilson_SUMO_0312_randomTrips\Wilson_SUMO_0312_randomTrips\osm.net.xml\test.net.xml"/>
    </input>

    <output>
        <output-file value="C:\Users\yyuan7\OneDrive - University of North Carolina at Charlotte\Documents\2025_fall\wilson_sumo_simulation\Wilson_SUMO_0312_randomTrips\Wilson_SUMO_0312_randomTrips\osm.net.xml\test.net.xml"/>
    </output>

    <processing>
        <geometry.min-radius.fix.railways 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="5"/>
        <junctions.limit-turn-speed value="5.50"/>
        <rectangular-lane-cut value="0"/>
    </junctions>

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

</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="-84.15,-8.80,32.71,93.55" origBoundary="-10000000000.00,-10000000000.00,10000000000.00,10000000000.00" projParameter="!"/>

    <edge id=":J6_0" function="internal">
        <lane id=":J6_0_0" index="0" disallow="pedestrian" speed="6.54" length="9.07" shape="-22.58,31.68 -25.04,32.01 -26.80,33.05 -27.88,34.80 -28.27,37.26"/>
    </edge>
    <edge id=":J6_1" function="internal">
        <lane id=":J6_1_0" index="0" disallow="pedestrian" speed="21.00" length="14.42" shape="-22.58,31.68 -37.00,31.53"/>
    </edge>
    <edge id=":J6_2" function="internal">
        <lane id=":J6_2_0" index="0" disallow="pedestrian" speed="8.02" length="4.07" shape="-22.58,31.68 -26.42,31.10 -26.58,31.00"/>
    </edge>
    <edge id=":J6_12" function="internal">
        <lane id=":J6_12_0" index="0" disallow="pedestrian" speed="8.02" length="10.14" shape="-26.58,31.00 -29.15,29.42 -30.79,26.65 -31.33,22.79"/>
    </edge>
    <edge id=":J6_3" function="internal">
        <lane id=":J6_3_0" index="0" disallow="pedestrian" speed="6.53" length="9.07" shape="-28.13,22.80 -27.78,25.27 -26.74,27.04 -25.00,28.11 -22.55,28.48"/>
    </edge>
    <edge id=":J6_4" function="internal">
        <lane id=":J6_4_0" index="0" disallow="pedestrian" speed="21.00" length="14.46" shape="-28.13,22.80 -28.27,37.26"/>
    </edge>
    <edge id=":J6_5" function="internal">
        <lane id=":J6_5_0" index="0" disallow="pedestrian" speed="7.99" length="14.23" shape="-28.13,22.80 -28.69,26.66 -30.36,29.40 -33.13,31.03 -37.00,31.53"/>
    </edge>
    <edge id=":J6_6" function="internal">
        <lane id=":J6_6_0" index="0" disallow="pedestrian" speed="6.49" length="9.03" shape="-36.96,28.33 -34.50,28.01 -32.74,26.98 -31.68,25.24 -31.33,22.79"/>
    </edge>
    <edge id=":J6_7" function="internal">
        <lane id=":J6_7_0" index="0" disallow="pedestrian" speed="21.00" length="14.41" shape="-36.96,28.33 -22.55,28.48"/>
    </edge>
    <edge id=":J6_8" function="internal">
        <lane id=":J6_8_0" index="0" disallow="pedestrian" speed="8.00" length="4.06" shape="-36.96,28.33 -33.10,28.93 -32.97,29.01"/>
    </edge>
    <edge id=":J6_13" function="internal">
        <lane id=":J6_13_0" index="0" disallow="pedestrian" speed="8.00" length="10.16" shape="-32.97,29.01 -30.37,30.62 -28.76,33.39 -28.27,37.26"/>
    </edge>
    <edge id=":J6_9" function="internal">
        <lane id=":J6_9_0" index="0" disallow="pedestrian" speed="6.50" length="9.04" shape="-31.47,37.21 -31.78,34.75 -32.81,32.98 -34.54,31.91 -37.00,31.53"/>
    </edge>
    <edge id=":J6_10" function="internal">
        <lane id=":J6_10_0" index="0" disallow="pedestrian" speed="21.00" length="14.42" shape="-31.47,37.21 -31.33,22.79"/>
    </edge>
    <edge id=":J6_11" function="internal">
        <lane id=":J6_11_0" index="0" disallow="pedestrian" speed="8.03" length="14.20" shape="-31.47,37.21 -30.86,33.36 -29.17,30.63 -26.40,29.00 -22.55,28.48"/>
    </edge>

    <edge id="-E3" from="J6" to="J5" priority="-1">
        <lane id="-E3_0" index="0" disallow="pedestrian" speed="21.00" length="56.32" shape="-28.27,37.26 -29.22,93.58"/>
    </edge>
    <edge id="-E4" from="J7" to="J6" priority="-1">
        <lane id="-E4_0" index="0" disallow="pedestrian" speed="21.00" length="55.28" shape="32.70,32.16 -22.58,31.68"/>
    </edge>
    <edge id="-E5" from="J8" to="J6" priority="-1">
        <lane id="-E5_0" index="0" disallow="pedestrian" speed="21.00" length="47.18" shape="-84.13,27.75 -36.96,28.33"/>
    </edge>
    <edge id="-E6" from="J9" to="J6" priority="-1">
        <lane id="-E6_0" index="0" disallow="pedestrian" speed="21.00" length="31.59" shape="-28.02,-8.79 -28.13,22.80"/>
    </edge>
    <edge id="E3" from="J5" to="J6" priority="-1">
        <lane id="E3_0" index="0" disallow="pedestrian" speed="21.00" length="56.32" shape="-32.42,93.52 -31.47,37.21"/>
    </edge>
    <edge id="E4" from="J6" to="J7" priority="-1">
        <lane id="E4_0" index="0" disallow="pedestrian" speed="21.00" length="55.28" shape="-22.55,28.48 32.72,28.96"/>
    </edge>
    <edge id="E5" from="J6" to="J8" priority="-1">
        <lane id="E5_0" index="0" disallow="pedestrian" speed="21.00" length="47.18" shape="-37.00,31.53 -84.17,30.95"/>
    </edge>
    <edge id="E6" from="J6" to="J9" priority="-1">
        <lane id="E6_0" index="0" disallow="pedestrian" speed="21.00" length="31.59" shape="-31.33,22.79 -31.22,-8.81"/>
    </edge>

    <junction id="J5" type="dead_end" x="-30.82" y="93.55" incLanes="-E3_0" intLanes="" shape="-30.82,93.55 -27.62,93.60 -30.82,93.55"/>
    <junction id="J6" type="priority" x="-29.75" y="30.02" incLanes="-E4_0 -E6_0 -E5_0 E3_0" intLanes=":J6_0_0 :J6_1_0 :J6_12_0 :J6_3_0 :J6_4_0 :J6_5_0 :J6_6_0 :J6_7_0 :J6_13_0 :J6_9_0 :J6_10_0 :J6_11_0" shape="-22.59,33.28 -22.54,26.88 -24.76,26.41 -25.54,25.84 -26.09,25.05 -26.42,24.04 -26.53,22.80 -32.93,22.78 -33.38,25.00 -33.94,25.77 -34.72,26.31 -35.72,26.64 -36.94,26.73 -37.02,33.13 -34.80,33.60 -34.02,34.17 -33.48,34.95 -33.16,35.96 -33.07,37.18 -26.67,37.29 -26.19,35.05 -25.62,34.27 -24.83,33.71 -23.82,33.38">
        <request index="0"  response="000000000000" foes="000100010000" cont="0"/>
        <request index="1"  response="000000000000" foes="111100110000" cont="0"/>
        <request index="2"  response="000111000000" foes="110111110000" cont="1"/>
        <request index="3"  response="000010000000" foes="100010000000" cont="0"/>
        <request index="4"  response="000110000111" foes="100110000111" cont="0"/>
        <request index="5"  response="111110000110" foes="111110000110" cont="0"/>
        <request index="6"  response="000000000000" foes="010000000100" cont="0"/>
        <request index="7"  response="000000000000" foes="110000111100" cont="0"/>
        <request index="8"  response="000000000011" foes="110000110111" cont="1"/>
        <request index="9"  response="000000000010" foes="000000100010" cont="0"/>
        <request index="10" response="000111000110" foes="000111100110" cont="0"/>
        <request index="11" response="000110011110" foes="000110111110" cont="0"/>
    </junction>
    <junction id="J7" type="dead_end" x="32.71" y="30.56" incLanes="E4_0" intLanes="" shape="32.71,30.56 32.74,27.36 32.71,30.56"/>
    <junction id="J8" type="dead_end" x="-84.15" y="29.35" incLanes="E5_0" intLanes="" shape="-84.15,29.35 -84.19,32.55 -84.15,29.35"/>
    <junction id="J9" type="dead_end" x="-29.62" y="-8.80" incLanes="E6_0" intLanes="" shape="-29.62,-8.80 -32.82,-8.81 -29.62,-8.80"/>

    <junction id=":J6_12_0" type="internal" x="-26.58" y="31.00" incLanes=":J6_2_0 -E5_0" intLanes=":J6_4_0 :J6_5_0 :J6_6_0 :J6_7_0 :J6_10_0 :J6_11_0"/>
    <junction id=":J6_13_0" type="internal" x="-32.97" y="29.01" incLanes=":J6_8_0 -E4_0" intLanes=":J6_0_0 :J6_1_0 :J6_4_0 :J6_5_0 :J6_10_0 :J6_11_0"/>

    <connection from="-E4" to="-E3" fromLane="0" toLane="0" via=":J6_0_0" dir="r" state="M"/>
    <connection from="-E4" to="E5" fromLane="0" toLane="0" via=":J6_1_0" dir="s" state="M"/>
    <connection from="-E4" to="E6" fromLane="0" toLane="0" via=":J6_2_0" dir="l" state="m"/>
    <connection from="-E5" to="E6" fromLane="0" toLane="0" via=":J6_6_0" dir="r" state="M"/>
    <connection from="-E5" to="E4" fromLane="0" toLane="0" via=":J6_7_0" dir="s" state="M"/>
    <connection from="-E5" to="-E3" fromLane="0" toLane="0" via=":J6_8_0" dir="l" state="m"/>
    <connection from="-E6" to="E4" fromLane="0" toLane="0" via=":J6_3_0" dir="r" state="m"/>
    <connection from="-E6" to="-E3" fromLane="0" toLane="0" via=":J6_4_0" dir="s" state="m"/>
    <connection from="-E6" to="E5" fromLane="0" toLane="0" via=":J6_5_0" dir="l" state="m"/>
    <connection from="E3" to="E5" fromLane="0" toLane="0" via=":J6_9_0" dir="r" state="m"/>
    <connection from="E3" to="E6" fromLane="0" toLane="0" via=":J6_10_0" dir="s" state="m"/>
    <connection from="E3" to="E4" fromLane="0" toLane="0" via=":J6_11_0" dir="l" state="m"/>

    <connection from=":J6_0" to="-E3" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":J6_1" to="E5" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":J6_2" to="E6" fromLane="0" toLane="0" via=":J6_12_0" dir="l" state="m"/>
    <connection from=":J6_12" to="E6" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":J6_3" to="E4" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":J6_4" to="-E3" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":J6_5" to="E5" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":J6_6" to="E6" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":J6_7" to="E4" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":J6_8" to="-E3" fromLane="0" toLane="0" via=":J6_13_0" dir="l" state="m"/>
    <connection from=":J6_13" to="-E3" fromLane="0" toLane="0" dir="l" state="M"/>
    <connection from=":J6_9" to="E5" fromLane="0" toLane="0" dir="r" state="M"/>
    <connection from=":J6_10" to="E6" fromLane="0" toLane="0" dir="s" state="M"/>
    <connection from=":J6_11" to="E4" fromLane="0" toLane="0" dir="l" state="M"/>

</net>

Back to the top