Bug report #6162

Incorrect placement of ABC labels

Added by magerlin - about 12 years ago. Updated about 12 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Labelling
Affected QGIS version:1.8.0 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:15483

Description

When trying to label a polygon layer I wanted to place the label over the polygon centroids.
This should be possible by selecting the ABC Advanced pane and ticking off "over centroid".
But it seems ABC is rather poor at calculating the centroids. See more here:
[[http://osgeo-org.1560.n6.nabble.com/Incorrect-placement-of-ABC-labels-td4992143.html#a4992346]]

Example shp is attached. Try to use ABC labelling wiusing fid as label and ask for "over centroid" placement.

Error_in_label_placement.zip - Example file (1.75 KB) magerlin -, 2012-08-07 01:56 AM

History

#2 Updated by Giovanni Manghi about 12 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Paolo Cavallini about 12 years ago

  • Target version set to Version 2.0.0

#4 Updated by Larry Shaffer about 12 years ago

Should be fixed with commit 61a50225

Please test.

#5 Updated by Paolo Cavallini about 12 years ago

  • Status changed from Open to Feedback

#6 Updated by Giovanni Manghi about 12 years ago

  • Resolution set to fixed
  • Status changed from Feedback to Closed

Also available in: Atom PDF