Modify

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#10054 closed defect (fixed)

Multipolygons as members not highlighted when relation is selected.

Reported by: skyper Owned by: team
Priority: normal Milestone: 14.09
Component: Core Version: latest
Keywords: relation highlight multipolygon Cc:

Description

What steps will reproduce the problem?

  1. add a multipolygon as member to a relation
  2. select the relation via relation list toggle dialog

What is the expected result?

All members are highlighted in pink

What happens instead?

Only ways and nodes with membership are highlighted but no relations.

Please provide any additional information below. Attach a screen shot if possible.

I did test it with a route and a associatedStreet relation. Please have a look at attached example file.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-05-20 01:35:44
Last Changed Author: simon04
Revision: 7146
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-05-19 18:17:18 +0200 (Mon, 19 May 2014)
Last Changed Rev: 7146

Identification: JOSM/1.5 (7146 en) Linux Debian GNU/Linux 7.5 (wheezy)
Memory Usage: 314 MB / 882 MB (186 MB allocated, but free)
Java version: 1.7.0_55, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u55-2.4.7-1~deb7u1
VM arguments: [-Djosm.home=/tmp/.josm]
Program arguments: [--language=en]
Dataset consistency test: No problems found

Attachments (1)

multipoly_relation.osm (5.4 KB ) - added by skyper 12 years ago.
example file

Download all attachments as: .zip

Change History (12)

by skyper, 12 years ago

Attachment: multipoly_relation.osm added

example file

comment:1 by akks, 12 years ago

Actulally, the relation itself can not be highlighted, only its members.

If needed, I can add recursive highlight as an option. Not sure if should be defalut (highlighted relation can not be distinguished from highlighted member ways).

comment:2 by skyper, 12 years ago

A multipolygon is always an area and it could be highlighted with or without its members (ways).

From a user's point of view a highlighting is needed. Otherwise you do not get any visual information and you need to take a look at every relation.

Last edited 12 years ago by skyper (previous) (diff)

comment:3 by akks, 12 years ago

So the area highlighting is needed (and not implemented), not the recusive-relation-highlighting.

comment:4 by stoecker, 12 years ago

I don't understand that. JOSM does not support multipolygons with relations as members at all and also I fear nobody else does so.

in reply to:  4 comment:5 by skyper, 12 years ago

Replying to stoecker:

I don't understand that. JOSM does not support multipolygons with relations as members at all and also I fear nobody else does so.

Are polygons in general supported ? Some areas are only mappable as multipolygons.

It might work for route relations as you can simply use an extra way, but for associatedStreet it is needed as there are buildings with holes and also areas mapped as multipolygon.

comment:6 by stoecker, 12 years ago

Hmms, somehow this is confusing.

  • JOSM supports relations as relation members when creating and managing relations.
  • JOSM does not support relations as relation members when using such relations (i.e. when displaying polygons, ...)

Also most other software does not support relations inside relations (maybe routes could be an exception).

So encouraging display of such constructs is not such a good idea - Users will assume it works, but nobody can use it.

in reply to:  6 comment:7 by skyper, 12 years ago

Replying to stoecker:

Hmms, somehow this is confusing.

  • JOSM supports relations as relation members when creating and managing relations.
  • JOSM does not support relations as relation members when using such relations (i.e. when displaying polygons, ...)

Also most other software does not support relations inside relations (maybe routes could be an exception).

It is needed for associatedStreet and Street relations as houses with inside holes cannot be drawn in a different way.

comment:8 by Don-vip, 11 years ago

Milestone: 14.09

comment:9 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 7555/josm:

fix #10054 - Multipolygons as members not highlighted when relation is selected

comment:10 by Don-vip, 11 years ago

Ticket #6657 has been marked as a duplicate of this ticket.

comment:11 by aceman, 11 years ago

It is probably also used in administrative boundary relations where the "subarea" members are relations again.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.