[Qgis-user] Case

Eddison Araya eddisonjose at gmail.com
Thu Aug 23 13:04:29 PDT 2018


Hello, greetings, a question:

[image: image.png]

If I have that map:
*https://www.dropbox.com/s/6hvnrb37fvc00wl/ejemplo.zip?dl=0
<https://www.dropbox.com/s/6hvnrb37fvc00wl/ejemplo.zip?dl=0> *

E eu quero dizer:
 Se W_BRILLO is equal to 3, se W_PPT is equal to 1, se W_TEMP is equal to
2, have a value of  2

Se W_BRILLO   is equal to    2, se W_PPT  is equal to    2, se W_TEMP is
equal to   3, have a value of 2

Se W_BRILLO  is equal to    1, se W_PPT  is equal to    2, se W_TEMP  is
equal to    3, have a value of 3

I put this:

CASE

WHEN "W_BRILLO" = '3', "W_PPT" ='1', "W_TEMP" = '2' THEN 2
WHEN "W_BRILLO" = '2', "W_PPT" ='2', "W_TEMP" = '3' THEN 2
WHEN W_BRILLOI = '1', "W_PPT" ='2', "W_TEMP" = '3' THEN  3

 END


But I get an error!

Thank you

Eddison
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180823/6f64694e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7944 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180823/6f64694e/attachment.png>


More information about the Qgis-user mailing list