Key:name - OpenStreetMap Wiki (original) (raw)

(Redirected from Key:alt name:en)

v ·d ·ePublic-images-osm logo.svg name
Helena, Montana.jpg
Description
The primary name: in general, the most prominent signposted name or the most common name in the local language(s). Show/edit corresponding data item.
Group: names
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
Documented values: [28](/wiki/Category:Tag%5Fdescriptions%5Ffor%5Fkey%5F%22name%22 "Category:Tag descriptions for key "name"")
Status: de facto
name=*AllNodesWaysRelationsMore details at taginfo
Tools for this tag
taginfo · AD · AT · BR · BY · CH · CN · CZ · DE · DK · FI · FR · GB · GR · HU · IN · IR · IT · LI · LU · JP · KP · KR · NL · PL · PT · RU · ES · AR · MX · CO · BO · CL · EC · PY · PE · UY · VE · TW · UA · US · VN overpass-turbo OSM Tag History

This key is set to the primary name of the feature in the real world. It is the most important of several name-related keys.

Values

Main article: Names

As a rule of thumb, the primary name is the most obvious name of the feature, the one that end users expect data consumers to expose in a label or other interface element.

The usual sources of primary names are:

source:name=* can be used to explicitly indicate how the name of the feature was determined.

Sometimes these sources disagree: a single feature may be known by a different name to different people or in different places. In case of doubt, OpenStreetMap favours the situation "on the ground". For example, the primary name of a disputed territory would match the usage of the side that has on-the-ground control of the territory.[1] However, the on-the-ground rule is not absolute; you may need to use common sense.

Some common cases where use of the on-the-ground rule should be relaxed include:

The primary name is generally in the local language or languages; see #Multiple names below. If you are unfamiliar with the area, try to match local conventions. However, you may need to make an exception if the real name of a feature is in a different language than the predominant local language. For example, a tourist-oriented gift shop or a grocery that caters to an immigrant community may be named in a foreign language.[2]

When not to use

Do not use name=* if:

In general, name=* is supposed to contain solely the name, and not the description, type, location or other properties of an object (such as height, elevation, operator, access restrictions, classification/certification/quality labels...). See Name is the name only.

Variants

Key Value Element Comment
name User defined node way area The common default name. Notes:For disputed areas, please use the name as displayed on, e.g., street signs for the name tag Put all alternatives into either localized name tags (e.g., name:tr/name:el) or the variants (e.g., loc_name/old_name/alt_name) Do not abbreviate words: abbreviations For details refer to Names#Good_practice.
name:<_xx_> User defined node way area Name in different language; e.g., name:fr=Londres. Note that all key variants below can use a language suffix. See: Multilingual names.
name:left[:<_xx_>], name:right[:<_xx_>] User defined way Used when a way has different names for different sides (e.g., a street that's forming the boundary between two municipalities).
int_name[:<_xx_>] User defined node way area International name. Consider using language specific names instead; e.g., name:en=.... International does not (necessarily) mean English. It is used to give the name transliterated to Latin script in Belarus, Bulgaria, Greece, Kazakhstan and Northern Macedonia
loc_name[:<_xx_>] User defined node way area Local name.
nat_name[:<_xx_>] User defined node way area National name.
official_name[:<_xx_>] User defined node way area Official name. Useful where there is some elaborate official name, while a different one is a common name typically used. Example: official_name=Principat d'Andorra (where "name" is name=Andorra).
old_name[:<_xx_>] User defined node way area Historical/old name, still in some use.
ref_name[:<_xx_>] User defined node way area Unique, human-readable name of this object in an external data management system.
reg_name[:<_xx_>] User defined node way area Regional name.
short_name[:<_xx_>] User defined node way area Should be a recognizable commonly-used short version of the name, not a nickname (use alt_name for that), useful for searching (recognized by Nominatim).
sorting_name[:<_xx_>] User defined node way area Name, used for correct sorting of names — This is only needed when sorting names cannot be based only on their orthography (using the Unicode Collation Algorithm with collation tables tailored by language and script, or when sorted lists of names are including names written in multiple languages and/or scripts) but requires ignoring some parts such as:ignoring leading articles, or lowering the relative importance of first names cited before a last name, ignoring the generic part of a street name when it occurs before the specific name (e.g., in French with "rue", "boulevard", "place", etc.), all of them being ignored at the primary sort level and not easily inferable by a preprocessing algorithm.
alt_name[:<_xx_>] User defined node way area Alternative name by which the feature is known. If there is a name that does not fit in any of the above keys, alt_name can be used; e.g., name=Field Fare Road and alt_name=Fieldfare Road, or name=University Centre and alt_name=Grad Pad. In rare cases, the key is used for multiple semicolon-separated names; e.g. alt_name=name1;name2;name3, but this usage is not preferred.
nickname[:<_xx_>] User defined node way area Nickname (e.g. "Warschauer Allee" for BAB 2 in Germany 3140168relation 3140168).
name_1 , name_2 , ... Do not use this tag, suffixed name tagging for multiple values is deprecated.

This table is a wiki template with a default description in English. Editable here.

Key variants can be suffixed with date namespace suffix (such as "old_name:en:1921-1932").

For all documented suffixed subkeys, see [Category:Key descriptions for group "names"](/wiki/Category:Key%5Fdescriptions%5Ffor%5Fgroup%5F%22names%22 "Category:Key descriptions for group "names"").

Multiple names

If you have multiple names for a feature, first try to choose a rich semantic tag from the table above (like short_name=*, old_name=*, etc.). If none of them work, default to alt_name=*. If there are multiple names that do not fit, alt_name=* can be used with semicolons, ";".

Sometimes name=* itself can contain multiple values (often separated by semicolons):

Some renderers turn semicolon delimiters into something more aesthetically pleasing, such as an em dash or line break, but many other data consumers assume only a single value in name=*, so a semicolon could appear verbatim, surprising users.

Possible tagging mistakes

See also

Footnotes

  1. Official OpenStreetMap Foundation statement on the project's practices regarding disputed boundaries, borders, names, and descriptions.
  2. Gift shops in Bethlehem may have names in English, but the primary name for the town of Bethlehem will certainly not be in English.
  3. For example, this is a single shop that calls itself "Fun House" in front where customers park but "Flag House" in the rear where customers enter.