1

I have a continent shapefile containing the names of its different countries. Unfortunately, many of these countries have more than one entry (i.e. more than one row in the attribute table).

Therefore, when I am trying to add labels of the country names to the map, some of country names are printed out more than one time.

I read Getting list of distinct values from shapefile field using QGIS?, but was not able to apply it to my specific problem.

What can I do about this?

  • My first suggestion would be to remove the duplicate countries in your shapefile – Matt Jun 15 '16 at 9:33
1

I would do a dissolve on the shape file so that the shape file only contains a single entry based on country you can them label as required

  • No worries. Glad it helped – Leith Hawkins Jun 15 '16 at 10:31

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.