[Qgis-developer] Python access to Symbology-ng

Martin Dobias wonder.sk at gmail.com
Mon Dec 7 13:20:13 EST 2009


On Tue, Dec 1, 2009 at 11:30 PM, Martin Dobias <wonder.sk at gmail.com> wrote:
>> But, how do you get that specific renderer object?
>
> Ah, it returns always QgsFeatureRendererV2 instance? Maybe I've
> forgotten to add conversions to python bindings...

>From r12357 you'll get the correct subclass and not only the
QgsFeatureRendererV2 base class so it's possible to get renderer's
ranges, categories etc.

Martin


More information about the Qgis-developer mailing list