[Qgis-developer] Old symbology removed in master

Marco Hugentobler marco.hugentobler at sourcepole.ch
Mon Apr 8 01:53:40 PDT 2013

Hi Martin

Thanks for cleaning out the symbology.
I also like to have the V2 postfixes removed.


On 08.04.2013 00:38, Martin Dobias wrote:
> Hi
> just a quick note that old symbology API has been removed: QgsRenderer
> (+ implementations), QgsSymbol and few others are gone. Projects using
> old symbology still can be loaded and old symbology will be
> automatically converted to new symbology (just in memory, so if you do
> not save the project it will continue using old symbology). There are
> few things that are currently not being converted properly to new
> symbology:
> - data-defined rotation / scale / symbol name - TODO
> - map units flag for point symbol - TODO
> - texture for fill style - no equivalent in new symbology (svg fill is
> better anyway)
> - continuous color renderer - no equivalent in new symbology
> (graduated symbol renderer may be used instead)
> - composer - legend items for old symbology are ignored and need to be
> recreated manually
> Old labeling has been kept as-is - there's not so much code involved
> (basically just one class, QgsLabel) so it's not such hot topic within
> the API cleanup.
> I am aware that few unit tests related to rendering got broken, I will
> fix them soon. (btw. there are few failing tests not related to the
> symbology changes: qgis_atlascompositiontest, qgis_composerhtmltest)
> How do others feel about dropping "V2" postfix from new symbology
> classes for QGIS 2.0? E.g. QgsSymbol instead of QgsSymbolV2. I would
> like to see those removed to keep the API clean.
> Regards
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

More information about the Qgis-developer mailing list