[Qgis-developer] Python access to Symbology-ng

Dane Springmeyer blake at hailmail.net
Mon Dec 7 13:29:44 EST 2009


Martin,

Fantastic, thank you.

I also just noticed http://trac.osgeo.org/qgis/changeset/12347 which I  
figure might help too.

Cheers!

Dane


On Dec 7, 2009, at 10:20 AM, Martin Dobias wrote:

> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list