Labeling with " "name" is not null" only gives me numbers 1 or 0.

I want to label only the features with values in the field "name".

What I'm doing wrong?

enter image description here

1 Answer 1


You need to set the "show label" expression (under Rendering) to "name" is not null and the label to "name".

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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