7

I have a set of points with labels set to lat and long generated using the "Lat Lon Tools" plugin.

I want to move the labels using the move label tool.

enter image description here

enter image description here

When I move a label, the other labels disappear.

I have tried with a simple set of points with labels set to name and the primary key to the "ID" and it works fine.

3

1 Answer 1

14

Your table doesn't have a primary key (unique id) column. Therefore, you must add one. To do that, click the "Field Calculator" button above the table enter image description here. Set options as in the image below:

enter image description here

And use UID as the primary key when you want to move labels.

When labels are too close or overlapping, QGIS hides some of them. To show all labels, do the following:

  • In Labels tab in Layer Styling (F7), open the Rendering tab.
  • Check "Show all labels for this layer (including colliding labels)"

enter image description here

5
  • Thank you Kadir, that’s just the answer I needed. How do I save the layer so that the label settings are preserved, please? Jan 25, 2023 at 19:34
  • Check this post please: Saving Label Text Size, Placement, Wrapping, As Template using QGIS. Jan 25, 2023 at 19:47
  • Thank you, I have tried this and it saves the style but to add the placement locations I used move label to create I have to set the data defined x and y coordinates to the auxiliary fields manually. Is this the only way to have the labels placed the same when the saved layer is loaded? Jan 25, 2023 at 20:23
  • I don't know. It's the only way I know. Jan 25, 2023 at 20:30
  • Thanks, I am getting the hang of it Jan 25, 2023 at 20:59

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.