Opened 14 years ago

Last modified 13 years ago

#2113 new bug

curved labels: only a few are drawn

Reported by: pcav Owned by: wonder
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Symbology Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

With the new labelling engine, I always get far too few labels when selection the "curved" option. See attached screenshot an sample file.

Attachments (5)

labels.png (134.3 KB ) - added by pcav 14 years ago.
example of missing labels
fiumi-princ.zip (184.3 KB ) - added by pcav 14 years ago.
sample file to show problems in labelling
labels2-composer.png (89.6 KB ) - added by borysiasty 14 years ago.
Example 2: labels in the composer window (still ok)
labels2-printout.pdf (82.6 KB ) - added by borysiasty 14 years ago.
Example 2: labels on printout
P1080123_cropped_1.jpg (254.3 KB ) - added by Alister 13 years ago.
Check out the labelling on the roads. Sorry about the poor lighting :(

Download all attachments as: .zip

Change History (9)

by pcav, 14 years ago

Attachment: labels.png added

example of missing labels

by pcav, 14 years ago

Attachment: fiumi-princ.zip added

sample file to show problems in labelling

comment:1 by wonder, 14 years ago

The problem is that either the shapes are too short (the label wouldn't fit on the line) or the shapes are too complex and creation of labels candidates fails because the succesive characters would be otherwise rotated "too much", resulting in unreadable labels.

I don't know what should be a correct solution for this. The engine could try to detect such complex shapes and try to simplify on-the-fly them before creating candidates...

comment:2 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

by borysiasty, 14 years ago

Attachment: labels2-composer.png added

Example 2: labels in the composer window (still ok)

by borysiasty, 14 years ago

Attachment: labels2-printout.pdf added

Example 2: labels on printout

comment:3 by borysiasty, 14 years ago

Even on simpler lines, as streets, the curvature threshold seems too low. I can imagine much more curved labels would be still good-looking. Anyway, even if it's acceptable on display, on printouts (or exported files; no matter rasterized or not) it is definitely not. See screenshots label2-* (also wrong scaling and #2796 are visible).

by Alister, 13 years ago

Attachment: P1080123_cropped_1.jpg added

Check out the labelling on the roads. Sorry about the poor lighting :(

comment:4 by Alister, 13 years ago

(sorry, I was meant to post this before attaching)

I agree with this:

Even on simpler lines, as streets, the curvature threshold seems too low.

But I also think that this is necessary:

The engine could try to detect such complex shapes and try to simplify on-the-fly them before creating candidates...

See the labelling on the roads in P1080123_cropped_1.jpg for an example.

Note: See TracTickets for help on using tickets.