2

Using Qgis 3.28.14

I am trying to visualize labels with a background and setting the border of the background.

The result I am having is wrapping each letter instead of the entire label

enter image description here

How do I get to have the outline for the entire label?

Edit:

relevant settings

Background: rectangle buffer simple fill with outline

Placement: curved allowed position: Left of line, on line, Line orientation dependent position Label overrun set very high

5
  • 2
    Please provide your full label settings. Commented Jan 3, 2024 at 11:22
  • @Erik full label settings is pretty vast. What exactly do you need to know? Commented Jan 3, 2024 at 11:42
  • Maybe sharing a sample dataset could help - even with dummy data if you don't want to reveal actual data. Commented Jan 3, 2024 at 11:53
  • 3
    it is easy to reproduce. a line label with background and outline set to curved placement...but I think, there is no solution, only to set it to "parallel" or "horizontal" line placement Commented Jan 3, 2024 at 12:49
  • 1
    @eurojam, yes, you got the settings right, I just added them, and setting the placement to parallel does the trick. It is the solution I needed if you want to post it. A curved placement was not necessary here. Commented Jan 4, 2024 at 7:00

1 Answer 1

2

If the line label placement mode is set to "curved" it looks this:

enter image description here

setting it to "parallel" - if possible - would avoid that

enter image description here

2
  • So then the curved style can be considered a bug? Commented Jan 4, 2024 at 11:22
  • 4
    I don't think it's a bug, because it's not easy to make a single rectangle around curved labels - IMO technically the label is splitted into several letters... Commented Jan 4, 2024 at 12:32

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.