Dear Andres,
Unfortunately, this topology is a problem for the node shape computation
algorithm.
I would join the two junctions and set a custom node shape like so:
    <node id="cluster_3462770368_cluster_1627743644_1933167494" x="160.69"
y="615.75" type="priority" shape="155.77,624.36 169.47,622.08 166.95,606.29
153.27,608.87 150.98,610.61 153.20,623.60 155.77,624.36"/>

Such a shape can be drawn in Netedit fairly comfortably:
http://sumo.dlr.de/wiki/NETEDIT#Junction

regards,
Jakob

PS: Your network exhibits the following issue still:
http://sumo.dlr.de/trac.wsgi/ticket/2944. A workaround would be to set
attribute 'pass=true' for some of the connections



2017-03-15 16:07 GMT+01:00 Andres Felipe Acosta Gil <[email protected]>:

> Dear SUMO community.
>
> We need advice on how to join complex junctions, including cycle ways and 4
> or more edges, in this case T-shaped junctions. How to achieve a
> well-shaped junction polygon? We have tried several alignments (how edges
> enter to the junctions), using different geometry points so that adjacent
> junctions are not affected, straightening edges and moving the joined
> junction but we could not obtain the desired junction shape.
>
> The specific scenario can be obtained with the following files. We are
> interested on joining the bicycle junction with the cars junction:
>
> *Nodes file:*
> <nodes version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> "
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/nodes_file.xsd";>
>     <location netOffset="-437164.25,-691675.87"
> convBoundary="0.00,0.00,330.58,1631.43"
> origBoundary="-75.568048,6.257253,-75.565069,6.272013"
> projParameter="+proj=utm +zone=18 +ellps=WGS84 +datum=WGS84 +units=m
> +no_defs"/>
>
>     <node id="344191641" x="184.67" y="770.49" type="unregulated"/>
>     <node id="3462770366" x="47.44" y="0.00" type="priority"/>
>     <node id="3462770368" x="157.89" y="616.47" type="right_before_left"/>
>     <node id="3462777470" x="330.58" y="1631.43" type="priority"/>
>     <node id="3462783436" x="3.62" y="647.19" type="unregulated"/>
>     <node id="3462783437" x="25.00" y="640.55" type="priority"/>
>     <node id="3667792181" x="0.00" y="640.25" type="unregulated"/>
>     <node id="369126495" x="143.73" y="505.27" type="unregulated"/>
>     <node id="cluster_1627743644_1933167494" x="163.49" y="615.02"
> type="priority"/>
> </nodes>
>
> *Edges file:*
> <edges version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> "
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/edges_file.xsd";>
>     <edge id="-339086900#0" from="3462770368" to="3462777470" priority="1"
> type="highway.cycleway" numLanes="1" speed="5.56" shape="157.89,616.47
> 180.30,771.33 182.06,780.86 183.88,790.77 200.57,891.35 218.42,1000.14
> 225.82,1046.32 234.23,1094.64 241.41,1138.17 279.13,1321.46 281.05,1330.73
> 279.12,1351.41 330.58,1631.43" width="1.00" allow="bicycle"/>
>     <edge id="-339086900#1" from="3462770366" to="3462770368" priority="1"
> type="highway.cycleway" numLanes="1" speed="5.56" shape="47.44,0.00
> 62.36,84.28 81.47,199.80 97.87,286.16 120.87,407.24 139.37,508.02
> 157.89,616.47" width="1.00" allow="bicycle"/>
>     <edge id="-339088712" from="3462783437" to="3462770368" priority="1"
> type="highway.cycleway" numLanes="1" speed="5.56" width="1.00"
> allow="bicycle"/>
>     <edge id="149827908#0" from="cluster_1627743644_1933167494"
> to="3462783436" priority="6" type="highway.tertiary" numLanes="1"
> speed="22.22" shape="164.23,619.97 89.72,632.83 53.63,639.27 27.31,644.12
> 20.25,644.95 12.92,645.98 3.62,647.19" spreadType="center" disallow="tram
> rail_urban rail rail_electric ship"/>
>     <edge id="149827910#0" from="3667792181"
> to="cluster_1627743644_1933167494" priority="6" type="highway.tertiary"
> numLanes="1" speed="22.22" shape="0.00,640.25 11.70,637.83 21.88,635.73
> 52.16,630.80 162.76,610.07" spreadType="center" disallow="tram rail_urban
> rail rail_electric ship"/>
>     <edge id="339086900#0" from="3462777470" to="3462770368" priority="1"
> type="highway.cycleway" numLanes="1" speed="5.56" shape="330.58,1631.43
> 279.12,1351.41 281.05,1330.73 279.13,1321.46 241.41,1138.17 234.23,1094.64
> 225.82,1046.32 218.42,1000.14 200.57,891.35 183.88,790.77 182.06,780.86
> 180.30,771.33 157.89,616.47" width="1.00" allow="bicycle"/>
>     <edge id="339086900#1" from="3462770368" to="3462770366" priority="1"
> type="highway.cycleway" numLanes="1" speed="5.56" shape="157.89,616.47
> 139.37,508.02 120.87,407.24 97.87,286.16 81.47,199.80 62.36,84.28
> 47.44,0.00" width="1.00" allow="bicycle"/>
>     <edge id="339088712" from="3462770368" to="3462783437" priority="1"
> type="highway.cycleway" numLanes="1" speed="5.56" width="1.00"
> allow="bicycle"/>
>     <edge id="98729094#0" from="344191641"
> to="cluster_1627743644_1933167494" name="Carrera 52;Carabobo" priority="7"
> type="highway.secondary" numLanes="3" speed="27.78" shape="184.67,770.49
> 164.23,619.97" spreadType="center" disallow="tram rail_urban rail
> rail_electric ship"/>
>     <edge id="98729094#2" from="cluster_1627743644_1933167494"
> to="369126495" name="Carrera 52;Carabobo" priority="7"
> type="highway.secondary" numLanes="3" speed="27.78" shape="162.76,610.07
> 143.73,505.27" spreadType="center" disallow="tram rail_urban rail
> rail_electric ship"/>
> </edges>
>
> *Connections file:*
> <connections version="0.27" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="
> http://sumo.dlr.de/xsd/connections_file.xsd";>
>     <connection from="-339086900#0" to="339086900#0" fromLane="0"
> toLane="0"/>
>
>     <connection from="-339086900#1" to="-339086900#0" fromLane="0"
> toLane="0"/>
>     <connection from="-339086900#1" to="339088712" fromLane="0"
> toLane="0"/>
>     <connection from="-339086900#1" to="339086900#1" fromLane="0"
> toLane="0"/>
>
>     <connection from="-339088712" to="339086900#1" fromLane="0"
> toLane="0"/>
>     <connection from="-339088712" to="-339086900#0" fromLane="0"
> toLane="0"/>
>     <connection from="-339088712" to="339088712" fromLane="0" toLane="0"/>
>
>     <connection from="149827910#0" to="98729094#2" fromLane="0"
> toLane="0"/>
>     <connection from="149827910#0" to="149827908#0" fromLane="0"
> toLane="0"/>
>
>     <connection from="339086900#0" to="339088712" fromLane="0" toLane="0"/>
>     <connection from="339086900#0" to="339086900#1" fromLane="0"
> toLane="0"/>
>     <connection from="339086900#0" to="-339086900#0" fromLane="0"
> toLane="0"/>
>
>     <connection from="339086900#1" to="-339086900#1" fromLane="0"
> toLane="0"/>
>
>     <connection from="339088712" to="-339088712" fromLane="0" toLane="0"/>
>
>     <connection from="98729094#0" to="149827908#0" fromLane="0"
> toLane="0"/>
>     <connection from="98729094#0" to="98729094#2" fromLane="0" toLane="0"/>
>     <connection from="98729094#0" to="98729094#2" fromLane="1" toLane="1"/>
>     <connection from="98729094#0" to="98729094#2" fromLane="2" toLane="2"/>
>
> </connections>
>
> *Types file: *This is the osmNetconvert.typ.xml provided by SUMO
>
> Best regards.
>
> --
> Andres Felipe Acosta Gil, MSc student - Software developer
> Universidad Nacional de Colombia - MedellĂ­n
> Facultad de Minas
> Tel: +57 (4) 4255092
> Institutional e-mail: [email protected]
> ------------------------------------------------------------
> ------------------
> 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
>
------------------------------------------------------------------------------
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