| 132 | | Select [[Image(relation-add.svg, 24px, middle)]] `Add selected objects to selected relation` from the `More tools` menu or press **`Ctrl+R`** on the keyboard. |
| 133 | | |
| 134 | | ==== What it does? ==== |
| 135 | | |
| 136 | | The selected objects will be added to the selected relation without showing a dialog. The relation the objects should be added to has to be selected as the first object. The roles will be guessed based on the type and keys of the relation and the selected objects |
| | 139 | Select [[Image(relation-add.svg, 32px, middle)]] `Add selected objects to relation` from the `More tools` menu or press **`Ctrl+R`** on the keyboard. |
| | 140 | |
| | 141 | ==== What it does? ==== |
| | 142 | |
| | 143 | The selected objects will be added to the selected relation without showing a dialog. The relation the objects should be added to has to be selected as the first object or if a selected object is only a member of one relation and the first selected object isn't a relation that relation will be used. The roles will be guessed based on the type and keys of the relation and the selected objects. If no relation is selected an no object is a member of a relation the dialog to create a new relation is shown. If the selection consists of 2 or 3 objects that might be part of an enforcement relation the creation of an enforcement relation of the types `toll`, `maxspeed` and `traffic_signals` is offered. If such a relation should be crated the from node has to be selected first, the to node second (if there is a to node) and the device last. |
| | 144 | |
| | 145 | === Close selected ways === |
| | 146 | |
| | 147 | Select [[Image(closeway.svg, 32px, middle)]] `Close selected ways` from the `More tools` menu or press **`Alt+Ctrl+Shift+C`** on the keyboard. |
| | 148 | |
| | 149 | ==== What it does? ==== |
| | 150 | |
| | 151 | All selected ways will be closed if they are not closed already. |
| | 152 | |
| | 153 | === Create area between 2 selected nodes === |
| | 154 | |
| | 155 | Select [[Image(newarea.svg, 32px, middle)]] `Create area between 2 selected nodes` from the `More tools` menu or press **`Alt+Ctrl+Shift+A`** on the keyboard. |
| | 156 | |
| | 157 | ==== What it does? ==== |
| | 158 | |
| | 159 | [[Image(create_area_1.png, 150px, middle)]] 🡲 [[Image(create_area_select_type.png, 150px, middle)]] 🡲 [[Image(create_area_2.png, 150px, middle)]] |
| | 160 | |
| | 161 | A new closed way between the 2 selected points will be created and the type of the area can be selected/entered for the new way. The way will be created from the 1st selected node in forward direction of the existing way to the 2nd selected node. This only works if the points are on the same way. To specify the way to use also select the way. |
| | 162 | |
| | 163 | If the Shrinkwrap plugin is installed it will also work for nodes of different line, as long as one the ways are connected to each other. To use it with Shrinkwrap select the nodes and place the mouse inside the area to create and press **`Alt+Ctrl+Shift+A`** on the keyboard. A helper line will be drawn to close the area for the Shrinkwrap plugin balloon action to work. After the area has been created the helper line will be deleted automatically. |
| | 164 | |
| | 165 | === Wrap way around other way === |
| | 166 | |
| | 167 | Select [[Image(wraparound.svg, 32px, middle)]] `Wrap way around other way` from the `More tools` menu or press **`Shift+F`** on the keyboard. |
| | 168 | |
| | 169 | ==== What it does? ==== |
| | 170 | |
| | 171 | [[Image(wrap_around_1.png, 150px, middle)]] 🡲 [[Image(wrap_around_2.png, 150px, middle)]] 🡲 [[Image(wrap_around_3.png, 150px, middle)]] |
| | 172 | |
| | 173 | The 1st selected way will be wrapped around the 2nd selected way in forward direction of the 2nd way. |
| | 174 | |
| | 175 | To use this action 1st selected the node before the node that is shared with the wrap way of the to wrap way then the 2nd node which is the start node for the wrap way and then the 3rd node which is the end node for the wrap way. Then selected the way which should be wrap around the other way and finally selected the wrap way. Then press **`Shift+F`** or selected the action from the `More tools` menu. |
| | 176 | |
| | 177 | For example in the 2nd image the 1st selected node is the node at the bottom, the 2nd node is the 1st node shared with the wrap way and the 3rd node is the last node shared with the wrap way. The way between the 2nd and the 3rd node will be wrapped around the wrap way in forward direction, so in this case to the left. If the node at the top and the 2 shared nodes would have been selected the way between the 2nd and 3rd node would have been wrapped around the wrap way in the other direction, so it would go to the right. |
| | 178 | |
| | 179 | === Optimize/split multipolygon === |
| | 180 | |
| | 181 | Select [[JOSMImage(multipoly_update, 32px, middle)]] `Optimize/split multipolygon` from the `More tools` menu or press **`Alt+Shift+X`** on the keyboard. |
| | 182 | |
| | 183 | ==== What it does? ==== |
| | 184 | |
| | 185 | [[Image(fix_1.png, 150px, middle)]] 🡲 [[Image(fix_2.png, 150px, middle)]] 🡲 [[Image(fix_3.png, 150px, middle)]] |
| | 186 | |
| | 187 | If the multipolygon doesn't contain a single closed outer way but the outer way consists of multiple single ways a single outer way will be created and any unused way will be deleted. |
| | 188 | |
| | 189 | A multipolygon that contains at least 2 distinct closed ways will be separated into the needed number of new areas/multipolygons. A new area is created if that area doesn't contain any inner ways, a new multipolygon if there are inner ways. |
| | 190 | |
| | 191 | If the utils2pluign is installed this action can directly split a closed outer way of a myltipolygon and create the needed new areas/multipolygons by selecting the 2 nodes to split between and press **`Alt+Shift+X`** on the keyboard or select the action from the `More tools` menu. |