4

Very basic question. I am new to QGIS (using v 3.0) 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?

5

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

  • That's pretty. Nice work. – JMers Jan 4 at 21:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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