Relations/Proposed/Label

From OpenStreetMap

Jump to: navigation, search

This relation should allow the renderer to place the label or icon describing an area in a manually specified position.

Contents

Tags

Key Value Discussion
type label defines the type of the relation

Members

Way or Node Role Recurrence? Discussion
node label 1 node at which icon/label should be placed
area object 1 the area that is being labeled

Rendering

If the renderer wants to place a label or icon in an area, it checks whether that area is member of a label-relation. If so, it places the icon at the label-node, else it places it in some ad hoc manner (barycenter, ...).

Notes

  • The specifics are very much open for discussion.
  • Would it make sense to allow more general objects? We might want to allow labelling ways or composite areas -- can roles be members of roles?
  • This might be merged with Relations/Proposed/Site as a one-object site, but then we should rethink the naming.
  • Do we want to include a mechanism for stating that there shouldn't be a label/icon?
  • should this go into a rendering namespace (type=rendering:label)?

References

  • [1] osm-talk discussion on parking area icon placement
  • [2] proposal of use of labelling relation
Personal tools
recent changes