Key:type

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
+/- type
Description

type of a relation or type of a feature

Group

Properties

Element help

Can be attached on nodesCan be attached on waysCan be attached on areasCan be attached on relations


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:

Personal tools
Namespaces

Variants
Actions
site
Toolbox