<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2015-11-09 14:14 GMT+01:00 Andrew Errington <span dir="ltr"><<a href="mailto:erringtona@gmail.com" target="_blank">erringtona@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2vv" class="a3s" style="overflow:hidden">It could be something like "when a named traffic light node is found,<br>
add it to a group with that name.  When it's time to label the map,<br>
decide how much space is available for the label, depending on the<br>
zoom level.  At low zoom, draw a single traffic light icon, centred on<br>
the average of the nodes in the group.  At medium zoom, draw a single<br>
icon and a label.  At high zoom, draw an icon for each node, and a<br>
single label in the centre".  This would also work for single named<br>
traffic lights (they are in a group of one).  Single unnamed traffic<br>
lights would work if they are alone (i.e. on a simple junction).<br>
Unnamed traffic lights close together would not work (because they can<br>
not be grouped by name), but there could be a pre-processing step that<br>
makes a group based on the nodes being close together, say within 10m<br>
of each other.</div></blockquote></div><br><br><br></div><div class="gmail_extra">relying on name equality and distance is not very reliable to determine where the desired junction objects are / how many of them are there (every new node added with a missing name or a slightly differently spelled name will create a new traffic-light/junction group)<br><br></div><div class="gmail_extra">A junction object for every relevant junction is more work initially, but I guess it would be more stable. Also it would always lead to the same results in different tools, compared to named junctions mapped implicitly and being determined by attributes on single traffic lights, what would require some processing which will likely be optimized differently in different tools, because there will probably always remain edge cases that don't work.<br><br></div><div class="gmail_extra">Cheers,<br></div><div class="gmail_extra">Martin<br></div></div>