Wow, that was fast! Thank you, this works like you described, and
automatic enlargement of the junction is a really nice feature.
Greets, Menno
Op 5-7-2017 om 13:09 schreef Jakob Erdmann:
and its fixed in [25101] (-:
2017-07-05 12:47 GMT+02:00 Jakob Erdmann <[email protected]
<mailto:[email protected]>>:
I can confirm that there is still a bug where the edge shape is
not cut of if it is longer than warranted by the junction shape.
2017-07-05 12:30 GMT+02:00 Jakob Erdmann
<[email protected] <mailto:[email protected]>>:
Hello,
this issue is fixed in development version 25003 (netedit was
improperly discarding part of the edge geometry).
There is still a difference between 0.29.0 and this latest
version:
- in 0.29.0 the edge shape is controlled by the junction shape
(edges that would end before the junction are lengthened to
meet the junction shape)
- in 0.30.0 the junction shape is controlled by the edge shape
(if the edge ends earlier, the junction shape is enlarged
automatically). Only there was a bug in netedit (joining via
netconvert works in 0.30.0)
The current behavior allows you to define the edge shape any
way you like and the stop line will be built at the exact end
of the edge. If you need more control you can set the end
point coordinate numerically in inspect mode (attributes
shapeStart and shapeEnd).
Note, that with the 'set geometry endpoint here' method, you
must click within the edge shape in order to get the correct
result.
regards,
Jakob
2017-07-05 10:27 GMT+02:00 Menno van der Woude via sumo-user
<[email protected]
<mailto:[email protected]>>:
Hello all,
using NETEDIT 0.30.0 and beyond (current SVN), I have
difficulties building a custom junstion shape.
1] When joining selected junctions, NETEDIT makes the
resulting junction as small as possible. However, version
0.29.0 does this quite differently from 0.30.0.
Version 0.29.0 would make edges longer, not changing their
direction. Thus, if edges were drawn on top of a
background in the right place, they would lengthen, but
their general location would remain unchanged. In version
0.30.0, the resulting junction is located in the
geometrical center of the junctions being joined,
resulting in changes of direction of the edges.
2] After a join, in version 0.29.0, it is then easy to get
the desired shape, by setting a custom junction shape.
Version 0.29.0 cuts of the lengthened edges after setting
the custom shape, so that, if their location was good
before the join, it is easy to set their ending to the
proper place.
In version 0.30.0 and up I find it hard to get this done.
Drawing a custom shape, while still possible, has no
effect on the endings of the connected edges, thus the
connections inside the junction will be unchanged after
setting a custom shape.
I tried using the method described on the wiki, with
selecting and moving edges, and then setting geometrical
endpoints, in version 0.30.0. On the one hand, this
involves a lot of clicking, much more than was necessarry
in version 0.29.0. On the other hand, I found the result
of 'set geom. endpoint' was mixed, sometimes being ok,
sometimes it requires multiple tries to get the right
place to right-click, sometimes the new endpoint will snap
to the custom shape but mostly not.
See screenshots here
https://cloud.codingconnected.eu/index.php/s/Gq6JUPsZbx9DGko
<https://cloud.codingconnected.eu/index.php/s/Gq6JUPsZbx9DGko>,
where three steps can be seen for both versions: 1)
network with 3 edges, 2) network after join, 3) network
after drawing custom shape.
Has joining and shaping of junctions been somehow
redesigned in version 0.30.0? Is there a way to get
version >= 0.30.0 to behave like version 0.29.0?
I use micro simulation primarily to get a detailed insight
into the functioning of traffic controller algorithms (for
example, I connected this controller via TraCI
https://github.com/mennowo/yatlcclc
<https://github.com/mennowo/yatlcclc>). Therefor, it is
important that the location of stop lines/traffic lights
and the trajectory of vehicles inside the junction is
accurate.
Kind regards,
Menno van der Woude
CodingConnected e.U. (Wien - Österreich)
E [email protected] <mailto:[email protected]>
W www.codingconnected.eu <http://www.codingconnected.eu>
------------------------------------------------------------------------------
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]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/sumo-user
<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