Changes between Version 1 and Version 24 of Help/Relations


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Help/Relations

    v1 v24  
    11[[TranslatedPages]]
    22
     3Some [wikitr:/Plugins plugins] may simplify some steps, but provide less clarity about what you do: many tools, states or tags become "hidden" or even worse: simply inaccessible.
     4
     5== Create a relation ==
     61. Button [[JOSMImage(dialogs/add)]] in [wikitr:/Help/Dialog/RelationList Relations panel]
     71. Tools specific to each [wikitr:/Help/Concepts/Object#Relations type of relation]
     8
     9== Add/modify/remove tags of the relation ==
     10''All tags of the relations'' are entered based on {{{type=*}}} key ([wikitr:/Help/Concepts/Object#SimpleExplanation simple explanation]). You (or tools you're using) should specify {{{type=*}}} tag first, then [wikitr:/Introduction#Presets you can active presets] or add other details.
     11
     121. Using buttons in the [wikitr:/Help/Dialog/RelationEditor#TagsRelation "Tags" panel of Relation editor]
     131. [wikitr:/Help/Dialog/SelectionList Select one or many relations], then add tags using regular tools that work on tags (there many of them: [wikitr:/Help#Tags Tags])
     14
    315== Create a parent relation ==
    4 Parent relation is a relation that consist of other relations as its childs.
     16Parent [wikitr:/Help/Concepts/Object#Relations relation] is a relation that consist of other relations as its children.
    517
    618=== Load or create child relations ===
     19In this demo we simply pasted the relation [osmwww:relation/1152180 1152180] in active OSM data layer (make sure you have one first), other options covered at [wikitr:"/Help/Downloading data" Downloading data].
    720
    8 In this demo we simply pasted https://www.openstreetmap.org/relation/1152180 in active OSM data layer (make sure you have one first), other options covered at [[Help/Downloading data]].
     21[[Image(create parent relation (route_master) - 1 load data or make sure you have all child relations in relations window.png,link=,50%)]]
    922
    10 === Select at least one child relation in Relations window ===
    11 In [wiki:Help/Dialog/RelationList Relation list window]:
     23=== Select at least one child relation in Relations list panel ===
     24In [wikitr:/Help/Dialog/RelationList Relations list panel]:
    1225
    13 We are holding {{{Ctrl}}} to select multiple child relations at once in Relations window. But there [wiki:Help/Dialog/SelectionList#Selection many tools to select relations].
     26We are holding {{{Ctrl}}} to select multiple child relations at once in Relations list panel. But there [wikitr:/Help/Dialog/SelectionList#Selection many tools to select relations].
    1427
    15 === Selection window ===
    16 In [wiki:Help/Dialog/SelectionList Selection window]:
     28[[Image(create parent relation (route_master) - 2 optionally use ctrl to select multiple relations.png,link=,50%)]]
    1729
    18 * If you did nothing: nothing was subselected - it means everything was selected
    19 * If only 2 items were selected in Selection window (using {{{Ctrl}}} but in this window now), only 2 objects will be visible later on.
     30=== Selection list panel ===
     31In [wikitr:/Help/Dialog/SelectionList Selection list panel]:
     32
     33* If you did nothing: nothing was sub-selected - it means everything is selected
     34* If only 2 items were selected in Selection list panel (using {{{Ctrl}}} but in this panel now), only 2 objects will be visible later on.
     35
     36Nothing (everything) is selected:
     37
     38[[Image(create parent relation (route_master) - 3.a refine subselection in selection window hold Ctrl and click at every child relation.png,link=,50%)]]
     39
     40Only 2 objects are selected:
     41
     42[[Image(create parent relation (route_master) - 3.b 2 route relations now selected in selection window.png,link=,50%)]]
     43
     44=== Open Relation editor with selection ===
     45Click ''Plus button'' [[JOSMImage(dialogs/add)]] in ''Relations list panel'' to ''open relation editor with selected relations'':
     46
     47[[Image(create parent relation (route_master) - 4 open relation editor with selected relations (Plus button in Relations window).png,link=,50%)]]
    2048
    2149=== Relation editor ===
     50In [wikitr:/Help/Dialog/RelationEditor Relation editor]:
    2251
    23 In [wiki:Help/Dialog/RelationEditor Relation editor]:
     52==== Add all of some members from selection to the left ====
     53Read hover captions or [wikitr:/Help/Dialog/RelationEditor Relation editor] page about what each button does.
     54
     55[[Image(create parent relation (route_master) - 5 add all selected members to the left.png,link=,50%)]]
     56
     57==== Add tags to parent relation ====
     581. Use [wikitr:/Help/Dialog/RelationEditor#TagMember top part or relation editor] to add tags. ''Tags are different depending on what you want to detail, seek for help if you have questions about tags;'' \\
     591. Press "OK"
     60
     61[[Image(create parent relation (route_master) - 6 add tags to parent relation (top part or relation editor) and press ok.png,link=,50%)]]
     62
     63
     64== Remove or edit child relations ==
     65In public transport schema this is similar to edit/removing detour {{{route}}} relations from {{{route_master}}} relation.
     66
     671. [wikitr:/Help/Dialog/SelectionList#Selection Select a relation] that has other relations as it's members, open [wikitr:/Help/Dialog/RelationEditor Relation editor].
     681. Select one or more members from the left (hold {{{Ctrl}}} to select multiple) and use according button, as described here: [wikitr:/Help/Dialog/RelationEditor#MembersList Bottom half left side members]
     69
     70== Remove parent relations ==
     71Impossible ATM, but you can navigate to parent relation and remove respective child.
     72
     73Select proper parent and press "edit" button in [wikitr:/Help/Dialog/RelationEditor#ParentRelations Parent Relations tab].
     74
     75== Duplicate a relation ==
     761. Button in [wikitr:/Help/Dialog/RelationList Relations list panel]
     771. Button in [wikitr:/Help/Dialog/RelationEditor#Buttonsontop Relation editor]
     781. TODO: other more specific tools
     79
     80== Remove a relation ==
     81Please only remove relations when object in the world world is no longer exist.
     82Please [osmwiki:Good_practice#Keep_the_history keep history] whatever possible: select all members, remove them and add new members - this way you will continue editing of "old" relation.
     83
     841. Button in [wikitr:/Help/Dialog/RelationEditor#Buttonsontop Relation editor]
     85
     86----