Feature request #6673

Curved labels : max angle delta between letters

Added by Laurent Gasnier about 11 years ago. Updated over 6 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:15845


In new labeling tool, it would be useful for the user to set the value of the max angle delta between letters (like MAXOVERLAPANGLE of Mapserver).

See attached screenshot test_anno_curv_roubion2.png: Black labels are drawn by a WMS Mapserver layer, red labels by QGIS.

The label "Le Roubion" is drawn only if MAXOVERLAPANGLE is set to 30 in .map file (with default value, it's not drawn).

test_anno_curv_roubion2.png (112 KB) Laurent Gasnier, 2012-11-09 11:35 PM

test_anno_curv_roubion_outside_angle_40.png (113 KB) Laurent Gasnier, 2012-11-30 05:08 AM

test_canal_de_bourgogne.png (112 KB) Laurent Gasnier, 2012-11-30 05:08 AM

labels.jpg (82.5 KB) Regis Haubourg, 2012-11-30 05:59 AM

Related issues

Related to QGIS Application - Bug report #6763: Labels don't wrap around 90 degree bend Closed 2012-11-26


#1 Updated by Regis Haubourg about 11 years ago

related to #6763

#2 Updated by Larry Shaffer about 11 years ago

  • Status changed from Open to In Progress

See #6763-6 for update on related issue.

Please test with ee12df2 to see if your labels now can match MapServer's. Some comparison screen snaps again would be nice.

#3 Updated by Laurent Gasnier almost 11 years ago

Hi Larry,
Thanks, it's all right.
The label "Le roubion" is drawn with outside angle of 40.
See attached file test_anno_curv_roubion_outside_angle_40 (black labels from mapserver, red labels from qgis).

Second example: "Canal de Bourgogne" and "La Vingeanne" are drawn with outside angle of 30 and letter spacing of 150 mapunits.
See attached file test_canal_de_bourgogne.
For missing Qgis labels in this second example, see #6674

Seeing your example in #6763-6, your proposal of character averaging is interesting.

#4 Updated by Regis Haubourg almost 11 years ago

Hi Larry,
confirmed here too, and really interested in the averaging solution to allow have readable labels for complex lines. See screenshot, that typically show big rivers, zoomed out, are the first to loose labeling, or to have overlapping characters.

#5 Updated by Giovanni Manghi over 6 years ago

  • Easy fix? set to No

#6 Updated by Regis Haubourg over 6 years ago

  • Description updated (diff)
  • Status changed from In Progress to Open

Not in progress anymore, any funder welcome, QEP are all ready for those enhancements.

Also available in: Atom PDF