Changes between Version 2 and Version 3 of Ja:Help/Dialog/RelationEditor


Ignore:
Timestamp:
2018-10-27T09:27:52+02:00 (7 years ago)
Author:
Hidekichi
Comment:

Version 11 => 82に追随

Legend:

Unmodified
Added
Removed
Modified
  • Ja:Help/Dialog/RelationEditor

    v2 v3  
    1 [[TranslatedPages(revision=11)]]
    2 [[PageOutline]]
     1[[TranslatedPages(revision=82,outdated=Translation is incomplete.)]]
     2[[PageOutline(2-3,Table of Contents)]]
    33
    4 = リレーションエディタダイアログ =
     4= リレーションエディタ =
    55
    6 JOSMにはリレーションを扱うための三つの機能が備わっています: それはリレーション一覧、リレーションエディタ、変更されたプロパティの表示ダイアログです。
     6リレーションエディタはリレーションが有するメンバーとタグを扱います。
     7[wikitr:/Help/Dialog/RelationList リレーションウインドウ]と混同しないようにしてください。こちらはすべてのリレーションを一覧できる''JOSMウインドウ''です。
    78
    8 リレーションエディタダイアログでは[wikitr:/Help/Concepts/Object#Relations リレーション]を作成・変更・削除することができます。
     9=== 上部のボタン ===
    910
    10 [[Image(source:trunk/images/dialogs/propertiesdialog.svg,15)]] [wikitr:TagsMembership プロパティ/メンバー ダイアログ]では、キーと値の組の一覧の表示に加えて、選択されたアイテムがメンバーになっているリレーションについても、そのアイテムのリレーション内での”ロール"と併せて表示されます。 表示されている項目をダブルクリックするとリレーションエディタで対象のリレーションを開きます。
     11|| [[Image(source:trunk/images/dialogs/refresh.png)]] ||データレイヤからリレーションを更新する(詳細は[#RelationChangedOutsideOfEditor 下]を参照)||
     12|| [[Image(source:trunk/images/save.png)]] || Apply the current changes made within the relation editor to the data TODO: clarify when to use it ||
     13|| [[Image(source:trunk/images/dialogs/select.png)]] || リレーションエディタのリレーションを選択する ||
     14|| [[Image(source:trunk/images/duplicate.png)]] || 複製。すなわち、リレーションのコピーを作成し、別のリレーションエディタウインドウで開く ||
     15|| [[Image(source:trunk/images/dialogs/delete.svg)]] || 編集したリレーションを削除 ||
    1116
    12 The [[Image(source:trunk/images/dialogs/relationlist.png,15)]] [wikitr:RelationList リレーション一覧]はJOSMの新しいダイアログで左側のギアのアイコンを使って有効にできます。 このダイアログには読み込み済みの全てのリレーションが表示されるほか、リレーションを追加したり削除したりもできます。
     17=== タグとメンバータブ ===#TagMember
     18タグとメンバータブの上半分にはリレーションのタグを入力します。
    1319
    14 == リレーションエディタ ==
     20下側には二つのリストがあります。左側の一つはリレーションのメンバーが並んでいます。右側は現在選択しているマップオブジェクトのリストです。
    1521
    16 [[Image(wiki:Help/Dialog/RelationEditor:relation_editor.png,600)]]
     22[[Image(wiki:Help/Dialog/RelationEditor:relation_editor.png,right,margin-left=15)]]
    1723
    18 リレーションエディタの上部にはリレーションに適用されるタグが表示されており、下部にはリレーションに含まれるメンバーが表示されています。 "選択を追加"ボタンを押すと、JOSMで現在選択している全てのオブジェクトがメンバーとして追加されます。 逆に"選択"ボタンを押すとリレーションのメンバーをJOSM上で選択することができます(マップ上でメンバーを確認するにはこの機能を使う必要があります)。
     24==== 上側半分はリレーション自体のタグです ====
     25上側の部分の一番上には編集中の'''''リレーションのタグ'''''に合致するプリセットのリンクがあり、その下にタグのテーブルがあります。
     26
     27リレーションに合致するプリセットはここで開くことができます(タグパネルよりも示唆に富みます)。通常、[/wiki/Ja:Introduction#Leftmouseclickonrespectivepresetheadingwillopencompletepresetview それぞれのリンクをクリックしてプリセット全体を開きます]。
     28
     29左にある三つのボタンは:
     30
     31|| [[Image(source:trunk/images/dialogs/add.png)]] || 新しいタグを追加 ||
     32|| [[Image(source:trunk/images/dialogs/delete.svg)]] || タグ一覧の現在選択中のボックスを削除 ||
     33|| [[Image(source:trunk/images/pastetags.png)]] || タグをバッファから貼り付け ||
     34
     35注意:通常、タグの修正は[Dialog/TagsMembership タグ/メンバーシップウインドウ]から行うのが簡単です。
     36
     37==== 下側部分の左にはメンバーが入ります ====
     38下側部分の左側はリレーションのメンバーのテーブルです。
     39
     40===== テーブル =====#Table
     41テーブルはそれぞれのメンバーを表します;
     42 * 左にはロール
     43 * 真ん中にはオブジェクトの種類がアイコンと識別子(オブジェクトの名前や参照番号、あるいは単純にID)
     44  * Double-clicking on a line with ''complete relation'' there will open this ''Relationship editor'' for the relation in question
     45 * 右には近くのウェイトの接続の情報があり、[Help/Concepts/Object#typemultipolygon マルチポリゴン]の閉じたウェイのメンバーやルートが途中で欠けた部分がなく完全であるかをチェックするのに役立ちます。
     46
     47====== テーブルのコンテキストメニュー ======
     48
     49端点は赤い点で示されます。
     50
     51* ズームする - [#Currentlyselectedmembers 現在選択しているメンバー]の一番上の要素を拡大します
     52* 端点にズーム - 端点にズームします(端点が選択されている場合)
     53* 前の端点を選択
     54* 次の端点を選択
     55
     56===== 現在選択中のメンバー =====#Currentlyselectedmembers
     57Selecting members in the [[#Table]] works as usual: hold {{{Ctrl}}} to select multiple items. Left click on the item to add/remove it from the selection.
     58
     59On the right you can see example that only "K 8830" way was selected.
     60
     61===== Buttons =====
     62The buttons on the left offer the following actions if appropriate:
     63
     64|| [[Image(source:trunk/images/dialogs/moveup.png)]] || Move the [#Currentlyselectedmembers currently selected members] up (**`Alt+up`**) ||
     65|| [[Image(source:trunk/images/dialogs/movedown.png)]] || Move ''the currently selected members'' down (**`Alt+down`**) ||
     66|| || ||
     67|| [[Image(source:trunk/images/dialogs/edit.png)]] || Open additional relation editors for ''the currently selected members'' of object type relation ||
     68|| [[Image(source:trunk/images/dialogs/delete.svg)]] || Remove ''the currently selected members'' from the relation (**`Alt+Delete`**) ||
     69|| || ||
     70|| [[Image(source:trunk/images/dialogs/sort.png)]] || Sort ''the currently selected members'' (**`Alt+End`**) ||
     71|| [[Image(source:trunk/images/dialogs/sort_below.png)]] || Sort ''the currently selected members'' and all members below ([ExpertMode expert mode] only) ||
     72|| [[Image(source:trunk/images/dialogs/relation/reverse.png)]] || Reverse the order of the currently selected members ||
     73|| || ||
     74|| [[Image(source:trunk/images/dialogs/relation/downloadincomplete.png)]] || Download all incomplete members (**`Alt+Home`**) ||
     75|| [[Image(source:trunk/images/dialogs/relation/downloadincompleteselected.png)]] || Download selected incomplete members ||
     76
     77Text field below the table used to set role to [[#Currentlyselectedmembers]]
     78
     79==== Bottom half, right side, selection ====
     80In the lower right part is the selection list where currently selected objects in the current data set are shown. The list is basically a mirror of the [Dialog/SelectionList Selection window]. Objects with yellow background color are already member of the relation.
     81
     82The buttons offer following actions:
     83
     84|| [[Image(source:trunk/images/dialogs/conflict/copystartright.svg)]] || Add all objects selected in the current data set before the first member ||
     85|| [[Image(source:trunk/images/dialogs/conflict/copybeforecurrentright.svg,)]] || Add all objects selected in the current data set before the first selected member ||
     86|| [[Image(source:trunk/images/dialogs/conflict/copyaftercurrentright.svg)]] || Add all objects selected in the current data set after the last member selected member ||
     87|| [[Image(source:trunk/images/dialogs/conflict/copyendright.svg)]] || Add all objects selected in the current data set after the last member ||
     88|| || ||
     89|| [[Image(source:trunk/images/dialogs/relation/selectmembers.svg)]] || Select relation members in the member list which refer to objects in the current selection ||
     90|| [[Image(source:trunk/images/dialogs/relation/selectprimitives.svg)]] || Select objects in the current data set for currently selected relation members in the member list ||
     91|| || ||
     92|| [[Image(source:trunk/images/dialogs/relation/deletemembers.svg)]] || Remove all members referring to one of the selected objects in the current data set
     93
     94=== Parent Relations tab ===
     95
     96Reload button - will fetch all parent relation from API (parent relations list will be empty if there no parent relations).
     97
     98Double click at any parent relation will open ''Relation editor'' with respective relation.
     99
     100Note: only one parent relation is shown for [osmwww:relation/51560 relation 51560]:
     101
     102[[Image(wiki:Help/Dialog/RelationEditor:relation 51560.png,nolink,50%)]]
     103
     104=== Child Relations tab ===
     105
     106TODO: any details?
     107
     108[[Image(wiki:Help/Dialog/RelationEditor:child relations of 1152180.png,nolink,50%)]]
     109
     110== Drag and Drop support ==
     111The relation editor has an advanced drag and drop support. You can do the following actions:
     112* reorder the members in the members list
     113* move an object from the [wiki:Help/Dialog/SelectionList Selection window] to the members list in the relation editor (with automatic role suggestion)
     114* move an object from the members list of one relation editor instance to another relation editor instance
     115* move an object from the members list of one relation editor instance to another relation editor instance from another layer*
     116* move an object from the members list of one relation editor instance to another relation editor instance from another JOSM instance*
     117* move an object from the members list of the relation editor or from the Selection window to an external text editor
     118
     119^^* provided the objects are part of the dataset
    19120
    20121== エラーと警告メッセージ ==
     
    24125<a name="RelationChangedOutsideOfEditor">
    25126}}}
    26 [wikitr:/Help/Concepts/Object#Relations リレーション]はリレーションエディタダイアログとダイアログ外の"両方で"同時に編集することができます。 リレーションエディタが開いているときに、例えばリレーションが参照しているウェイを分割したりするかもしれません。 この場合リレーションは変更されますが、ウェイの分割に伴う変更はリレーションエディタダイアログにすぐには反映されません。 JOSMはこの状態を認識していて、リレーションエディタダイアログを閉じたり変更を適用したりする際に以下の警告メッセージを表示します。
     127リレーションはリレーションエディタダイアログとダイアログ外の"両方で"同時に編集することができます。 リレーションエディタが開いているときに、例えばリレーションが参照しているウェイを分割したりするかもしれません。 この場合リレーションは変更されますが、ウェイの分割に伴う変更はリレーションエディタダイアログにすぐには反映されません。 [[Image(source:trunk/images/dialogs/refresh.png,middle)]]更新ボタンを押して、リレーションエディタの内容にデータを更新する必要があります。 JOSMはこの状態を認識していて、更新ボタンを押さずにリレーションエディタダイアログを閉じたり変更を適用したりする際に以下の警告メッセージを表示します。
    27128
    28129[[Image(wiki:Help/Dialog/RelationEditor:warning-conflict-in-data.png)]]
     
    30131このメッセージは、JOSMがこのリレーションの二つの相容れない[wikitr:/Help/Concepts/Object#Objectversions バージョン]があると認識していることを示します。 JOSMにはこれらのバージョン間の差異を自動的に解決することができないので、ユーザーが後で[wikitr:Conflict 競合ダイアログ]を使って[wikitr:/Help/Concepts/Conflict#Resolvingconflicts 解決]できる[wikitr:/Help/Concepts/Conflict 競合]を作るかどうかを確認してきます。
    31132
     133A similar warning is the following:
     134
     135[[Image(wiki:Help/Dialog/RelationEditor:relation_conflict.png)]]
     136
     137It appears when you made changes in the relation and in the data layer and then click on the refresh button.
     138
     139'''So the workflow should always be like this (if you want to do changes in the relation editor ''and'' the data layer at the same time, i.e. while the relation editor stays open):'''
     140* '''After doing changes in the relation editor and before doing changes in the data layer press the [[Image(source:trunk/images/save.png)]] apply button.'''
     141* '''After doing changes in the data layer and before doing changes in the relation editor press the [[Image(source:trunk/images/dialogs/refresh.png)]] refresh button.'''
     142
     143Otherwise you will see the above warnings and end in a conflict.
     144
    32145=== 保存されていない変更 ===
    33 
     146The following warning appears when you make changes in the relation editor and do not press the Apply or OK button, but the Cancel button, the cross or `Escape` to close the window.
    34147[[Image(wiki:Help/Dialog/RelationEditor:relation_editor_unsaved_changes_warning.png,900)]]
    35148
    36149== 関連事項 ==
    37 * [[Image(source:trunk/images/dialogs/relationlist.png,20)]] [wikitr:RelationList リレーション一覧ダイアログ]
     150* [[Image(source:trunk/images/dialogs/relationlist.png,20,middle)]] [wikitr:RelationList リレーション一覧ダイアログ]
     151* [wikitr:/Help/Concepts/Object オブジェクト]
     152* [[Help/Relations]] - steps how to create parent relations, edit parent/child relations and so on
    38153* [wikitr:/Help/Concepts/Conflict 競合]
    39 * [wikitr:/Help/Concepts/Object オブジェクト]
    40 * より詳細な例がOSM wikiにあります: [osmwiki:JOSM_Relations_and_Turn_Based_Restrictions JOSM Relations and Turn Based Restrictions]
    41154
    42155----
    43 [wiki:/Ja:Help ヘルプ]に戻る
     156[wikitr:/Help ヘルプ]に戻る