[Qgis-user] Conditional expressions in Field Calculator and Labels?

Davide Inchingolo dinky974 at yahoo.it
Wed Oct 10 06:30:26 PDT 2012


Dear List,
I found the SQL instruction CASE... WHEN... ELSE... END. So, I think I resolved my previous question.

Davide Inchingolo




________________________________
 Da: Davide Inchingolo <dinky974 at yahoo.it>
A: Lista QGis <qgis-user at lists.osgeo.org> 
Inviato: Mercoledì 10 Ottobre 2012 9:06
Oggetto: Conditional expressions in Field Calculator and Labels?
 

Dear List,
I'm new in QGis, and I like this software very much.
Now, my question: is it possible, in Field Calculator and in Labels, to use conditional expressions in the form: IF <condition> THEN <result> ?
I would like to use expressions in which <condition> is based on other fields in the Attribute Table, and write the <result> for the field I am calculating, or for the labels.
I hope it is so, but, not knowing SQL well, I don't know the correct sintax, nor if it is possible...

Hoping in some gentle replies,
Best regards
Davide Inchingolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121010/9eaa8928/attachment.html>


More information about the Qgis-user mailing list