I am new to QGIS 3 and want to make a simple map of research area. I'm using Natural Earth and I've identified the "10m_admin_0_map_units" is the file with the country names.

I just want a few country names to appear on the map of the Caribbean e.g. Barbados, Curacao, Cuba, Venezuela, Mexico. But I can't work out how to set up the rule based layer for this and I can't find a tutorial using this Version.

Could someone explain how I set-up the filter to only get a few country names?

1 Answer 1


You should to use in Properties --> Label --> Rendering --> Show Label

enter image description here

Click on "Edit..." and add the next expresion:

"name" in ( 'Venezuela' , 'Cuba' , 'Mexico' )

This is the result 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.