Key:type

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg type
Osm element key.svg
Description
Type of a relation Edit or translate this description.
Group: Properties
Used on these elements
should not be used on nodesshould not be used on waysshould not be used on areasmay be used on relations
Documented values: 14
Wikidata
Status: de facto

The key type is commonly used to set a relation's type.

See some established relation types.

Other uses

The type key is occasionally also used as an add-on tag for "variants" of a feature category. This approach conflicts with the use of the key for a relation's type and should be avoided (it may also create conflicts on multiple tags for the same element).

For preference when devising new tagging approaches consider using one of these two other formats:

  • <key>=<some_value> + <some_value>:type=*
  • <key>=<some_value> + <some_value>=*

Here are some uses of type within the current schema with suggested values in parentheses: