What is gerbitz tag


A. Day consists of two items, a key and a value. Tags describe specific features of map elements (nodes, ways, or relations) or changesets. Both items are free format text fields, but often represent numeric or other structured items. Conventions are agreed on the meaning and use of tags, which are captured on this wiki.

Keys and values

Tags are presented for humans as: key and value separated by an equals sign. Sometimes, the key or value is surrounded by quotes to avoid confusion: or; the quotes (and, indeed, equals sign) are not part of the tag content.

Tags are applied to elements or changesets (i.e., tagging them) resulting in a collection of tags of any size. However, each collection may only contain a key once. Where a tag is not present, there are often considered to be default values ​​or values ​​inherited from parent elements.

The key, therefore, is used to describe a topic, category, or type of feature (e.g., highway or name). Keys can be qualified with prefixes, infixes, or suffixes (usually, separated with a colon, :), forming super- or sub-categories, or namespace. Common namespaces are language specification and a date namespace specification for name keys.

The value provides detail for the key-specified feature. Commonly, values ​​are free form text (eg, name = "Jeff Memorial Highway"), one of a set of distinct values ​​(an enumeration; eg,), multiple values ​​from an enumeration (separated by a semicolon), or a number ( integer or decimal), such as a distance. The value is obligatory for the tag, even if the key is self-explanatory (e.g.).

Here are a few examples used in practice:

  • a tag with a key of and a value of which should be used on a way to indicate a road along which people live.
  • a tag for which the value field is used to convey the name of the particular street
  • a tag whose value is a numeric speed and speed unit. The unit,, is implied, but can be explicitly specified; miles per hour can be alternatively specified by appending. Across OSM, metric units are the default.
  • a key that includes a namespace for to further distinguish its meaning.
  • a tag with the key suffixed namespaces to specify the German name which was valid in some years.

Finding your tag

The following resources are often used to find an appropriate tag or explore tag usage:

Technical specifications

Elements describes the technical limitations, encoding and formatting of tags.

Use in an editor

Some OSM editors (for example iD, Potlatch 2) hide the tags of objects by default, making them not directly editable; Instead users choose a preset and fill in a form. However, in most editors all tags can be displayed and edited by entering some kind of advanced mode of your editor.

For the example editors:


  1. (only needed if you created a new object) Select the generic feature type preset (it is the bottom one). For example, select “point” if you created a new “point” object.
  2. select "All tags" (bottom left)

Potlatch 2

  1. select "Advanced"


Some tags were used in data elements only for attaching metadata displayed in map editors or in quality assurance tools (such as completion status, things to do, approximations, data or imagery source, tool or editor version, etc.). Since version 0.6 of the API, map editors and import tools are encouraged to attach a few metadata tags to the changesets they create (changesets are not data elements) instead of tagging every added or modified data element: these tags are now documented on this wiki as "discardable", meaning that they may be silently deleted from data elements by editors when they update them (they are still usable in changesets, and these tags are still visible in older versions of elements where these discardable tags have been removed and you can still inspect these old tags from old changesets that did not use this now preferred tagging method because these changeset still point to the older versions of elements that had these tags).

So see