How can I use the new "data defined override"-funktion in qgis 2.0? I did not find any further information about it in the handbook an somewere else. I want to label my layer with different front styles for example:

if the field "type" = 'city' and 'town' -> the label have to be in size 12pt and bold



You can create all kinds of expressions for the font size. Based on your example, I guess you would use some CASE WHEN THEN ELSE END statements.

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.