Tag:building=roof

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg building = roof
Preem Karlskrona.jpg
Description
A building open on at least two sides. Show/edit corresponding data item.
Rendering in OSM Carto
Area building=yes.png
Group: buildings
Used on these elements
may 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)
Useful combination
See also
Status: de facto

building=roof is used for roofs which are open at least at two sides. For roof features which are part of another building use building:part=roof.

Consider using tags such as man_made=canopy for structures that are smaller in size and made of thin steel rather than thick columns or sturdy beams.

How to map

If there are already other features below or above the roof on the map, layer should be used to provide information about stacking of features. In addition covered=* may be used to mark objects (for example roads) as covered by the roof.

In case of ways below the roof:

  • Either all ways below roof or the roof should get a layer tag. In more complex situations layer=* for roof, ways under roof and for other objects may be required.
  • The way may have shared nodes with the building where it is attached to the building. Note however that for fire safety, the canopy might be structurally separated from the building it serves.
  • The way should be tagged with covered=*. When the two walls of the building=roof form a tunnel without an open side use tunnel=building_passage instead.

Some mappers prefer to map building=roof + layer=1 and not sharing any nodes with ways passing below the roof - please discuss.

Consider Simple Indoor Tagging or Simple 3D Buildings for more complicated cases.

Alternatives

Examples

This tag is for instance used for the roofs of petrol stations (amenity=fuel).

Usage in Sweden

This is a minor import but: This tag was recently used in an import in Sweden; It was used to denote, among other things, buildings that have two walls or less. This means can mean e.g. a front porch. So when it was surveyed the buildings had two or less walls, but it's noted that new walls can later be added by the owners and the data can not be 100% on what the current state is. way 206338356

See also

  • building:part=roof - To mark a part of a building (in this case the roof), which has attributes, different from such ones at other parts
  • covered=* - A property to denote if an object is covered by something
  • roof:shape=* - Roof shape type
  • 3D modelling of roofs