[Qgis-user] SQL query for style

DelazJ delazj at gmail.com
Fri Jun 26 09:27:15 PDT 2015


 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" <carlos.lopez at psig.es>
Pour : "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
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
carlos.lopez at psig.es
+34 699.680.261



2015-06-26 12:57 GMT+02:00 Lester Anderson <arctica1963 at gmail.com>:

> 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
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150626/503e27b9/attachment.html>


More information about the Qgis-user mailing list