[Qgis-developer] Bringing diagrams into labeling-ng

Marco Hugentobler marco.hugentobler at sourcepole.ch
Tue Feb 15 04:16:06 EST 2011


Hi devs

One thing that I wanted to do already some time ago was to bring the diagrams 
together with the pal instance that does the labeling (ng). Currently, the 
diagrams use a different pal instance and the conflict resolution does not 
detect overlaps between diagrams and labels. Also, it would be cool to use the 
label move tools for diagrams and labels.

Therefore I'm proposing a change to QgsPalLabeling. To make the system more 
extensible, it would be good to have QgsPalGeometry as an abstract base class 
and derive QgsPalLabelGeometry from it (and diagram specific classes later 
too). Each QgsPalGeometry would implement size calculation and drawing in its 
specific way.

Any objections or better ideas?

Regards,
Marco



-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


More information about the Qgis-developer mailing list