Hi Lester,
you can either use in categorized style such an expression
CASE WHEN Z6 = 0 THEN Z1 END.
You'll get all the Z1 classes with a zero-value Z6 and one class without
value which is for features with a Z6<>0. You can delete this one or set it
invisible.

Envoyé depuis mon HTC

----- Reply message -----
De : "Carlos López PSIG" <[email protected]>
Pour : "[email protected]" <[email protected]>
Objet : [Qgis-user] SQL query for style
Date : ven., juin 26, 2015 13:52

Hi Lester,
You must choose styles based on rules!
Properties --> Styles --> Rule-based

Regards,


* <http://www.psig.es>*

*Carlos López Quintanilla*

www.psig.es
[email protected]
+34 699.680.261



2015-06-26 12:57 GMT+02:00 Lester Anderson <[email protected]>:

> Hi,
>
> I have a point database loaded with columns Z1 to Z6, where Z6 has values
> 0,0.5 and 1. What I am trying to do with the symbology is just to get it to
> plot and colour the depths (Z1) only where Z6=0
>
> Can this be done from the style option for the layer?
>
> So what I want to do is:
>
> IF Z6=0 PLOT Z1
>
> Sure this is very simple but can't see it :)
>
> Cheers
>
> Lester
>
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to