Key:building:part
building:part |
Description |
---|
To mark a part of a building, which has attributes, different from such ones at other parts. |
Group: Buildings |
Used on these elements |
Documented values: 2 |
Useful combination |
See also |
Status: de facto |
Tools for this tag |
|
Areas with the tag building:part=* allow you to differentiate a building into parts that differ from each other in terms of some building attributes or the building function.
Note that building:part=* are optional areas used in addition to a building=* area. building:part=* areas should always be within a separate building=* area representing the entire building.
How to use
- Main article: Simple 3D buildings
Use building:part=yes for parts of the building which only have different attributes (building:levels=* and height=*). Use building:part=(type of building) for parts of the building which have a different function and possibly attributes (e.g. building:part=roof, building:part=retail or building:part=barn).
In addition to the different ways tagged building:part=*, there should be one area (closed way or multipolygon) marking the outline of the whole building, tagged with building=*. For complex buildings it is also recommended to use a type=building relation to group together the outline way and the building:part=* ways.
Where a building has been split into parts, the whole building way should still have the tags building:levels=* and height=*. These values should be the maximum of all the building parts. A building that has a three-story part and a six-story part is still a six-story building.
Tags to use in combination
- building:levels=* – number of levels in this part
- building:colour=* – colour of this building part
- building:material=* – material of this building part
- roof:shape=* – roof shape
- roof:colour=* – roof colour
- roof:material=* – roof material
Optional, if known or needed:
- roof:levels=* – roof levels, for roof:shapes other than flat
- height=* – height in metres, if known
- description=* – an optional description of what this building part is
- min_height=* – at what height this building part starts, if it doesn't start from the ground
- building:min_level=* – from which floor this building part starts, if it doesn't start from the ground
See also
Indoor mapping
The building tag (and its parts) is about "gross" buildings, i.e. including walls, roofs and other structure. To map the inner divisions (spaces) of buildings, please refer to Indoor mapping and specifically to the concept with the widest acceptance: Simple Indoor Tagging. Some potentially useful tags for "inner" building parts:
Common mistakes
- Missing parts: If a building's parts cover only part of the building outline, the remainder of the building may not be visible in a standard-compliant 3D renderer.
Possible tagging mistakes
Please note that clement-lagrange's fork (abandoned, last activity in 2014 and project disabled issue tracker) of OSMTools Indoor makes heavy use of the buildingpart=* tag.