Relations/Proposed/Label

From OpenStreetMap Wiki
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 zero or more node(s) at which icon/label should be placed
Area object one or more 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, ...).

If object shouldn't have any icon, then use label-relation which has no label member. If there should be more than one icon, then use more label members type.

Use more than one object member if you want to have only one icon for more objects (for example if they are small objects close together)

Notes

References

Renderer support

Label relation is supported by osmarender.

Personal tools
Namespaces
Variants
Actions
site
Toolbox