Key:building:part

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg building:part
Marek S3DB sumOfMoreElements.jpg
Description
To mark a part of a building, which has attributes, different from such ones at other parts. Show/edit corresponding data item.
Group: buildings
Used on these elements
should not be used on nodesshould not be used on waysmay be used on areas (and multipolygon relations)should not be used on relations (except multipolygon relations)
Documented values: 3
Useful combination
See also
Status: de facto

Areas with the tag building:part=* allow you to split a building into parts that differ in terms of some attributes or the function.

Those areas are optional, and used in addition to a building=* area. building:part=* areas should always be contained within a building=* area that represents 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, a building outline has still to be drawn of the whole building way and should 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. This may at times result in 2 ways sharing the same building nodes if the ground building:part is identical in circumference as the total building outline. A 2 part building is thus mapped with 3 objects regardless if with or without a type=building relation.

Tags to use in combination

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.

If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!