Key:*:type

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg Suffix *:type
Sub-arrows.svg
Description
A key suffix to define the type of the main value. Show/edit corresponding data item.
Group: properties
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)may be used on relations
See also
Status: in use
taginfo: *:type

information sign

This page describes a key suffix rather than a simple key.

The *:type=* suffix is occasionally used as an add-on tag to specify a "variant" of a feature category.

<key> = <some_value>; <some_value>:type=*

For example, for categorization of man_made=tower objects use tower:type=*.

There are two competing schemes for describing "variants" of the feature category. The suffix-based scheme, as above, adds the *:type=* suffix to the key feature name, as in tower:type=*. The alternative, more common one, simply uses the feature key value as the category key itself: for example, industrial=* specifies variants of landuse=industrial.

Scheme formats

When devising new tagging approaches, consider using one of the formats:

Suffix-based format

  • <key> = <some_value>; <some_value>:type=*
Here are some uses of this schema with sample values in parentheses:

Value-based format

  • <key> = <some_value>; <some_value>=*
Here are some uses of type within the current schema with sample values in parentheses:

Alternative approaches

Additional keys can be used in cases where there is more than one major sub-classification, or for consistency with similar objects:

Top values

See also taginfo

LOADING TAG LIST... (If you do not see this tag list, you need to enable JavaScript)
This table is auto-generated. See Template:Taglist for a documentation on it.

See also

  • type=* – Type of a relation