Opened 13 years ago
Closed 13 years ago
#7458 closed enhancement (fixed)
Create multipolygon function: enable tags moving
Reported by: | akks | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | multipolygon | Cc: | Zverikk |
Description (last modified by ) ¶
We have "create multipolygon" function in core but it does not add any tags to multipolygon and is inconvenient comparing to plugins.
Most functional plugin for relations is Zverik's Reltoolbox. Its multipolygon creation function is flexible and convenient.
I was asked at the forum to add tag moving functionality to standard action. I extracted tag changing function from Zverikk's action (which was long time ago copied from removeTagsFromInnerWays and improved), leaving all advanced functionality (boundary management, multiple rings) only in plugin. Author approved the idea.
Here is the patch to review and compiled vesrion on DropBox to test:
http://dl.dropbox.com/u/63393258/josm-custom-createrelation.jar
Change History (10)
by , 13 years ago
Attachment: | CreateMultipolygonAction.java.patch added |
---|
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
comment:3 by , 13 years ago
I was asked to do copy-paste - I did it) All other functions are from core action, not from plugin.
Dependencies were removed, I was writing the post to ask about isBoundary on the forum while receiving this message.
I think we should leave some advanced parameters like moveTags and lineartagstokeep for those who prefer old behaviour or want some customization.
It would be better if you remove boundary-specific lines yourself - the problem is that standard action should work correctly for boundary relations too, not breaking them at least.
comment:4 by , 13 years ago
Priority: | normal → major |
---|
Please move the tags from the way to the relations.
The behaviour right now is depreciated.
Thanks
comment:7 by , 13 years ago
I removed all boundary-related functionality reatining configuration parameters multipoly.movetags and multipoly.lineartagstokeep before commiting.
@Zverikk, @team: Please check the code and updated work of Ctrl-Alt-A.
Do we need more extensions in core creating mutipolygon functionality?
comment:9 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
You just copypasted the code. It can be simplified, also removing dependencies from reltoolbox plugin. First of all, delete everything related to boundaries. Consider isBoundary = false, moveTags = true, and remove corresponding ifs.