| 1 | | Replying to [comment:3 GerdP]: |
| 2 | | > - if objects are selected, make sure that ContainsFinder is called for enclosing objects which are not in the selection |
| 3 | | |
| 4 | | Unfortunately my change only works in some special cases where also the right selector is a possible match for the selected element. The "Building inside building" is one of them as the right and left selectors are equal. |
| 5 | | The following will not work: |
| 6 | | {{{ |
| 7 | | #!mapcss |
| 8 | | *[building] ∈ area[natural=water] { |
| 9 | | throwWarning: tr("Building inside Water Area"); |
| 10 | | } |
| 11 | | }}} |
| 12 | | when the building is selected. I try to find a solution for that as well. |