Opened 8 years ago

Last modified 8 years ago

#12625 new enhancement

Propose to merge multipolygon tags into polygon tags when taking an outer polygon off the relation

Reported by: Penegal Owned by: team
Priority: normal Milestone:
Component: Core multipoly Version: tested
Keywords: multipolygon outer split merge helper tag Cc:


Hello, there.

Currently, when I remove an outer polygon member from a multipolygon relation, the removed polygon often ends up without any tags, as its tags were totally inherited from the relation. It's a problem when I fragment useless multipolygons in smaller, unnested polygons, as I can not even copy all the multipolygon tags in the polygon tags, as the relation edition window lacks the copy all tags contextual menu item, and all I can do, AFAIK, is to manually re-type them.

This situation often shows in my rural area, in which the first created landuse polygons were from Corine Land Cover, and the contributors often added finer landuse polygons by converting the CLC polygons in multipolygon relations; this leads to big, unnecessary multipolygons which I'm fragmenting to remove the relation. In the end, having to re-type these tags slows down the data improvement, and I must add that it isn't motivating to improve the data with this workflow.

This problem can be, IMNSHO, easily addressed this way: when an outer member of a multipolygon relation is removed from the said relation, jOSM should propose to merge the relation tags in the removed polygon, possibly by displaying the tags merging window currently displayed when merging ways with different tagging. That could drastically speed up the splitting and suppression of multipolygon monsters.

Hoping I'm not asking something stupid ;-)


Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by mdk

Relations has two possibilities to edit the tags. If you select a relation (Context menu "Select relation" in relation list) you can use the "normal" tag editor panel. This allows you copy all or the selected tags as for ways and nodes.

comment:2 Changed 8 years ago by Penegal

Ok, I see that, thanks for noticing; still, a helper would be more practical:

  • with the current mode, you have to:
    1. select the relation the right way,
    2. copy its attributes,
    3. go in the relation edition window, find the polygons you want to remove and remove them,
    4. find and select them again in the main window,
    5. paste the attributes;
  • with the helper, you would have to:
    1. go in the relation edition window, find the polygons you want to remove and remove them,
    2. on exiting the relation edition window, I will be proposed to merge the relation tags in the removed polygons, what I accept,
    3. merge the tags.

The proposed workflow would have the side advantage of limiting the risk of omitting an untagged removed polygon, as the helper would take care of them all; of course, one could select the polygons of the relation and paste tags in them before removing them from the relation, but that would be an even longer workflow than the one with the helper.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to Penegal
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.