JA:Key:layer

From OpenStreetMap Wiki
(Redirected from JA:Tag:layer=-1)
Jump to: navigation, search
Help
Available languages
Deutsch English Suomi 日本語 Русский Українська
+/- layer

One example for layer

説明

Used to mark the physical level of something, where it differs from ground level.

グループ

Properties

要素 help

ノードに使用可能 ウェイに使用可能 領域に使用可能 使用可能か不明。もしくはテンプレートに含まれていない

利用状態

layer キーは、ウェイ/ノード/エリアが他のものの上や下にあることを示すために使います。

このタグを、レンダラの振る舞いを修正するために、つまり単に見た目をよくするために使わないでください。
このタグは、街路の上を通る橋や、他の物の下を通るトンネルのように、 現実に高さの違う物に対してのみ使われるべきです。

一般的な値は: layer=-5 から layer=5

layer=0 は自然の (あるいは恒久的に変更された) 地面の高さで、 layer タグのない(デフォルトレイヤーの)全ての物体に対して仮定され、 普通は省略されるべきです(例外は明確化のためで、例えば建物の下を通るトンネルが layer=0 のような場合です)。

橋とトンネルは暗黙にそれぞれ正と負の layer の値を持つと考えられることがあり、 レンダラーによってはそのように扱われます。 (Notably Keep Right assumes layers -1 and 1 for tunnels and bridges, respectively, so take it into account when using that tool.) しかし、(特に混乱する可能性がある(つまり単なる孤立した橋やトンネル以上のものの場合))明示的に layer を指定する方が好ましいです。

タグ付けするときに、layer タグにあまり時間を使わないようにしてください。 特に、以下のような状況では使わないでください:

These areas usually act as a kind of background colour in the maps, so the renderers put those coloured shapes in the back, painting things like roads in front of them. Interfering with a layer tag might affect this process, thus hiding ways and nodes which would otherwise be visible.

Tagging a long river with a layer=-1 tag might affect many existing waycrossings of this river, e.g. tunnels which are layer=-1 themselves. Tagging just the bridge does affect the bridge (putting it above the river when rendering), and nothing else. (注意: この点は論争になっています: there may be nothing wrong with tagging a section of a river crossed by 10 bridges with one single layer=-1 on the river object instead of 10 bridges tagged with layer=1 -- except you need to keep in mind that all other features near that river, like landuse polygons, are tagged accordingly with layer tags, which on their turn could interfere with other features which need layer tags etc. -- and even if there are no road tunnels, there may be other tunnels beneath the riverbed, such as for utilities.)

注意: layer タグは絶対高度とは全く関係ありません。 完全に水平な街路にある橋は、例え下を流れるのがグランドキャニオンのように 遥かに下でも layer=1 であるべきです。 エベレストの頂上は、海抜 8848 メートルであっても layer=0 です。 In other words, the ground level, as would be shown on a topographic map, is always layer=0. (There's a bit of "wiggle room" in that a thick bridge can be considered a tunnel, and a short tunnel can be considered a bridge, but usually the ground level is clear.)

重要な注意: 二つの道路の交差点がが空中にある場合、正しく表示されるためには両方の道路は同じ layer でなければなりません。 これは、どちらかの道路を近くで分割する必要があるかもしれないことを意味します。

2 つ以上の橋が互いに交差しているような、複雑な橋の構造で有用です:

2 bridges crossing each other

highway=motorway_link (on the ground)
+ oneway=yes

highway=motorway_link (the under one)
+ bridge=yes
+ oneway=yes
+ layer=1

highway=motorway (the upper one)
+ bridge=yes
+ oneway=yes
+ layer=2

関連項目

Personal tools
Namespaces
Variants
Actions
site
Toolbox