Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12412 closed enhancement (fixed)

Support some presets in multipolygons

Reported by: naoliv Owned by: team
Priority: normal Milestone: 16.02
Component: Internal preset Version:
Keywords: multipolygon Cc: zermes


I was trying to add an amenity=dentist in a multipolygon and saw that The preset cannot be applied since the selection is unsuitable! doesn't forbid to use it in multipolygons nor I can see why it's invalid.

Doing a quick test I saw that hospital, museum and pitch aren't also allowed.
It seems that all presets should be reviewed to allow their usage (if it's valid, of course) in multipolygons, when necessary.


Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-01-20 08:46:24 +0100 (Wed, 20 Jan 2016)
Build-Date:2016-01-20 07:48:21
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9548 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 1228 MB / 9102 MB (738 MB allocated, but free)
Java version: 1.8.0_72-internal-b05, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Attachments (1)

Mf_multipolygon.svg (3.3 KB ) - added by Mkyral 8 years ago.
Muůtipolygon icon

Download all attachments as: .zip

Change History (15)

comment:1 by Klumbumbus, 8 years ago

Currently the following "object types" are availible in josm presets: node, way, closedway and relation. There is no multipolygon. So allowing relation for all the shops would mean to allow all types of relation and not just multipolygons. This wouldn't be good in my opinion.
I think the best solution would be to support "multipolygon" as own object type.

It is not forbidden to use multipolygons for shops, but I think this is not necessary in most cases. Better keep the data simple.

comment:2 by Don-vip, 8 years ago

Keywords: multipolygon added
Milestone: 16.02
Type: defectenhancement

comment:3 by Don-vip, 8 years ago

Cc: zermes added

comment:4 by Don-vip, 8 years ago

In 9574/josm:

see #12412 - add a new preset type "multipolygon". TODO: make a better icon

comment:5 by Don-vip, 8 years ago

@zermes: could you please look if we could get a nice multipolygon icon, consistent with Mf_closedway.svg, Mf_node.svg, Mf_relation.svg, Mf_way.svg?

comment:6 by Don-vip, 8 years ago

In 9587/josm:

see #12412 - improve multipolygon presets

comment:7 by Don-vip, 8 years ago

In 9588/josm:

see #12412 - improve support of multipolygon presets type

by Mkyral, 8 years ago

Attachment: Mf_multipolygon.svg added

Muůtipolygon icon

comment:8 by Mkyral, 8 years ago

Something like this?

in reply to:  8 comment:9 by Don-vip, 8 years ago

Replying to Mkyral:

Something like this?

yes, perfect! thanks :)

comment:10 by Don-vip, 8 years ago

Resolution: fixed
Status: newclosed

In 9615/josm:

fix #12412 - add new icon for multipolygon preset type (by Mkyral) + fix checkstyle violation

comment:11 by Don-vip, 8 years ago

In 9632/josm:

fix #12443 - NPE (regression from r9588, see #12412)

comment:12 by Klumbumbus, 8 years ago

In 9638/josm:

see #12412 - add multipolygon preset type to some more presets

comment:13 by Don-vip, 8 years ago

In 9716/josm:

fix #12467, see #12412 - presets no longer fit correct for boundary relations (regression from r9574)

comment:14 by Klumbumbus, 8 years ago

see #13536 for a regression

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.