Tools > Create Multipolygon

source:trunk/resources/images/multipoly_create.svg Keyboard shortcut: Ctrl+B

This tool quickly creates a source:trunk/resources/images/data/multipolygon.svg multipolygon, one of the most common source:trunk/resources/images/data/relation.svg relations.

Selected source:trunk/resources/images/data/way.svg ways will be members of the multipolygon with appropriate roles, outer or inner, and most of the tags in common are moved from the outer ways to the multipolygon.


A multipolygon with single outer ring and single inner ring

  1. Select a relation members that would form:
    1. an outer ring (ways) - in this demo we will use Select > Non-branching way sequences to speed up process.
    2. an inner ring
  2. after all members selected, activate a tool
  3. enter details using presets, Tags/Membership Dialog or Relation editor
  4. This tool creates only valid multipolygons, but you may optionally check that new mutipolygon contains no mistakes using validator, as there might be mistakes after human intervention.

A new relation with single tag type=multipolygon would be created. You can add more details, using tags such as natural=water for water objects and so on.

gifify -o 3seg_outer_1seg_inner.gif 3seg_outer_1seg_inner.mp4


If the selection does not fit, following notification messages will be presented, if:

  • the selected ways do not form complete rings:
    Multipolygon is not closed
  • the selected ways overlapp:
    Intersection between multipolygon ways

Advanced Preferences

These preferences allow to change the behavior of the action.

Property Default Description
multipoly.alltags false enable/disable moving all keys of outer ways which have not several explicit values. Linear tags are still respected.
multipoly.lineartagstokeep [barrier,fence_type,source] A list of keys which are not moved to the relation
multipoly.movetags true enable/disables the moving of tags completely false enable/disable the opening of the relation editor dialog after creating/modifying the multipolygon. The relation is always created/modified and this is just a shortcut to open the relation editor and identical to "Edit Relation" invoke from panels, see #20113.

See also

Back to Menu Tools
Back to Main Menu
Back to Main Help

Last modified 3 years ago Last modified on 2020-11-21T18:34:58+01:00

Attachments (2)