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 , 13 years ago
comment:2 by , 13 years ago
Summary: | filter doesn't work on MP-relations → 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:5 by , 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 , 6 years ago
Keywords: | multipolygon added |
---|
Ticket #6061 has been marked as a duplicate of this ticket.