Zh-hans:Key:name

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg name
Strakers.jpg
说明
Name 标签为一个元素命名的最主要的标签. 编辑此说明
组: Names
用于这些元素
可用于节点可用于路径可用于区域可用于关系
已记载的值: 27
另见
状态:实际使用

此键设置为现实世界中的主要名称。它是几个与名称相关的键中最重要的。

用法

主条目:Names

提供OpenStreetMap命名的详细信息. 更多的内容和用法参见Names .

根据经验,本标签将是各种地图中第一名称,是编辑者希望数据使用者在标签或其它界面元素中显示的名称。以下是名称的常见来源:

  • 贴在要素本身的标志上最显眼的名称,特别是对于建筑物环境中的要素;
  • 其它地方标志上的要素名称,例如指路牌;
  • 常见或官方用法,特别是对于自然环境中的要素。

您可以使用source:name=*来标注您确定要素名称的途径。

有时这些来源不可信:一个要素可能以不同的名称为不同的人或不同的地方所知。如有疑问,OpenStreetMap倾向于实地的情况。例如,有争议领土的名称将与对该领土拥有实际控制权的一方的用法相一致。[1] 然而,在地规则不是绝对的;您可能需要使用常识:

  • 如果一个城市在当地有昵称,最好把昵称放在loc_name=*里,把标准名放到name=*里,即使当地人不经常使用标准名称。
  • 如果路标为了节省空间而使用缩写名称,但可以合理地完整拼出名称,则name=*也应完整拼出。
  • 如果一个官方名称冗长或晦涩,并且在实践中很少有人使用它,即使它有路标,也最好将官方名称放在official_name=*alt_name=*中,而不是将其视为第一名称。
  • 如果一个标志明显错误,可以使用not:name=*来防止没有本地知识的编辑者在OpenStreetMap中传播错误。

主名称通常应使用当地语言。如果您不熟悉该地区,请尝试使用当地约定。但是,如果要素的真实名称与当地主要语言不同,可能需要具体问题具体分析。例如,面向游客的礼品店或迎合移民社区的杂货店可能会用外语命名。

在以下情况下不要使用name=*

  • 该要素在现实世界中未命名。如果它是应该有名字的要素类型,例如街道,则应使用noname=yes确认省略name=*是故意的,而不是让其成为等待另一个绘图者修复的问题。
  • 该要素由generic term or description已知。使用要素标签以一种语言中立、机器可读的方式指示类型。如果其它标签不能完全表达该功能与其他同类产品的区别,您也可以使用description=*note=*
  • 该要素由地址编号或代码得知。

下方是主要的值:



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
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 relation 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.

键的变体可以带有日期名字空间后缀(例如“old_name:en:1921-1932”)。

所有记录的子项:

多个名字

如果一个要素有多个名称,首先尝试选择一个语义丰富的标签,如表中的任何一个(例:short_name=*old_name=*等)。如果它们都不合适,选用alt_name=*标签。如果有多个名称不合适,可以在alt_name=*中用分号分隔。

有时name=*本身可以包含 分号分隔的多个值

  • 在有多种语言的地区或地方,不同语言的多个名称可能足够相关以包含在name=*中。使用分号以外的分隔符,例如“/”或“-”,可能在当地约定俗成。但这不能替代特定语言的键,例如name:en=*表示英语。
  • 一些国际边界上的要素(通常是水体)在name=*中有多个值,以免某一个国家的名称优先于另一个国家。
  • 在相对罕见的情况下,兴趣点等不那么突出的要素可能会出现多名称并用的情况。例如,一家企业可能会交替使用两个名称,并将每个名称张贴在建筑物的不同立面。在用多个值标注name=*之前,请确保它们确实同等使用,并且没有更结构化的方式来表示命名情况。[2]

一些渲染器会将分号分隔符转换为更美观的东西,例如破折号或换行符,但许多其他数据使用者假定name=*中仅有一个值,因此分号可能会原样出现,让用户感到惊讶。

道路名称

道路名称,尤其是公路名称,可以用来纪念个人。根据地区的具体情况,道路名称可能会出现在每个路口的显眼位置,也可能只在道路的两端出现一次或两次,或者可能有其它一些安排。在许多地区,高速公路可能会被命名,但只有路线编号有路标。如果名称适合一般用途(例如导航),请使用name=*标签; 否则,使用official_name=*alt_name=*标签。

附加数据

  • name=*标签应该只包含名称,而不是描述对象的类型或位置或其它属性(如高度、海拔 、操作员、访问限制、分类/认证/质量标签等)。
  • strapline=*可以用来描述张贴在商店上的广告标语

编辑

许多OpenStreetMap编辑器在其要素预设中为属性name=*提供了一个字段。StreetCompletequests (“这条路/步行街/广场的名称是什么?” StreetComplete quest road name.svg“这个地方的名字是什么?[...]”StreetComplete quest label.svg)为要素添加name=*标签。

可能的错误标签

如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么
如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么
如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么
  • name=* ‒ "*"不代表任何值
如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么
如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么
如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么
  • nom=* ‒ 法语
如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么
  • nome=* ‒ 意大利语、葡萄牙语
如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么
如果你知道 有使用这个标签的地方的话,请确认能否使用其他标签代替。
我们非常不鼓励你使用自动化编辑,除非你知道自己在做什么

参见

  • name:etymology=* - 要素名称所纪念的主题;
  • Multilingual names - 多语言名称;
  • noname=yes - 用于标记在现实中某物确实没有名字的要素;
  • strapline=* - 名称旁边所使用的官方广告标语
  • unnamed=* - 用于标记缺失名称的要素。在验证后显示在现实中确实没有定义名称时,请考虑使用noname=*代替。
  • Key:description - 用于描述一个要素。
  1. 该项目关于有争议的边界、名称和描述的做法参见OpenStreetMap基金会官方声明
  2. 例如,这个商店在顾客停车场的前面自称为“Fun House”,而在顾客进入的后门则自称为“Flag House”。