Key:*:type
| Description |
|---|
| A key suffix to define the type of the main value. |
| Group: properties |
| Used on these elements |
| See also |
|
| Status: in use |
| taginfo: *:type |
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:
amenity=post_box, sub-classified bypost_box:type=*(pillar, lamp, wall, ...)amenity=parcel_locker, sub-classified byparcel_locker:type=*(circular, cabinet, parcel_box, ...)man_made=tower, sub-classified bytower:type=*(communication, lighting, bell_tower, observation, ...)emergency=fire_hydrant, sub-classified byfire_hydrant:type=*(underground, pillar, dry_barrel, pipe, wall, ...)
Value-based format
- <key> = <some_value>; <some_value>=*
- Here are some uses of type within the current schema with sample values in parentheses:
amenity=studio, sub-classified bystudio=*(audio, video)aeroway=aerodrome, sub-classified byaerodrome=*(public, military, private, ...)aeroway=navigationaid, sub-classified bynavigationaid=*(adf, vor, vor-dme, waas, ils, ...)natural=volcano, refined withvolcano:type=*(stratovolcano, shield, scoria, ...) andvolcano:status=*(active, dormant, extinct, ...)
Alternative approaches
Additional keys can be used in cases where there is more than one major sub-classification, or for consistency with similar objects:
man_made=pipeline, sub-classified bysubstance=*(water, drain, sewer, telecom, gas, ...)man_made=pumping_rig, sub-classified bysubstance=*orcontent=*(oil, gas, oil;gas, ...)man_made=reservoir_covered, please discuss possible replacements herenatural=treecan be classified usingleaf_type=*(broadleaved, needleleaved, mixed, leafless, ...) or botanical taxonomy tagsgenus=*andspecies=*.
Top values
See also taginfo
See also
type=*– Type of a relation
