In QGIS 3, I have a polygon layer with numerous styles of which one is a centroid fill rendered using an SVG marker. I would like to override the path field, so that the marker would show up only for polygons larger that x square meters.
CASE WHEN area($geometry) > 1500000 THEN 'C:/OSGEO4~1/apps/qgis/svg/gpsicons/tree.svg' ELSE ' ' END
Yet, I am not sure what to type after
ELSE, since by leaving a single blank space, I end up with question marks (unknown/undefined symbol).
Can this be done or is there a better solution?