Changes between Version 21 and Version 22 of Help/Relations
- Timestamp:
- 2020-07-12T17:07:37+02:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Relations
v21 v22 1 1 [[TranslatedPages]] 2 2 3 Some [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 unaccessible.3 Some [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 4 5 5 == Create a relation == 6 7 6 1. Button in [wikitr:/Help/Dialog/RelationList Relations panel] 8 2. Tools specific to each [wikitr:/Help/Concepts/Object#Relations type of relation]7 1. Tools specific to each [wikitr:/Help/Concepts/Object#Relations type of relation] 9 8 10 9 == Add/modify/remove tags of the relation == 11 12 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. 13 11 14 12 1. Using buttons in the [wikitr:/Help/Dialog/RelationEditor#TagsRelation "Tags" panel of Relation editor] 15 2. [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])13 1. [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]) 16 14 17 15 == Create a parent relation == 18 Parent [wikitr:/Help/Concepts/Object#Relations relation] is a relation that consist of other relations as its child s.16 Parent [wikitr:/Help/Concepts/Object#Relations relation] is a relation that consist of other relations as its children. 19 17 20 18 === Load or create child relations === 19 In 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]. 21 20 22 In this demo we simply pasted the relation [https://www.openstreetmap.org/relation/1152180 1152180] in active OSM data layer (make sure you have one first), other options covered at [[wikitr:/Help/Downloading data|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%)]] 23 22 24 [[Image(create parent relation (route_master) - 1 load data or make sure you have all child relations in relations window.png,nolink,50%)]] 23 === Select at least one child relation in Relations list panel === 24 In [wikitr:/Help/Dialog/RelationList Relations list panel]: 25 25 26 === Select at least one child relation in Relations window === 27 In [wikitr:/Help/Dialog/RelationList Relations window]: 26 We 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]. 28 27 29 We are holding {{{Ctrl}}} to select multiple child relations at once in Relations window. But there [wikitr:/Help/Dialog/SelectionList#Selection many tools to select relations]. 28 [[Image(create parent relation (route_master) - 2 optionally use ctrl to select multiple relations.png,link=,50%)]] 30 29 31 [[Image(create parent relation (route_master) - 2 optionally use ctrl to select multiple relations.png,nolink,50%)]] 30 === Selection list panel === 31 In [wikitr:/Help/Dialog/SelectionList Selection list panel]: 32 32 33 === Selection window === 34 In [wikitr:/Help/Dialog/SelectionList Selection window]: 35 36 * If you did nothing: nothing was subselected - it means everything is selected 37 * If only 2 items were selected in Selection window (using {{{Ctrl}}} but in this window now), only 2 objects will be visible later on. 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. 38 35 39 36 Nothing (everything) is selected: 40 37 41 [[Image(create parent relation (route_master) - 3.a refine subselection in selection window hold Ctrl and click at every child relation.png, nolink,50%)]]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%)]] 42 39 43 40 Only 2 objects are selected: 44 41 45 [[Image(create parent relation (route_master) - 3.b 2 route relations now selected in selection window.png, nolink,50%)]]42 [[Image(create parent relation (route_master) - 3.b 2 route relations now selected in selection window.png,link=,50%)]] 46 43 47 44 === Open Relation editor with selection === 45 Click ''Plus button'' in ''Relations list panel'' to ''open relation editor with selected relations'': 48 46 49 Click ''Plus button'' in ''Relations window'' to ''open relation editor with selected relations'': 50 51 [[Image(create parent relation (route_master) - 4 open relation editor with selected relations (Plus button in Relations window).png,nolink,50%)]] 47 [[Image(create parent relation (route_master) - 4 open relation editor with selected relations (Plus button in Relations window).png,link=,50%)]] 52 48 53 49 === Relation editor === 54 55 50 In [wikitr:/Help/Dialog/RelationEditor Relation editor]: 56 51 57 52 ==== Add all of some members from selection to the left ==== 58 59 53 Read hover captions or [wikitr:/Help/Dialog/RelationEditor Relation editor] page about what each button does. 60 54 61 [[Image(create parent relation (route_master) - 5 add all selected members to the left.png, nolink,50%)]]55 [[Image(create parent relation (route_master) - 5 add all selected members to the left.png,link=,50%)]] 62 56 63 57 ==== Add tags to parent relation ==== 58 1. 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;'' \\ 59 1. Press "OK" 64 60 65 1. 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;'' \\ 66 2. Press {{{OK}}} 61 [[Image(create parent relation (route_master) - 6 add tags to parent relation (top part or relation editor) and press ok.png,link=,50%)]] 67 62 68 [[Image(create parent relation (route_master) - 6 add tags to parent relation (top part or relation editor) and press ok.png,nolink,50%)]]69 63 70 64 == Remove or edit child relations == 71 72 65 In public transport schema this is similar to edit/removing detour {{{route}}} relations from {{{route_master}}} relation. 73 66 74 67 1. [wikitr:/Help/Dialog/SelectionList#Selection Select a relation] that has other relations as it's members, open [wikitr:/Help/Dialog/RelationEditor Relation editor]. 75 2. 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]68 1. 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] 76 69 77 70 == Remove parent relations == 78 79 71 Impossible ATM, but you can navigate to parent relation and remove respective child. 80 72 … … 82 74 83 75 == Duplicate a relation == 84 85 1. Button in [wikitr:/Help/Dialog/RelationList Relations window] 86 2. Button in [wikitr:/Help/Dialog/RelationEditor#Buttonsontop Relation editor] 87 3. TODO: other more specific tools 76 1. Button in [wikitr:/Help/Dialog/RelationList Relations list panel] 77 1. Button in [wikitr:/Help/Dialog/RelationEditor#Buttonsontop Relation editor] 78 1. TODO: other more specific tools 88 79 89 80 == Remove a relation == 81 Please only remove relations when object in the world world is no longer exist. 82 Please [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. 90 83 91 Please only remove relations when object in the world world is no longer exist. 92 Please [https://wiki.openstreetmap.org/wiki/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. 84 1. Button in [wikitr:/Help/Dialog/RelationEditor#Buttonsontop Relation editor] 93 85 94 1. Button in [wiki:Help/Dialog/RelationEditor#Buttonsontop Relation editor] 86 ----