[[TranslatedPages(outdated=This page is outdated. JOSM has improved and the buttons are not really explained.)]] [[PageOutline(2-10,Table of Contents)]] = Relation Editor Dialog = JOSM has three visible features to allow working with relations: a relation list, a relation editor, and a modified property display dialog. The Relation Editor Dialog can be used to create, modify, and delete [Concepts/Object#Relations relations]. In addition to the [[Image(source:trunk/images/dialogs/propertiesdialog.png,15)]] [Dialog/TagsMembership Tags/Memberships Dialog] where the keys and values are listed, there is a list that any relations of which the selected item is a member is listed together with the "role" the item has in that relation. Double-clicking on a line there will open this relationship editor for the relation in question. The [[Image(source:trunk/images/dialogs/relationlist.png,15)]] [Dialog/RelationList relation list] is just a new dialog in JOSM that you can activate using the gear icon on the left. It shows a list of all relations loaded and you can add or delete relations there as well. == Relation Editor == [[Image(relation_editor.png,600)]] The relation editor has an upper part where tags for the relation can be entered and a lower part that contains the members of the relation. There's an "add selected" button that adds all objects currently selected in JOSM as members, and there's the reverse, a "select" button that selects members of the relation in JOSM (you will have to use that to see them on the map). == Error and Warning Messages == === Conflict in data when saving or applying a relation ===#RelationChangedOutsideOfEditor {{{ #!html }}} A [Concepts/Object#Relations relation] may be edited concurrently in the Relation Editor Dialog ''and'' outside of the Relation Editor Dialog. While the Relation Editor Dialog for a relation is open you may for instance split a way the relation refers to. In this case, the relation is modified but the changes due to the way splitting are not immediately reflected in the Relation Editor Dialog. JOSM keeps track of them, though, and when you close the Relation Editor Dialog or apply changes, the following warning message is displayed: [[Image(warning-conflict-in-data.png)]] It indicates that JOSM is aware of two incompatible [Concepts/Object#Objectversions versions] of this relation. Since JOSM can't resolve the differences between these versions automatically, it proposes to create a [Concepts/Conflict conflict] which you can [Concepts/Conflict#Resolvingconflicts resolve] later using the [Dialog/Conflict Conflict Dialog]. === Unsaved changes === [[Image(relation_editor_unsaved_changes_warning.png,900)]] == See also == * [[Image(source:trunk/images/dialogs/relationlist.png,20,middle)]] [Dialog/RelationList Relation list dialog] * [Concepts/Conflict Conflict] * [Concepts/Object Object] * A more elaborate example can be found on the OSM wiki: [osmwiki:JOSM_Relations_and_Turn_Based_Restrictions JOSM Relations and Turn Based Restrictions] ---- Back to [wiki:/Help Main Help]