Modify

Opened 8 years ago

Last modified 2 months ago

#6160 new defect

filter doesn't work as expected on multipolygon relations

Reported by: brogo Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: multipolygon 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 (6)

comment:1 Changed 8 years ago by bastiK

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

comment:2 Changed 8 years ago by bastiK

Summary: filter doesn't work on MP-relationsfilter 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 8 years ago by skyper

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

comment:4 Changed 6 years ago by bastiK

In 5442/josm:

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

comment:5 Changed 6 years 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.

comment:6 Changed 2 months ago by Don-vip

Keywords: multipolygon added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to brogo
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.