Tag:tunnel=building passage: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
(Rendering added)
(Removed mention of car washes; see Talk:Tag:tunnel=building_passage#Car washes)
Line 34: Line 34:
A building passage is a tunnel that goes through a building, but is not inside the building itself (see pictured examples).
A building passage is a tunnel that goes through a building, but is not inside the building itself (see pictured examples).


For ways that go inside a building (e.g. the drive-through in a car wash), the tags either {{key|highway|corridor}}, or {{Key|highway}} + {{Key|indoor||yes}} can be used.
For ways that go inside a building, the tags either {{key|highway|corridor}}, or {{Key|highway}} + {{Key|indoor||yes}} can be used.


The walls at both sides (and the top) of the tunnel are considered outer walls of the building, which can have entrances that lead into it.
The walls at both sides (and the top) of the tunnel are considered outer walls of the building, which can have entrances that lead into it.

Revision as of 19:09, 12 May 2021

Public-images-osm logo.svg tunnel = building_passage
New Town Hall Photo Sukiennice Street Gateway Wrocław Poland 2008-11-14.JPG
Description
A tunnel passage that goes though/under a building, but is not inside the building itself. Edit this description in the wiki page. Edit this description in the data item.
Group: Placement
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
Useful combination
Status: approvedPage for proposal

The attribute tunnel=building_passage is used for ways that go through a building and have walls on both sides. They are rarely not on the ground level.

A building passage is strictly a tunnel, and is not a way that goes inside a building.

How to map

  • The building and the way should have shared nodes at the entry and exit points of the building.
  • The way is split at the entry and exit nodes and only the part covered by the building is tagged with tunnel=building_passage.
  • The layer should be the same as the layer of the building, with the exception when several tunnels are passing on different levels. So if the building doesn't have a layer tag, the way should not have one either.
  • Do not use tunnel=building_passage and covered=yes at the same time.

When not to use

A building passage is a tunnel that goes through a building, but is not inside the building itself (see pictured examples).

For ways that go inside a building, the tags either highway=corridor, or highway=* + indoor=yes can be used.

The walls at both sides (and the top) of the tunnel are considered outer walls of the building, which can have entrances that lead into it. For indoor mapping highway=corridor or indoor=yes can be used.

It is also not meant for ways that go through something else than a building.

Examples

Rendering

{{#multimaps: center = 52.51134, 13.30758 | width = 200px | height = 200px | zoom = 18 | minzoom = 16 | maxzoom = 18 }}

See also