| | 1 | [[TranslatedPages(outdated=The targets Membership; Roles and MultipolySingleOuterAndInner do not exist in the corresponding pages)]] |
| | 2 | |
| | 3 | = Tools > Update Multipolygon = |
| | 4 | |
| | 5 | [[JOSMImage(multipoly_update,link=,middle,48,margin-right=20)]] ''Keyboard shortcut:'' **`Ctrl+Shift+B`** |
| | 6 | |
| | 7 | This tool quickly updates a [[JOSMImage(data/multipolygon)]] [wikitr:/Help/Concepts/Object#typemultipolygon multipolygon], one of the most common [[JOSMImage(data/relation)]] [wikitr:/Help/Concepts/Object#Relations relations]. |
| | 8 | |
| | 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`. |
| | 13 | |
| | 14 | |
| | 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] |
| | 30 | |
| | 31 | ---- |
| | 32 | Back to [wikitr:/Help/Menu/Tools Menu Tools] \\ |
| | 33 | Back to [wikitr:/Help/Menu Main Menu] \\ |
| | 34 | Back to [wikitr:/Help Main Help] |