[Qgis-user] Question on @cluster_color and expression

Andreas Neumann a.neumann at carto.net
Thu Oct 6 23:40:15 PDT 2016


Hi all, Hi Nyall,

I am testing the new cluster renderer in QGIS master.

I want to test if all points in a cluster are of the same color (class), 
if not, specify an alternative color for clusters with mixed colors.

I am using the expression:

CASE WHEN @cluster_color IS NULL THEN '255,50,0' ELSE @cluster_color END

However, for some reason the "IS NULL" test is failing - the ELSE part 
works.

I get black colors as fall-back, but I wanted to have '255,50,0' as the 
fallback color.

Anyone knows why my expression fails?

Thanks,

Andreas




More information about the Qgis-user mailing list