Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curved placement label not shown for feature #60364

Open
1 of 2 tasks
strk opened this issue Jan 30, 2025 · 2 comments
Open
1 of 2 tasks

Curved placement label not shown for feature #60364

strk opened this issue Jan 30, 2025 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers

Comments

@strk
Copy link
Contributor

strk commented Jan 30, 2025

What is the bug or the crash?

label with "curved" placement does not show when zooming out, see how the label for the black line is missing:

Image

And shows up if I zoom in:

Image

It feels like the labeling engine really wants the text to completely fit into a single segment of that black feature, while this isn't the case with other features, like the yellow one where the label spans 3 segments. Could it be the last segment is special ?

Steps to reproduce the issue

  1. go to layer properties, labels
  2. select Single Labels and pick an attribute with some long text
  3. pick Curved mode placement allowing all positions
  4. Zoom in and out and see how the label disappears too soon

Versions

QGIS version3.41.0-Master
QGIS code revisionb601cc7a6e5
 
Libraries
Qt version5.15.8
Python version3.11.2
GDAL/OGR version3.4.3
PROJ version9.1.1
EPSG Registry database versionv10.076 (2022-08-31)
GEOS version3.14.0dev-CAPI-1.20.0
SQLite version3.40.1
PostgreSQL client versionunknown
SpatiaLite version5.1.1-rc0
QWT version6.1.4
QScintilla2 version2.13.3
OS versionDebian GNU/Linux 12 (bookworm)
This copy of QGIS writes debugging output.
 
Active Python plugins
QuickWKT3.1
MetaSearch0.3.6
db_manager0.1.20
processing2.12.99
grassprovider2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@strk strk added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 30, 2025
@strk
Copy link
Contributor Author

strk commented Jan 30, 2025

Note that "Parallel" placement doesn't omit the label at the same or even bigger scale:

Image

@nyalldawson
Copy link
Collaborator

@strk check the settings for maximum angle between curved characters, label overrun

@nyalldawson nyalldawson added the Feedback Waiting on the submitter for answers label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers
Projects
None yet
Development

No branches or pull requests

2 participants