Key:size

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg size
Height demonstration diagram.png
Description
Gives the size length*height of a feature (if two parameters). Gives the size length*height*width of a feature (if three parameters) Show/edit corresponding data item.
Group: properties
Used on these elements
may be used on nodesshould not be used on waysshould not be used on areasuse on relations unspecified
Useful combination
Status: in use

Note: It's far more common (and less error-prone) to define width=*, height=* and length=* separately.

The key size=* gives the dimensions of a feature.

Most often used on advertising devices, and in that case it indicates the size of the advertising device, including the frame, but without its support.

Size is given with two or three parameters, separator is a '*'.
If three parameters are provided : length * height * width.
If two parameters are provided : length * height.
'length', 'height', and 'width' must be understood this way :

Height demonstration diagram.png

Examples of use

size=1*1.5: the feature is 1 meter length and 1.5 meter height.
size=1*1.5*0.2: the feature is 1 meter length, 1.5 meter height, and 0.2 meter width.


size=* can be used on nodes.

Common combinations

advertising=*

Rendering

Open questions

See also