Hello,

I would like to report 3 bugs I have discovered in sumo, mostly regarding 
visualization. Here I explain what I am doing and the steps to reproduce the 
bugs, I also attached the SUMO files. I am running SUMO 0.30

I am building a simple network using Openstreetmaps and Netconvert, this 
network is the one of the file “Out_Red.net.xml”, the file has two edges. After 
that I edit it on NetEDIT to add some bus Stops and save the additionals file. 
Then I open all files on SumoGUI to run the simulation. When you open NetEdit 
and SumoGui simultaneously and place them side by side (as the image) you can 
observe the following things:


  1.  There is a differences on the positions of the two Bus Stops located left 
of the network (“BS_S2” and “BS_S1”). In SumoGUI they are slightly upper than 
as I set them on NetEdit (I take as reference the rectangled shapes in cyan 
color)
  2.  When I run the simulation, the bus stopped a little after the bus-stops 
“BS_S2” and “BS_S1”, I think is more a rendering problem of the bus-stop area.
  3.  In the polygons file, the POIs specify a lane and the position, when you 
load the file in SumoGUI it open without error however when you load it on 
NETEdit it shows an error that can`t parse the lane attribute, but if you 
modify the lane attribute from  lane="-30573_0"   to   lane="-30573"  it loads 
correctly on NETEdit. Also, the POIS render on slightly different positions 
comparing NETEdit and SumoGUI.


I think these are more a visualization problem in the rendering process that 
has to be compared between NETEdit and SumoGUI. Also It is possible to occur 
due to the “U” shape of the edge with id="-30573".

For my specific situation I noticed I can solve problems 1 and 2 by splitting 
the edge, creating a junction just before the “BS_S2” bus-stop.
I came up whith bug 3 while debbugging the posistions in the lane.

Thank you some much.
Best Regards,

Juan David Páez


<additionals>
	<busStop id="BS_N1" lane="-30573_0" startPos="114.66" endPos="134.66"/>
	<busStop id="BS_N2" lane="-30573_0" startPos="135.14" endPos="155.14"/>
	<busStop id="BS_S1" lane="-30573_0" startPos="375.62" endPos="395.62"/>
	<busStop id="BS_S2" lane="-30573_0" startPos="354.67" endPos="374.67"/>
</additionals>
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 06/15/17 16:44:11 by SUMO netconvert Version 0.30.0
<?xml version="1.0" encoding="UTF-8"?>

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>

    <input>
        <osm-files value="Out_RedTransmilenio.osm"/>
    </input>

    <output>
        <output-file value="Out_RedTransmilenio.net.xml"/>
    </output>

    <projection>
        <proj.utm value="true"/>
    </projection>

    <tls_building>
        <tls.join value="true"/>
    </tls_building>

    <processing>
        <osm.oneway-spread-right value="false"/>
    </processing>

</configuration>
-->

<net version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd";>

    <location netOffset="-605958.63,-526655.05" convBoundary="0.00,0.00,142.85,631.29" origBoundary="-74.044541,4.764039,-74.043246,4.769748" projParameter="+proj=utm +zone=18 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/>

    <type id="highway.bridleway" priority="1" numLanes="1" speed="2.78" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.bus_guideway" priority="1" numLanes="1" speed="8.33" allow="bus" oneway="1"/>
    <type id="highway.cycleway" priority="1" numLanes="1" speed="5.56" allow="bicycle" oneway="0" width="1.00"/>
    <type id="highway.footway" priority="1" numLanes="1" speed="2.78" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.ford" priority="1" numLanes="1" speed="2.78" allow="army" oneway="0"/>
    <type id="highway.living_street" priority="3" numLanes="1" speed="2.78" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.motorway" priority="13" numLanes="2" speed="44.44" allow="private emergency authority army vip passenger hov taxi bus coach delivery truck trailer motorcycle evehicle custom1 custom2" oneway="1"/>
    <type id="highway.motorway_link" priority="12" numLanes="1" speed="22.22" allow="private emergency authority army vip passenger hov taxi bus coach delivery truck trailer motorcycle evehicle custom1 custom2" oneway="1"/>
    <type id="highway.path" priority="1" numLanes="1" speed="2.78" allow="bicycle pedestrian" oneway="1" width="2.00"/>
    <type id="highway.pedestrian" priority="1" numLanes="1" speed="2.78" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.primary" priority="9" numLanes="2" speed="27.78" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.primary_link" priority="8" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.raceway" priority="14" numLanes="2" speed="83.33" allow="vip" oneway="0"/>
    <type id="highway.residential" priority="4" numLanes="1" speed="13.89" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.secondary" priority="7" numLanes="2" speed="27.78" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.secondary_link" priority="6" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.service" priority="2" numLanes="1" speed="5.56" allow="delivery bicycle pedestrian" oneway="0"/>
    <type id="highway.services" priority="1" numLanes="1" speed="8.33" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.stairs" priority="1" numLanes="1" speed="1.39" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.step" priority="1" numLanes="1" speed="1.39" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.steps" priority="1" numLanes="1" speed="1.39" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.tertiary" priority="6" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.tertiary_link" priority="5" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.track" priority="1" numLanes="1" speed="5.56" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.trunk" priority="11" numLanes="2" speed="27.78" disallow="tram rail_urban rail rail_electric bicycle pedestrian ship" oneway="0"/>
    <type id="highway.trunk_link" priority="10" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric bicycle pedestrian ship" oneway="0"/>
    <type id="highway.unclassified" priority="5" numLanes="1" speed="13.89" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.unsurfaced" priority="1" numLanes="1" speed="8.33" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="railway.light_rail" priority="15" numLanes="1" speed="27.78" allow="rail_urban" oneway="1"/>
    <type id="railway.preserved" priority="15" numLanes="1" speed="27.78" allow="rail" oneway="1"/>
    <type id="railway.rail" priority="15" numLanes="1" speed="83.33" allow="rail rail_electric" oneway="1"/>
    <type id="railway.subway" priority="15" numLanes="1" speed="27.78" allow="rail_urban" oneway="1"/>
    <type id="railway.tram" priority="15" numLanes="1" speed="13.89" allow="tram" oneway="1"/>

    <edge id=":-30525_0" function="internal">
        <lane id=":-30525_0_0" index="0" allow="bus bicycle" speed="8.33" length="3.54" shape="69.63,411.92 69.19,411.04 68.53,410.61 67.87,410.18 67.44,409.29"/>
    </edge>

    <edge id="-30573" from="-30501" to="-30525" priority="1" type="highway.bus_guideway" spreadType="center" shape="108.50,390.58 117.41,458.41 133.54,568.95 142.27,602.80 142.85,616.54 137.63,626.73 127.80,631.29 116.35,630.69 107.43,624.76 102.98,616.93 97.66,594.91 93.82,571.85 79.09,468.26 67.72,410.77">
        <lane id="-30573_0" index="0" allow="bus bicycle" speed="8.33" length="490.06" shape="110.14,390.37 119.04,458.19 135.16,568.63 143.91,602.55 144.51,616.91 138.84,627.98 128.13,632.96 115.81,632.31 106.19,625.92 101.43,617.54 96.04,595.24 92.19,572.10 77.47,468.53 66.39,412.56"/>
        <lane id="-30573_1" index="1" allow="bus" speed="8.33" length="490.06" shape="106.87,390.80 115.77,458.64 131.92,569.28 140.63,603.04 141.18,616.17 136.42,625.47 127.48,629.62 116.89,629.06 108.68,623.61 104.53,616.31 99.28,594.58 95.45,571.60 80.72,467.98 69.63,411.92"/>
    </edge>
    <edge id="-30583" from="-30525" to="-30569" priority="1" type="highway.bus_guideway" spreadType="center" shape="67.72,410.77 55.30,345.52 43.07,262.02 30.98,186.80 14.16,83.94 0.00,0.00">
        <lane id="-30583_0" index="0" allow="bus bicycle" speed="8.33" length="414.85" shape="67.44,409.29 55.30,345.52 43.07,262.02 30.98,186.80 14.16,83.94 0.00,0.00"/>
    </edge>

    <junction id="-30501" type="dead_end" x="108.50" y="390.58" incLanes="" intLanes="" shape="105.28,391.00 111.73,390.16"/>
    <junction id="-30525" type="priority" x="67.72" y="410.77" incLanes="-30573_0 -30573_1" intLanes=":-30525_0_0" shape="64.82,412.87 71.20,411.61 69.01,409.00 65.87,409.59">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="-30569" type="dead_end" x="0.00" y="0.00" incLanes="-30583_0" intLanes="" shape="-1.58,0.27 1.58,-0.27"/>

    <connection from="-30573" to="-30583" fromLane="1" toLane="0" via=":-30525_0_0" dir="s" state="M"/>

    <connection from=":-30525_0" to="-30583" fromLane="0" toLane="0" dir="s" state="M"/>

</net>

Attachment: Out_Red.netccfg
Description: Out_Red.netccfg

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

<!-- generated on 06/15/17 16:43:21 by SUMO polyconvert Version 0.30.0
<?xml version="1.0" encoding="UTF-8"?>

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/polyconvertConfiguration.xsd";>

    <input>
        <net-file value="Out_RedTransmilenio.net.xml"/>
        <osm-files value="Out_RedTransmilenio.osm"/>
        <osm.use-name value="true"/>
        <type-file value="BRTosmPolyconvert.typ.xml"/>
    </input>

    <output>
        <output-file value="Out_RedTransmilenio.poly.xml"/>
    </output>

    <processing>
        <poi-layer-offset value="5"/>
    </processing>

</configuration>
-->

<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd";>
    <location netOffset="-605958.63,-526655.05" convBoundary="0.00,0.00,142.85,631.30" origBoundary="-74.044541,4.764039,-74.043246,4.769748" projParameter="+proj=utm +zone=18 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/>

    <poly id="N1" type="platform" color="77,255,204" fill="1" layer="-1.00" shape="122.47,523.62 119.87,524.06 117.29,506.18 120.04,505.79 122.47,523.62"/>
    <poly id="N2" type="platform" color="77,255,204" fill="1" layer="-1.00" shape="125.63,543.88 123.02,544.32 120.45,526.43 123.20,525.99 125.63,543.88"/>
    <poly id="S1" type="platform" color="77,255,204" fill="1" layer="-1.00" shape="93.29,528.47 90.69,528.91 88.11,511.03 90.86,510.59 93.29,528.47"/>
    <poly id="S2" type="platform" color="77,255,204" fill="1" layer="-1.00" shape="96.30,549.20 93.70,549.64 91.12,531.76 93.87,531.32 96.30,549.20"/>
    <poly id="Terminal" type="station" color="128,128,255" fill="1" layer="-2.00" shape="97.53,553.94 93.89,554.46 86.89,506.35 90.61,505.92 92.53,517.59 117.96,514.52 116.20,501.81 119.77,501.23 127.14,549.11 123.57,549.70 121.10,533.62 112.81,534.42 110.96,521.16 93.41,523.50 97.53,553.94"/>
	
	<poi id="PruebaLPOI1" type="PruebaLPOI" color="0,255,255" layer="30" lane="-30573" pos="114.66"/>
	<poi id="PruebaLPOI2" type="PruebaLPOI" color="0,255,255" layer="30" lane="-30573" pos="135.14"/>
	<poi id="PruebaLPOI3" type="PruebaLPOI" color="0,255,255" layer="30" lane="-30573" pos="375.62"/>
	<poi id="PruebaLPOI4" type="PruebaLPOI" color="0,255,255" layer="30" lane="-30573" pos="354.67"/>
	
</additional>

Attachment: Out_Red.sumocfg
Description: Out_Red.sumocfg

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

<routes>

	<vType id="bus" accel="1.2" decel="4.0" sigma="0.5" length="18" minGap="2.5" maxSpeed="30" speedFactor="1" speedDev="0.1" color="1,1,0" guiShape="bus" vClass="bus"/>
		
	<route id="route1"  edges="-30573 -30583">
		<stop busStop="BS_N1" duration="20"/>
		<stop busStop="BS_N2" duration="20"/>
		<stop busStop="BS_S2" duration="20"/>
		<stop busStop="BS_S1" duration="20"/>
	</route>	
	
	<vehicle id="0" type="bus" depart="0" route="route1" />
	<vehicle id="1" type="bus" depart="50" route="route1" />
	<vehicle id="2" type="bus" depart="100" route="route1" />
	
</routes>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to