[Qgis-developer] Bringing diagrams into labeling-ng
Marco Hugentobler
marco.hugentobler at sourcepole.ch
Wed Mar 9 09:01:18 EST 2011
Hi all
There's a patch now that adds diagram support using QgsPalLabeling
(http://trac.osgeo.org/qgis/ticket/3583). It tries to change the labeling
classes as little as possible to not introduce additional issues.
Currently available are pie diagrams and text diagrams. My plan is to also
support bars (and maybe proportional svg symbols) and to remove the vector
overlay classes after 1.7.
What do you think, is it still ok for those changes to go into 1.7? Looking
forward to your comments.
Regards,
Marco
Am Dienstag, 15. Februar 2011, 10.16:06 schrieb Marco Hugentobler:
> 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
Churerstr. 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