Types of relation

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Types_of_relation
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

These types of relation are relations that we have in wide use and others which have been proposed.

Established relations

Type Status Element Comment Photo
multipolygon de facto area For areas where the outline consists of multiple ways, or that have holes; also used for boundaries.
route approved relation way Like bus routes, cycle routes and numbered highways
route_master approved relation route_master contains (parallel, opposite, variant, …) routes only; heavily used to group route variants in public transport.
superroute relation Avoid, superroute contains (concatenable) routes only.
restriction de facto node way Any kind of turn restriction.
boundary de facto way For grouping boundaries and marking enclaves/exclaves.
site de facto way Relation to group elements of a site such as a school together.
associatedStreet node way House numbers related to a street. See Karlsruhe scheme. Somewhat controversial.
public_transport approved node way Part of the OSM public transport scheme. Mainly used by public_transport=stop_area.
network de facto node way relation Relations that describe networks with their members being the members of this network.
street node way Bind all parts of a street together and everything else that belongs to it.
destination_sign approved way Destination signs at or before intersections. LA2-blagulskylt.jpg
waterway approved way Relation to group elements of a waterway=*.
enforcement approved node way Traffic enforcement devices; speed cameras, redlight cameras, weight checks, …
bridge no vote way Groups together all elements of one bridge.
tunnel no vote way Groups together all elements of one tunnel.
This table is a wiki template with a default description in English editable here.

Proposed uses of relations

abandoned and obsoleted propositions not included

Junctions, intersections, grade separated crossings, and embankments

Relations/Proposed/Bridges and Tunnels
grouping all ways using a common bridge or tunnel
Relations/Proposed/Junctions
all the ways that make up a junction (such as a motorway intersection)
Relations/Proposed/Turn hints
Hints for whether a turn is a slight left, sharp left, fork, etc.
Relations/Proposed/turn lanes
which turns are allowed from a given lane

Area hierarchies and other relations for areas

Relations/Proposed/Area
to define areas between ways and lanes (linear crossover), virtual and physical dividers and crossover-possibilities, etc.
Relations/Proposed/Buildings
for buildings where you want to record the outline, entrances, perimeter fence etc, now mostly used for Simple 3D Buildings mapping
Relations/Proposed/Label
Manually placed labels or icons in areas
Relations/Proposed/Level
For floors in 3D-Objects (Subway stations, buildings, etc.).
Relations/Proposed/Site
For grouping buildings elements of a site together
Relations/Proposed/Sled
for grouping together all relevant items of a sled run.

Addressing

Relations/Proposed/Cluster
for grouping features with a collective name or address etc.
Karlsruhe Schema
Relations/Proposed/Postal Addresses
Relations/Proposed/Street
for grouping ways into complete streets, as well as associating other elements with it

Others

Relations/Proposed/Defaults
defines a set of default values (speed limits, oneways, access) for a country, a state
Relations/Proposed/Provides feature
to associate an object such as a restaurant, hotel or museum with one or more map features such as addresses or entrances.

Projects

References