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?
-
1do 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
If all you want is to hide the 'empty' cells then adjust the legend so that the first class starts at 1:
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
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.