Key:type

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
Public-images-osm logo.svg type
Osm element key.svg
Description
type of a relation or type of a feature
Group: Properties
Used on these elements
may be used on nodes
may be used on ways
may be used on areas
may be used on relations
Status: unspecified

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: