Opened 14 years ago

Last modified 12 years ago

#7697 closed enhancement

option to keep references in place — at Version 2

Reported by: skyper Owned by: joshdoe
Priority: normal Milestone:
Component: Plugin conflation Version:
Keywords: keep subjects github Cc:

Description (last modified by skyper)

When conflating housenumber nodes to closed ways, I often use the nodes to mark the main entrance. E.g. In some occasions it might be useful only to move all the tags/memberships but not move/merge the references but just keep them in place.

A little check-box would be nice.

Thanks

Change History (2)

comment:1 by joshdoe, 14 years ago

Hmm, so copy tags/relation memberships to the subject and remove them from the reference, but not move the subject? Would it make sense to copy tags/memberships but NOT remove them from the reference? One assumption I have is that if the reference is from another layer, I'll never touch that layer at all (let me know if you think I shouldn't assume this).

Ideally making this choice should be on a per match basis, meaning that it shouldn't be a button on the toggle dialog but rather it should appear on the tag/membership conflict resolution dialog, which means changing that dialog (currently I use it as from JOSM core).

The actions that one might want to do seem to be:

  • Replace geometry of subject and move tags/memberships to subject (default, removing reference if it's in the same layer)
  • Move tags/memberships from reference to subject (your request, leaving reference in place with remaining tags/memberships)
  • Copy tags/memberships from reference to subject (leaving reference untouched)
  • Replace geometry of subject (and don't copy tags, removing reference if it's in the same layer)

Anything else I'm missing? This maybe can be distilled down to the following, each of which can be represented by a checkbox:

  1. Replace geometry (removes reference if it's in the same layer as the subject)
  2. Copy tags from reference to subject
  3. Remove copied tags from reference (only if 2 is checked)
  4. Remove reference

By default 1, 2 and 4 will be checked (3 is N/A). If 1 is checked, 4 will be checked (so no duplicate nodes/geometry). If 2 is checked the tag/membership tables will be disabled. For 3 to be checked, 2 must be checked. If 4 is checked, 3 will be disabled.

Seems complicated, so if there's a smarter way please let me know.

comment:2 by skyper, 14 years ago

Description: modified (diff)
Summary: option to keep subjects in placeoption to keep references in place

Sorry mixed up references/subjects but you got it right.
Wow, did not think that I did open up a big pot. I did not think about different layers and did not try it yet but nice if it is working.

  • Not touching the other layer is perfect.
  • I am not sure if you really need the distinction per match as I think it is much faster to do several conflation actions than to check match after match.
  • My request was to move tag/membership from reference to subject but keeping the reference object in place without tag/membership.
  • To only copy tag/membership in the same layer leads to duplicate data which does not seem to be right.
  • Only replace geometry but removing/deleting all tags/memberships is not needed as it is not hard to manually delete them first. It also leads to some other direction as for me the most difficult action is the moving of tag/membership. Only useful with different layers.

I am still in favour of setting this option either in the reference/subject dialogue or in the toggle dialogue.

  1. Replace geometry (removes reference if it's in the same layer as the subject)
  2. Keep reference object (only move tag/membership)
  3. Keep copied tags from reference (only if 2 is checked and different layers)

By default 1 will be checked (3 is N/A) if reference and subject are in the same layer otherwise 1 to 3 will be checked.

Note: See TracTickets for help on using tickets.