In QGIS, I can't seem to find a way to define the features that I want to label using a SQL query? Is this possible?
For example, I downloaded the OSM Natural shapefiles, and a lot of those features have no values in their "name" field. I would like to display all features, but only label those features where NAME <> ""
. The same concept could be applied to roads, where TYPE = "Motorway"
.
In the image below, I want all polygons visible, but don't want to label the 3 polys on the right.