[Qgis-user] New Labeling: conditional labels

Andreas Neumann a.neumann at carto.net
Thu Dec 22 05:31:47 PST 2011


 Hi,

 Using Nathan's new query builder for labeling - how can I achieve a 
 conditional label?

 What I want is that a label is only drawn if a column value is larger 
 than 0. I don't want to label features with a value of zero.

 Do you have any hints how the syntax works for such a case? I see ">" 
 operators but no "if" or "when".

 If it is not possible, then I can still do it in Postgis, but it would 
 be nice being able to do this in QGIS.

 Thanks for any hints,
 Andreas

-- 
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland



More information about the Qgis-user mailing list