JA:Relation:building

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg building
Building part areas in building area.svg
説明
building リレーションは、単純な3Dモデリングの建物を形成する要素をグループ化するために使用します。 Show/edit corresponding data item.
グループ: 建物
メンバー
  • ウェイ - outline
  • ウェイ - part
  • それ以外のメンバーについては説明を参照してください。
状態:使用中Page for proposal

broom

Help (89606) - The Noun Project.svg

曖昧さ回避: このページでは、基本的な3Dの建物のモデリングにおけるコア要素として使われる type=building のリレーション(2014年12月12日時点で約6000件使用)の使い方を説明しています。それ以前に、2007年に却下された住所のマッピングに使うこのタグの提案がありました。


type=buildingリレーションは基本的な3Dのモデリングにおいて、一つの建物を構成する要素をグループ化するために使います。

タグ付け

type=building は 3D モデリングと室内マッピングの両方の場面で使われます。ここではそれぞれの使い方を説明しますが、同じリレーションで組み合わせることもできます。

3D モデリング向け

building:part=yesroof:ridge=yesroof:edge=yes を建物に関連付けます。

それ以上の詳細、つまり建物のそれぞれの部分に関連する属性は 基本的な3Dの建物 に書かれています。

ロール 要素 出現回数 コメント
outline エリア リレーション 1回以上 建物の輪郭を構成するエリア、例えば壁です。
2D のレンダラーとの互換性のため、この輪郭に Tag:building=yes またはその他の building の値でタグ付けしてください。
part エリア 1回以上 建物の部分です。これらの部分は互いに高さ、屋根の形状、色、素材などが異なります。
ridge ウェイ 0回以上 建物またはその部分における屋根の尾根部分を構成するウェイです。
edge ウェイ 0回以上 建物またはその部分における屋根の縁部分を構成するウェイです。

室内マッピング向け

An example of building relation (indoor mapping) and its members

IndoorOSM は非推奨です。代わりに Simple_Indoor_Tagging を使用して下さい。

In this case, this kind of relation is used to group type=level relations in a same building entity. Each level has a level_n role, where n is the level number (level_0 for ground). Entrances can be added in the relation with the entrance role. This was first described in IndoorOSM proposal. See also entrance=* and amenity=parking_entrance

Role Elements Recurrence Comment
level_n リレーション one or more For type=level relations, with n as the level number (level_-1, level_0, level_1, ...). There should be at least one member (level_0).
entrance ノード one or more Building entrances. There should be at least one member, the main entrance.

Examples tested 2014-12-15:

  • Simple building with 3 members, the main house as the outline, two cylindrical parts on top, one of them defining the dome-shaped roof:
  • More complex church building with some towers and different roof types:
  • Empire State Building
  • Indoor mapping example (with levels)

Further Demo areas here.

関連項目