Bug report #13558
[Regression] Label/diagram placement on centroid is broken for multipolygons
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21600|
Label/diagram placement on centroid in master seems to be off compared to 2.10: for multipolygons, it seems to randomly chose the centroid of one part rather than the old behavior which seemed to use the whole multipart feature to compute the centroid.
In the following example the diagram is put on the centroid with high priority and the label settings are shown.
Tested on nightly OSGeo4W
#4 Updated by Anita Graser over 5 years ago
- File label-partial-feature.png added
Update info: If label all parts of multipart feature is enabled ...
When the complete multipolygon is visible in the map view, there are no label candidates on the main land. They appear if the feature is moved partially outside the map view: