| 9 | | 1. Select a relation and new members that would form a multi-polygon |
| 10 | | 2. activate a tool |
| | 9 | The actual outcome of the action relies on the [wikitr:/Help/Dialog/SelectionList selected] [[JOSMImage(data/way)]] [wikitr:/Help/Concepts/Object#Ways ways] and relations: |
| | 10 | * If only ways without [wikitr:/Help/Concepts/Object#Membership membership] of a multipolygon are selected, the action is identical to [[JOSMImage(multipoly_create,24,link=,middle)]] [wikitr:/Help/Action/CreateMultipolygon Create Multipolygon]. |
| | 11 | * If one selected way is member of a multipolygon or, additionally to ways, a multipolygon relation is selected, the existing relation is updated by moving most of the tags from the ways to the relation and adding the remaining ways with appropriate [wikitr:/Help/Concepts/Object#Roles roles]: `outer` and `inner`. |
| | 12 | * If a way has identical tags as the relation, this will be assumed to be an [https://wiki.openstreetmap.org/wiki/Old_style_multipolygons old style multipolygon] and the tags will be removed from the way, regardless of whether it is role `outer` or `inner`. |
| 14 | | [[Movie(multipolygon_updated_with_2inner.mp4)]] |
| | 15 | == Examples ==#Examples |
| | 16 | === Add a new inner ring === |
| | 17 | 1. Select a relation and new members that would form a multipolygon |
| | 18 | 1. activate a tool |
| | 19 | |
| | 20 | A multipolygon will be updated with a new inner ring. In example below we reuse [wikitr:/Help/Action/CreateMultipolygon##MultipolySingleOuterAndInner old relation]. |
| | 21 | |
| | 22 | [[Image(multipolygon_updated_with_2inner.gif,link=)]] |
| | 23 | |
| | 24 | |
| | 25 | == Advanced Preferences ==#AdvancedPrefrences |
| | 26 | The same preferences as [[JOSMImage(multipoly_create)]] [wikitr:/Help/Action/CreateMultipolygon#AdvancedPreferences Create Multipolygon] influence this action. |
| | 27 | |
| | 28 | == See also |
| | 29 | * [[JOSMImage(multipoly_create,24,link=,middle)]] [wikitr:/Help/Action/CreateMultipolygon Create Multipolygon] |