3

I have been trying to label a Virginia counties and cities map with their proper names, but when I try to do so, using all the different types of placements, I either get nice looking labels with not all of them showing, or really messy labels with all of them showing. Is there a solution to this problem?

2
  • 1
    I think this may help you: youtube.com/watch?v=1X2NLHhEUfQ Aug 10, 2017 at 17:57
  • 1
    There's usually a tradeoff: slow and pretty versus quick and messy. To get your labels to look pretty, you'll have to manually rearrange them. Try the Layer to labeled layer plugin and the Label toolbar.
    – csk
    Aug 10, 2017 at 20:54

1 Answer 1

8

You can use the plugin Layer to labelled layer to arrange your labels

enter image description here

The way that it works is that it adds many new attribute columns to your shapefile to do with label size, format and placement which you can change and manipulate with the plugin features.

Because it is making changes to your shapefile, I would suggest that it is a good idea to make a copy and work on that.

You can use the label toolbar

enter image description here

and one installed you will have a new icon

enter image description here

Clicking on the Layer to labelled layer icon will add the new columns to your shapefile that provides the capability to move the labels as you want them to be, and to manipulate them.

enter image description here

You will need to show the labels in the normal way

enter image description here

Use the Move label and diagram button to move the label

enter image description here

Rotate the label

enter image description here

And change individual label properties

enter image description here

It will probably be able to do everything that you need to get your labels as you want them which can then be displayed in Print Composer.

3
  • I use Easy Custom Labeling (with the save memory layers plugin) for a similar purpose, especially for the leader lines. But is it correct to say the difference is Layer to Labelled Layer reflects changes to source data (esp. addition of new rows), while Easy Custom Labeling doesn't?
    – she_weeds
    Aug 11, 2017 at 2:20
  • Yes, I have used Easy Custom Labelling before. Where is it? I am using QGIS 2.18.11 and I can not find it in the plugins? I am assuming that it has been assimilated into the core software and is now the Label toolbar? I did however come across SuperLabeling which works quite nicely, by doing a similar thing to Layer to labelled layer by creating attribute columns and adding and removing labels by clicking and double-clicking, respectively. They can then also be moved using the move label feature as above. Aug 11, 2017 at 6:30
  • Huh. You're right, it's not in the official repository. Looks like the latest release is for 2.99 so it doesn't show up for 2.18.11. It can still be downloaded from here plugins.qgis.org/plugins/EasyCustomLabeling which must be where I got it a while back. As for ECL's advantage with the leader lines, I suppose a geometry generator style could be used with Layer to labelled layer or SuperLabeling, activating only if the label is say beyond a specified radius of the feature. How to get the nice elbowed lines, though, is beyond me at the moment.
    – she_weeds
    Aug 11, 2017 at 7:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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