Zh-hans:Key:name:left
| 说明 |
|---|
| 对于路径对象,名称可以因对象的一侧而异。 |
| 组: names |
| 用于这些元素 |
| 常用组合 |
|
| 状态:实际使用 |
| 此标签的工具 |
此键表示线性对象在其左侧而非右侧的名称。通常,这适用于构成边界的道路或水道。[1]
如何标注
使用 name:left=* 和 name:right=* 标签分别命名两侧(利用路径的方向来确定左和右)。name=* 标签仍可同时包含两个名称,以支持不同的工具。
例如,Leopold Luypaertstraat / Borghtstraat Leopold Luypaertstraat / Borghtstraat 标注为:
name:left=Leopold Luypaertstraatname:right=Borghtstraatname=Leopold Luypaertstraat / Borghtstraat
值得注意的是,在美国,分号是首选的分隔符。例如 Y Road;County Road 32 Y Road;County Road 32 标注为:
name:left=Y Roadname:right=County Road 32name=Y Road;County Road 32
多语言名称
此键还可以与语言后缀 name:left:xx=* 组合使用,其中 xx 是语言的 ISO 代码。见:Multilingual names。
例如,Komenstraat - Chemin des Quatre Rois Komenstraat - Chemin des Quatre Rois 标注为:
name:left:fr=Chemin des Quatre Roisname:left:nl=Vier Koningenweg
行驶方向
name:left=* 和 name:right=* 最初是为渲染器设计的,渲染器会将标签偏移到线路的左侧或右侧。然而,路径规划器需要将每个名称与行驶方向关联起来,以便用户沿道路向某一方向行进时能看到正确的名称。name:left=* 和 name:right=* 的含义对路径规划器来说并不那么明显,因为不同地区以及基于 driving_side=* 的行驶侧有所不同。为适应这一使用场景,name:left=* 和 name:right=* 有时会与 name:forward=* 和 name:backward=* 搭配使用,这与其他许多被路径规划器良好支持的键类似,如 maxspeed:forward=*、turn:lanes:forward=* 和 ref:forward=*。[1](基于 Valhalla 的 Mapbox Directions API 支持 name:forward=* 和 name:backward=*。)
示例
- 一条街道位于比利时与荷兰的边界上。比利时将其命名为"Amsterdamsestraat",荷兰将其命名为"Brusselsestraat"。
- 在意大利,这条街道在 San Giovanni la Punta 称为 Via Nebrodi,但在 Viagrande 称为 Via Maria Auxilium。为确保街道始终与两个行政区都保持关联,它与两个边界关系共享的路径完全连通。
- 在纽约市,这条街道一侧是布鲁克林的 Ruby Street,另一侧是皇后区的 75th Street,[2],不要与布鲁克林的 75th Street混淆。为避免地理编码器在查找布鲁克林的 75th Street 时返回错误的 75th Street,布鲁克林–皇后区边界应与该街道完全对齐。
- 在俄亥俄州汉密尔顿县,辛辛那提与 Norwood 之间的法人边界在法律上沿着两条相交街道的中心线,这两条街道在街道两侧有不同的名称。这条街道在辛辛那提是 Tennessee Avenue,在 Norwood 是 Ross Avenue,而这条街道在辛辛那提是 Rhode Island Avenue,在 Norwood 是 Section Avenue。但 Section 也指辛辛那提和第三个相邻市镇Amberley Village中的另一条街道。[3]
说明与参考资料
- ↑ 历史上,
name:left=*和name:right=*也曾被添加到boundary=administrative路径上。然而,这种用法已被boundary=administrative关系所取代。如今,你可以安全地从已是boundary=administrative关系成员的路径中删除name:left=*和name:right=*。 - ↑ "Division into boroughs and boundaries thereof". New York City Administrative Code. Cincinnati: American Legal Publishing. §2-202.
…thence easterly along such prolongation and along the center line of One hundred fifty-seventh avenue to the center line of Ruby street; thence northerly along the center line of Ruby street to the center line of One hundred fifty-fifth avenue; thence easterly along the center line of One hundred fifty-fifth avenue…
- ↑ Hunter, Ginny (September 20, 1984). “Town & country: Getting prepared for any disaster; Street sense; Zoo view; Loss for parks”. The Cincinnati Post. p. 11B.
