Opened 13 years ago
Last modified 3 years ago
#7012 new enhancement
Handle relation membership in "create multipolygon"
Reported by: | dieterdreist | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | create multipolygon move memberships | Cc: |
Description
Please integrate "convert to multipolygon" into core, it is really useful.
Attachments (0)
Change History (12)
comment:1 by , 11 years ago
comment:3 by , 11 years ago
Replying to Don-vip:
integrate from what ? utilsplugin2 ?
Think there used to be a small plugin but nothing left (did not try archives.org, yet):
follow-up: 5 comment:4 by , 11 years ago
comment:5 by , 11 years ago
Replying to Don-vip:
We have Create Multipolygon since r3704 and improved in r5225 by #7458. I removed this plugin because I thought it was redundant ([o29724]). What features of it would be missing in core ?
As I wrote above, relation membership is not handled at all. Nice would be a dialog with list and checkboxes for each relation to choose weather to move or not, with default to move all.
follow-up: 8 comment:7 by , 11 years ago
Maybe we can see how to integrate what's missing in the course of #9492.
But I still don't see exactly what this plugin was capable of and we don't. Can you please give me a practical example ? Thanks.
follow-up: 16 comment:8 by , 11 years ago
Replying to Don-vip:
I still don't see exactly what this plugin was capable of and we don't. Can you please give me a practical example ? Thanks.
It works like the current "create multipolygon" (i.e. it associates the roles outer and inner to the selected ways and puts them into the newly created relation), but with the difference that all tags from the (then) outer ways will be _moved_ from the object(s) to the relation. This is easy for simple cases (say one outer way), for the more complex cases maybe user interaction similar to what we do in the combine ways case for conflicting tags, could be implemented (as a start it would be superfine to simply move all tags to the relation that are present on all outer ways and are not "linear" tags like highway without area=yes).
comment:16 by , 10 years ago
Priority: | major → normal |
---|---|
Summary: | integrate "convert to multipolygon" into core → Handle relation membership in "create multipolygon" |
Replying to dieterdreist:
It works like the current "create multipolygon" (i.e. it associates the roles outer and inner to the selected ways and puts them into the newly created relation), but with the difference that all tags from the (then) outer ways will be _moved_ from the object(s) to the relation.
As said, we already do that since r5225. I have checked the old plugin and it did nothing more than we do.
Only the relation membership asked by skyper has to be handled now.
comment:17 by , 10 years ago
Yes, I have now discovered that I can get the desired behaviour with the current version.
If I select outer and inner ways and hit ctrl+alt+a I get a multipolygon with the tags of the outer way moved to the new relation (not sure where this function comes from, didn't find it in the menu but it works).
If instead I hit ctrl+b or click the "create multipolygon" in the "tools" menu it creates the relation, adds the members, but doesn't move the tags.
comment:18 by , 4 years ago
Keywords: | create move memberships added; convert to removed |
---|
comment:20 by , 3 years ago
This CS is an example which could have been handled by create multipolygon. I think in all cases a notification about relation membership is useful and in cases of route relations the newly created MP should replace the outer way.
Was it not integrated some time ago ?
If so, I have a minor issue as the "create multipolygon" nicely moves all tags but there is no option to move the memberships.