JA:Key:tunnel
+/-
トンネルタグは、地下を通るウェイに使います。
Properties
|
tunnel タグ は、地下を通るウェイに使います。
highway (道路や線路) あるいは waterway (運河のトンネルなど) でトンネルに なっている部分に、単に tunnel=yes を追加する必要があります。
At an undercrossing/underpass you have to decide on the basis of the construction if you are in a tunnel or under a bridge. 地下へ向かう傾斜はトンネルの一部ではありません。 このような傾斜には cutting=yes を付けられます。
galleries (片側が開いているトンネルで、山岳道路でしばしば見られます)や、ビルの下を通るウェイをマッピングするためには、代わりに covered=yes を使ってください。
マッピング方法
トンネルをマッピングするときに考慮する必要のあることが二つあります:
一つ目は、異なった地物のレイヤー分けです。 どの道路がトンネル内にあって、その上には何がある? もっとも単純な場合では、トンネルに layer=-1 を付け、その他のものには layer タグは付けません (これは layer=0 を意味します)。 layer タグには -5 から +5 が使えます。 詳しくは Key:layer を参照してください。
また、道路、線路などの一部として、(傾斜などと比較して)実際にトンネルになっている部分に tunnel=yes タグを付けます。 A way leading through a tunnel has to be split up in order to be able to assign the tunnel tag to the part that is in the tunnel.
ほとんどの場合、トンネルは直接交差点と接続していないので、そのような場合は、 交差点とトンネルを繋ぐ短い道路を追加するべきです(以下の図を参照してください)。
その他の tunnel の値
- tunnel=culvert は、暗渠を通る地下の waterways/streams に使います。
通常はパイプですが、橋ととても似ている国もあります (and prefer bridge=culvert if the road is reusing the same structure). 上が開いている排水溝には使わないでください。
レンダリング
Osmarender (version 4) renders tunnels as dotted outlines with lines for the abutting face.
Mapnik draws tunnels on highways with dotted outlines and a lighter fill color for the road and with curved color transitions on tunnel entrances.
関連項目
- Key:name - トンネルや、トンネルを通る道路の名前
- Key:layer - ウェイのレイヤーを指定する
- Key:access - 通行制限に
- Key:maxheight - 高さ制限に
- Key:maxwidth - 幅制限に
- Key:maxweight - 重量制限に
- Key:lit - 傾斜に
- Relations/Proposed/Bridges_and_Tunnels - 複数のトンネル要素をリレーションでグループ化する
- Key:covered - レイヤー分けが不適切な場所に
