Zh-hans:Lifecycle prefix

From OpenStreetMap Wiki
Jump to navigation Jump to search

生命周期/状态命名空间前缀可用于标注具有诸如proposed(提议), planned(规划), construction(建设), disused(弃用), abandoned(废弃), demolished(拆除), historic(历史)状态的对象。另见生命周期概念对比

示例: disused:amenity=pub, construction:amenity=parking, proposed:lanes=2

通过使用这个键前缀,可以确保当前或古老的应用程序不会混淆那些不存在或功能不全的对象,只有能识别到这个标签概念的软件才会应用它们。

另请参阅日期命名空间,一个包含历史标签日期的相关提案,例如name:-1965=Kings Place。这两种可能性可以在一定程度上结合起来。

不再存在的物体可能在其他来源中被标记为存在。例如,被拆毁的建筑可能在航拍图上可见,官方地图可能包括现在已经干涸的湿地等。使用生命周期的前缀,可以清楚地标明特定的对象不能在没有适当核实的情况下重新绘制。

与物体的当前状态无关的历史性物体一般不属于 OpenStreetMap。

历史数据可以添加到Zh-hans:OpenHistoricalMap中。

如何标记

命名空间前缀 (例如 disused:) 添加到不再与对象的当前状态相关的要素上。 您应该将对象上的所有标签视为有关该对象的一组事实,并为那些废弃的要素添加前缀。例如,一个不再用于停车但仍带有名称标志的停车场可能被标记为

name=West Plain Car Park
disused:amenity=parking
disused:parking=surface

这使得搜索停车位的程序无法使用它,并且不太可能在任何默认渲染中显示为停车位。但是该名称仍然相关,并且仍然可以搜索。如果该区域再次开放,取消前缀即可。

常用前缀

诞生阶段

proposed:*=*
计划中的,建造可能性很高。
另请参见 proposed=*highway=proposedrailway=proposedaeroway=proposed 等组合使用的方案。
使用量:超过 210,000 个要素(节点、路径和关系)带有此前缀(截至 2026 年)
planned:*=*
计划中的,建造可能性很高(可能与 proposed:*=* 含义重叠)。
有人认为planned:*=*proposed:*=* 更严格,即指已获批且获得资金支持的计划项目。
使用量:超过 11,000(截至 2026 年)
construction:*=*
当前正在施工(包括为维修或改造而进行的施工)。
另请参见 construction=*building=constructionhighway=constructionlanduse=constructionrailway=construction 等组合使用的方案。
使用量:超过 180,000(截至 2026 年)

衰败阶段

disused:*=*
当前未投入使用,但可轻松恢复。
对于物理上显眼的物体(如建筑、塔楼或采石场),更常使用 disused=yes[1]
铁路方面:railway=disused 仍与生命周期前缀搭配使用,因为该标签早于前缀引入。[2]
使用量:超过 530,000(截至 2026 年)
abandoned:*=*
仍然可见,但已严重失修,需要投入大量精力才能恢复使用。
对于土地利用(如采石场),更常使用 abandoned=yes[3]
铁路方面:railway=abandoned 用于标记部分拆除的轨道,该标签同样早于前缀引入,因此仍与生命周期前缀并用。[2]
使用量:超过 560,000(截至 2026 年)
ruins:*=*
仅剩废墟。
使用量:超过 15,000(截至 2026 年)

以下四个标签旨在降低编辑者根据 OSM 编辑所用的现有来源(例如卫星或航空影像)重新绘制该要素的可能性,因为这些来源显示的可能是要素的旧状态。一旦这些来源不再显示该要素,即可将其从 OSM 中安全移除。渲染器不能依赖 OSM 来保存已物理消失的历史记录。

demolished:[[Key:demolished:|]]=*
因主动拆除而不复存在。
可能曾被用于标记近乎消失但尚未完全不可见的要素。
使用量:超过 220,000(截至 2026 年)
removed:*=*
因主动拆除而不复存在(可能与 demolished:*=* 含义重叠)。
使用量:超过 100,000(截至 2026 年)
razed:*=*
因主动拆除而不复存在(与 removed:[[Key:removed:|]]=* 同义,可能与 demolished:*=* 重叠)。
铁路方面:railway=razed 用于标记完全拆除的轨道及路基(已覆土或改建),由于该标签早于前缀引入,目前仍与生命周期前缀并用。[2]
使用量:超过 100,000(截至 2026 年)
destroyed:*=*
因非有意拆除的事件而被摧毁。
使用量:超过 70,000(截至 2026 年)

不再存在(或已改变用途)

was:*=*
用于标记已不复存在(或已更改用途)的要素。这些要素原先确实存在,因此未经实地勘察的编辑很可能将其重新添加。
使用量:超过 180,000(截至 2026 年)
对于商店或企业,disused:*=*was:*=* 的用法通常无异,主要看个人偏好。两者效果相同:该地点不再显示于地图,但编辑者仍能轻易看到这些信息,从而避免误将其重新添加。

不常见的前缀

Stages of decay

ruined:
Only ruins are remaining (duplicate of ruins:*=*)
使用量:~700 (as of 2021-04)
closed:
Not currently in use, but could be reinstated easily (duplicate of disused:)
Used for closed businesses and services (e.g. shops, restaurants, offices, banks).
使用量:~600 (as of 2021-04)

Repurpose

historic:
由于使用不一致而产生误导——不推荐用于生命周期标记
While someone tried to establish the concept of "a previously valid characteristic for an object that has different properties today", this never actually got accepted and this prefix is used for various other things in an inconsistent manner. Most used as historic:civilization=*, historic:period=*, historic:railway=* and historic:<some railway property>, further as historic:year:* (similar to the date namespace) and some other ways.
使用量:92,700 (as of 2021-04)
former:
不是以前的样子(与 was: 重复)
使用量:~800 (as of 2021-04)

Other

emergency:
Used on multi-purpose facilities to reflect a temporary, secondary function for exigencies
使用量:~15,900 (as of 2021-04)

例子

图片 Tagging 描述
disused:shop=yes A closed-down shop of some sort. If the type of shop it used to be is known, substitute the appropriate value from Key:shop for "yes".
disused:amenity=pub
disused:operator=The Oxford Pub Company
name=Fox & Hounds
Boarded-up disused public house. It no longer has an operator as such - no beer is sold - but the name is still useful for navigation.
railway=disused
disused:railway=rail
Historic railway line. Tracks not degraded but overgrown.
electrified=no
construction:electrified=contact_line
Railway line with electrification works in progress.
disused:leisure=pitch Disused pitch, now somewhat overgrown.
objects that were there before open pit mine are not tagged Open pit mine. Forest that used to be here must not be tagged in any way, as no identifiable trace of it remains and is unlikely to be mistakenly mapped again. Only in cases where mappers are likely to reintroduce old objects (pit mine is new and not visible in some still used aerial images) it can be mapped.
railway is not tagged Place where railway existed in the past. It must not be tagged in any way, as no identifiable trace of it remains and is unlikely to be mistakenly mapped again. Only in cases where mappers are likely to reintroduce old objects (railway was dismantled recently and is still visible in some used aerial images) it can be mapped.
canal/moat is not tagged Place where waterway existed in the past. It must not be tagged in any way, as no identifiable trace of it remains and is unlikely to be mistakenly mapped again. Only in cases where mappers are likely to reintroduce old objects it can be mapped (recent removal, and likely to remapped from aerial image). This specific viaduct was constructed in 1863 as a bridge over canal that was filled in 15 years later.

也看看

参考

  1. 例如采石场:disused:landuse=quarry 使用了 706 次,而 4627 个 landuse=quarry 使用了 disused=yes
  2. 2.0 2.1 2.2 使用 railway=disused;abandoned;razed 将轨道等级与生命周期等级值混用,导致键 railway 的值集变得混杂。在这种旧式表示法中,通常由 railway=* 表达的轨道类型信息丢失(例如,数据用户无法区分废弃的有轨电车轨道和铁路轨道)。作为长期改进方向,建议支持并采用生命周期前缀变体。目前维基仍倡导两种标记方式并存,但未来可能改变。
  3. 例如采石场:abandoned:landuse=quarry 使用了 669 次,而 2364 个 landuse=quarry 使用了 abandoned=yes