[Tagging] Named junctions

Martin Koppenhoefer dieterdreist at gmail.com
Mon Nov 9 13:49:40 UTC 2015


2015-11-09 14:14 GMT+01:00 Andrew Errington <erringtona at gmail.com>:

> It could be something like "when a named traffic light node is found,
> add it to a group with that name.  When it's time to label the map,
> decide how much space is available for the label, depending on the
> zoom level.  At low zoom, draw a single traffic light icon, centred on
> the average of the nodes in the group.  At medium zoom, draw a single
> icon and a label.  At high zoom, draw an icon for each node, and a
> single label in the centre".  This would also work for single named
> traffic lights (they are in a group of one).  Single unnamed traffic
> lights would work if they are alone (i.e. on a simple junction).
> Unnamed traffic lights close together would not work (because they can
> not be grouped by name), but there could be a pre-processing step that
> makes a group based on the nodes being close together, say within 10m
> of each other.
>



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)

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.

Cheers,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20151109/92b44819/attachment.html>


More information about the Tagging mailing list