2

I want to remove empty cells to obtain a map map like (b) from the above map (a). Do you know a simple way to do it?

cell

2
  • 1
    do you want to remove these attributes from your vector-file, or do you want to remove it from the map? have you done some searching on this page for "select by value" "symbology by category/value" etc.?
    – Vincé
    Commented Mar 29, 2022 at 7:15
  • I want to remove it from the map only.
    – Sina Kh.
    Commented Mar 29, 2022 at 7:30

2 Answers 2

6

If all you want is to hide the 'empty' cells then adjust the legend so that the first class starts at 1: enter image description here

If you want to delete the data - open attribute table and select by expression and delete - here is a screenshot of expression - your expression will be different e.g. fieldname is NULL or fieldname <=0 enter image description here

4

In layer Properties, define a Provider Feature Filter like "value" > 0 - all features where this condition is not met will not be shown on the map. See documentation.

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.