I would like to use a set of rules to draw features from a point_layer that are 
within a polygon_layer.
Points that answer true to
("VAL_PROTECTION_EP3" = '1' AND  "TYPE"  = 1)
and that are within polygons that answer true to
("TYPE" in ('P','E') AND "CAT_CANTON" = 2) OR ("TYPE" in ('P','E') AND 
"CAT_CANTON" = 3)
should be displayed as red dots
Points that answer true to
("VAL_PROTECTION_EP3" = '2' AND  "TYPE"  = 1)
and that are within polygons that answer true to
("TYPE" in ('P','E') AND "CAT_CANTON" = 2) OR ("TYPE" in ('P','E') AND 
"CAT_CANTON" = 3)
should be displayed as orange dots
Points that answer true to
("VAL_PROTECTION_EP3" = '3' AND  "TYPE"  = 1)
and that are within polygons that answer true to
("TYPE" in ('P','E') AND "CAT_CANTON" = 1)
should be displayed as yellow dots
I cannot find the right combination of expressions for the rule to work.
Any help would be appreciated: what would a working syntax be for such a rule 
to work in QGIS Layer Styling panel ?


Cédric Jeanneret

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to