Changes between Version 3 and Version 4 of Help/Dialog/Conflict


Ignore:
Timestamp:
2011-01-02T01:42:28+01:00 (15 years ago)
Author:
stoecker
Comment:

Join with wrong page

Legend:

Unmodified
Added
Removed
Modified
  • Help/Dialog/Conflict

    v3 v4  
    11[[TranslatedPages]]
     2= Conflict Dialog =
     3[[TOC(inline)]]
     4 
     5'''The Conflict Dialog is used to resolve [wiki:/Help/Concepts/Conflict conflicts] between two [wiki:/Help/Concepts/Object versions] of an OSM object.'''
     6
     7[[Image(conflict-dialog.png)]]
     8
     9== Resolving differences between tags ==
     10If the tags of one version of an objects are different from the tags of another version, the Conflict dialog shows a [[Image(source:/trunk/images/dialogs/conflict/mergeincomplete.png)]] in the tab '''Tags'''. Click on the tab to display a dialog for resolving tag conflicts.
     11
     12There are three tables displayed in this dialog, from left to right:
     13 * '''My version''':  shows the tags of the first object version participating in this conflict. These are usually the tags of the object version in your local data set.
     14 * '''Merged version''': shows  the merged tags. This table is initially empty. The more tag conflicts you resolve, the more tag values will we be displayed in this table.
     15 * '''Their version''': shows the tags of the second object version participating in this conflict. These are usually the tags of the object version currently stored on the server.
     16
     17In the example below both versions have a tag "`name`". The values in the two object versions are different, though, and JOSM therefore displays the row with a red background. The value of the first version is "`Secondary School`", the opposite version has a value "`Elementary School`". You now have to decide which of these values you want to keep and which you want to discard.
     18
     19[[Image(tag-resolve-1-commented.png)]]
     20
     21Click on the value you want to keep, in the example for instance on the value on the left. If you either double-click on the value or click on [[Image(source:/trunk/images/dialogs/conflict/tagkeepmine.png)]], you decide to keep the value and to discard the opposite value. The table in the middle now displays the value to keep and the background color turns to green.
     22
     23
     24[[Image(tag-resolve-2-commented.png)]]
     25
     26When the button '''Apply Resolution''' is enabled you can apply your decision. The values you've chosen will be applied and the dialog will be closed.
     27
     28[[Image(tag-resolve-3-commented.png)]]
     29
     30== Resolving differences in the node list of two versions of a way ==
     31If you see the symbol [[Image(source:/trunk/images/dialogs/conflict/mergeincomplete.png)]] in the tab '''Nodes''' then you have to resolve differences in the list of [wiki:/Help/Concepts/Object nodes] of two [wiki:/Help/Concepts/Object ways]. There are three columns in the respective panel (see screen shot below):
     32 * the leftmost table displays the list of nodes of the the local object version
     33 * the rightmost table displays the list of nodes of the the server object version
     34 * the table in the middle shows the list of nodes of the merged ways
     35
     36Initially, the middle table is empty. You should now decide which nodes to keep from the local dataset (the leftmost table) and which from the server dataset (the rightmost table).
     37
     38
     39[[Image(node-resolve-main-commented.png)]]
     40
     41=== The standard workflow ===
     42The standard workflow to resolve conflicts in the node lists of two [wiki:/Help/Concepts/Object object versions] consists of three steps:
     43
     44  1. Pick nodes from either object version and reorder the resulting node list if necessary
     45  2. '''Freeze''' the resulting merged node list by clicking on the button [[Image(button-freeze.png)]]. When you freeze the merged node list you tell JOSM that all conflicts in the node list are resolved.
     46  3. '''Apply the resolution'''
     47
     48
     49=== A simple workflow: Keep the node list from your local object version ===
     50The following example shows the workflow when you decide to keep all nodes in the same order from your local object version.[[BR]]
     51''(Example is out of date (new buttons), but still works.)''
     52
     53First, select all elements in the leftmost table (either using the mouse or by pressing Ctrl-A in the table) (see next screen shot):
     54
     55[[Image(simple1-step-1.png)]]
     56
     57Then, click [[Image(source:/trunk/images/dialogs/conflict/copystartleft.png)]] to copy the selected nodes to the middle table with the merged nodes:
     58
     59[[Image(simple1-step-2.png)]]
     60
     61Finally, click [[Image(button-freeze.png)]] to freeze the resulting merged node list:
     62
     63[[Image(simple1-step-3.png)]]
     64
     65The symbol in the nodes tab now switched to [[Image(source:/trunk/images/dialogs/conflict/mergecomplete.png)]] and you can apply the merge decisions.
     66
     67=== Support for comparing node lists ===
     68It can be difficult to find the differences between the node list of of two object versions, in particular for ways with many nodes.
     69
     70The Conflict Dialog supports you in finding the differences. It can compare two of the node lists displayed ("my" node list, the merged node list, and "their" node list) and it can render the differences between them with specific background colors.
     71
     72From the following combo box you can select which pair of node lists to compare:
     73[[Image(compare-options.png)]]
     74
     75 * '''My with Their''': compares the leftmost table with the rightmost table in the Conflict Dialog
     76 * '''My with Merged''': compares the leftmost table with the middle table in the Conflict Dialog
     77 * '''Their with Merge''': compares the middle table with the rightmost table in the Conflict Dialog
     78
     79Depending on the position of a node in the list different background colors are used:
     80 * [[Image(compare-in-one-list-only.png)]] - the node is in this list '''only'''. It isn't present in the opposite list.
     81 * [[Image(compare-different-positions.png)]] - the node is in both lists, but it is on different positions
     82 * White background means that a node is in both lists at the same position.
     83
     84== Hints ==
     85
     86 * Make sure you don't edit outside of the area you have downloaded in order to reduce the problem of conflicts
     87 * Resolve conflicts by opening the 'conflicts' panel, selecting the one of the listed conflicts and choosing whether to accept 'theirs' or 'mine'.
     88
     89
     90----
    291Back to [wiki:Help Main Help]
    3 
    4 = Conflicts Dialog =
    5 
    6 Make sure you don't edit outside of the area you have downloaded in order to reduce the problem of conflicts
    7 
    8 Resolve conflicts by opening the 'conflicts' panel, selecting the one of the listed conflicts and choosing whether to accept 'theirs' or 'mine'.
    9 
    10 TODO expand on this explanation.
    11 
    12 Back to [wiki:Help Main Help]