| 142 | | 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 |
| | 142 | 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 an selected object is only a member of one relation. 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. |
| | 143 | |
| | 144 | === Close selected ways === |
| | 145 | |
| | 146 | Select [[Image(closeway.svg, 24px, middle)]] `Close selected ways` from the `More tools` menu or press **`Alt+Ctrl+Shift+C`** on the keyboard. |
| | 147 | |
| | 148 | ==== What it does? ==== |
| | 149 | |
| | 150 | All selected ways will be closed if they are not closed already. |
| | 151 | |
| | 152 | === Create area between 2 selected nodes === |
| | 153 | |
| | 154 | Select [[Image(newarea.svg, 24px, middle)]] `Create area between 2 selected nodes` from the `More tools` menu or press **`Alt+Ctrl+Shift+A`** on the keyboard. |
| | 155 | |
| | 156 | ==== What it does? ==== |
| | 157 | |
| | 158 | [[Image(create_area_1.png, 150px, middle)]] 🡲 [[Image(create_area_select_type.png, 150px, middle)]] 🡲 [[Image(create_area_2.png, 150px, middle)]] |
| | 159 | |
| | 160 | 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. |
| | 161 | |
| | 162 | 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. |
| | 163 | |
| | 164 | === Wrap way around other way === |
| | 165 | |
| | 166 | Select [[Image(wraparound.svg, 24px, middle)]] `Wrap way around other way` from the `More tools` menu or press **`Shift+F`** on the keyboard. |
| | 167 | |
| | 168 | ==== What it does? ==== |
| | 169 | |
| | 170 | [[Image(wrap_around_1.png, 150px, middle)]] 🡲 [[Image(wrap_around_2.png, 150px, middle)]] 🡲 [[Image(wrap_around_3.png, 150px, middle)]] |
| | 171 | |
| | 172 | The 1st selected way will be wrapped around the 2nd selected way in forward direction of the 2nd way. |
| | 173 | |
| | 174 | 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. |
| | 175 | |
| | 176 | === Fix/split multipolygon === |
| | 177 | |
| | 178 | Select [[JOSMImage(multipoly_update, 24px, middle)]] `Fix/split multipolygon` from the `More tools` menu or press **`Alt+Shift+X`** on the keyboard. |
| | 179 | |
| | 180 | ==== What it does? ==== |
| | 181 | |
| | 182 | [[Image(fix_1.png, 150px, middle)]] 🡲 [[Image(fix_2.png, 150px, middle)]] 🡲 [[Image(fix_3.png, 150px, middle)]] |
| | 183 | |
| | 184 | 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 contains any inner ways, a new multipolygon if there are inner ways. |
| | 185 | |
| | 186 | 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. |
| | 187 | |
| | 188 | NOTE: This action is disabled by default and hidden from the user. To enable it add an advanced preference key **`kindahackedinutils.fixSplitMultipolygon`** with the value `true` to the preferences. |