Modify

Opened 13 years ago

Last modified 6 years 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 by bastiK, 13 years ago

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

comment:2 by bastiK, 13 years ago

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 by skyper, 13 years ago

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

comment:4 by bastiK, 12 years ago

In 5442/josm:

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

comment:5 by bastiK, 12 years ago

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 by Don-vip, 6 years ago

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. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team 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'.

Add Comment


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