hello

is there a way to write a rules to put a polygon style based on the tag of a line inside this polygon.


i want to draw the riverbanck of canal or river with one color if the waterway line  has tag "motorboat=yes" or "boat=yes" and draw with another color if this tag are not present

thank
claude