Modify

Opened 2 years ago

Last modified 10 months ago

#6160 new defect

filter doesn't work as expected on multipolygon relations

Reported by: brogo Owned by: team
Priority: normal Component: Core
Version: Keywords:
Cc:

Description

The ways (without tags) of a mulupolygon-relation are still displayed, even if the filter fits for the MP.

Attachments (0)

Change History (5)

comment:1 Changed 2 years ago by bastiK

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

comment:2 Changed 2 years ago by bastiK

  • Summary changed from filter doesn't work on MP-relations to filter doesn't work as expected on multipolygon relations

A multipolygon describes an area and as far as I can tell, the filter indeed suppresses the area painting.

It is not a priory clear to me, that the ways should be hidden as well, and there are cases where this would be wrong:

  • way is used by another multipolygon
  • way has tags and describes a feature on its own, e.g. a fence

It is clearly an issue that the untagged way gets its color from the multipolygon area and this color is still used, when the multipolygon is filtered.

In case of adjacent multipolygon the problem is not that easy to fix: Either we keep a list of "fallback colors" in the style cache, or the style cache needs to be regenerated whenever the filter flags of an object change.

comment:3 Changed 2 years ago by skyper

I would suggest to use a better filter like: landuse child landuse

comment:4 Changed 10 months ago by bastiK

In 5442/josm:

filter: improved multipolygon handling (fixes #5149, see #6160)

comment:5 Changed 10 months ago by bastiK

It hides the member ways (and their nodes) now, in case they are untagged.

For ways with two parent multipolygons, the color may be wrong (unchanged) when one of the multipolygons is filtered, but the other is not.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team. Next status will be 'new'.
Next status will be 'needinfo'.The owner will change to brogo
as duplicate The resolution will be set to duplicate. Next status will be 'closed'.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous. Next status will be 'assigned'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.