Opened 18 years ago
Closed 15 years ago
#478 closed enhancement (fixed)
Templates support for relation (multipolygon, route, ...) creation and editing
Reported by: | anonymous | Owned by: | framm |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | auto complete, relation editing | Cc: | Gubaer |
Description
Multipolygon creation (like polygon with holes) using relation should be easier.
Now, when I have selected objects for the multipolygon, I have to create a new relation, add selected objects, type in "type" and "multipolygon" in the fields (no autocomplete on these) and press OK. Quite lengthy. I think some button "create multipolygon" with some keyboard shortcut that will do all this would be nice. Perhaps have some other buttons or presets for other relations ...
Attachments (1)
Change History (14)
comment:1 by , 17 years ago
Keywords: | auto complete relation editing added |
---|---|
Summary: | Easier multipolygon creation → Auto complete and templates support for relation (multipolygon, route, ...) creation and editing |
follow-up: 4 comment:2 by , 17 years ago
I was talking about almoste the same thing here:
http://josm.openstreetmap.de/ticket/1725
comment:3 by , 16 years ago
Component: | Core → Plugin openstreetbugs |
---|
I have attached the plugin (first version, but it should be working fine :) that does automatic multipolygon creation by single click (single menu item). Once the item is clicked, multipolygon is created and inner/outer roles are added automatically to members. Unpack archive to "plugins" subdirectory in svn checkout, then "cd multipoly && ant" to build it.
comment:4 by , 16 years ago
Replying to Ezhick <bestoujev@gmail.com>:
I was talking about almoste the same thing here:
#1725
Well, and I closed that ticket now in favor of this one - only one ticket for each issue to be solved.
comment:5 by , 16 years ago
Summary: | Auto complete and templates support for relation (multipolygon, route, ...) creation and editing → [new plugin] Auto complete and templates support for relation (multipolygon, route, ...) creation and editing |
---|
comment:6 by , 16 years ago
The attached file does not solve the auto-complete issue at all. Also It does not solve the preset issue so I reopened the bugs.
Then the action to create multipolygons does not cover the way JOSM handles multipolygons. Advanced multipolygons can consist of multiple outer and inner ways which altogether may be closed or not, as only the combination of all elements needs to be closed.
Also a multipolygon way may be memeber of another multipolygon.
comment:7 by , 16 years ago
P.S. I do not like the idea of another plugin just for that action, so I probably will add the action to utilsplugin when I find time next days. It is not ready to be added to main JOSM.
comment:8 by , 16 years ago
I don't think the plugin is good as some permanent solution (plus it does not solve all the issues), I meant it rather as temporary workaround till there is some more comfortable way for multipolygon creating.
For interested people I built a JAR out of the sources I have posted here and I have put it at http://git.wz.cz/multipoly.jar
If you want to add this to utilsplugin, feel free to do so, you have the source :)
comment:9 by , 16 years ago
It would be great to finish multipolygon plugin idea. Creating of multipoly is too difficult for normal user and too long for advanced users.
comment:10 by , 16 years ago
Summary: | [new plugin] Auto complete and templates support for relation (multipolygon, route, ...) creation and editing → Auto complete and templates support for relation (multipolygon, route, ...) creation and editing |
---|
comment:11 by , 16 years ago
Summary: | Auto complete and templates support for relation (multipolygon, route, ...) creation and editing → Templates support for relation (multipolygon, route, ...) creation and editing |
---|
auto complete support is now available (since r1762)
comment:12 by , 16 years ago
Cc: | added |
---|
comment:13 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The following positive view on the subject is a quote of a duplicate ticket #1684:
"...helpful to have simple support for templates in the relation editor. The benefits are the same as for the templates for ways and nodes.
Usage could be like this: - Create a new relation - Select a template from a menu or combo box, basically we would need one template for every type of relation. E.g. there could by a template for multi-polygon, hiking route etc. - the tags commonly used with this type of relation are added to the relation editor, either completely filled in (e.g. type=route, route=foot) or just the names with empty values for filling in (name, description, operator etc.)."
However I'd like to set a strong emphasis on "auto complete" functionality mentioned by the initial reporter, that makes editing even without templates in JOSM much easier, and don't forget the quit effective prevention of misspellings reached this way.