Thank you very much Martin for this quick fix, tested this morning and it
works as expected now.

I have another question : after settings some labeling rules with pyqgis,
the labels are not displaying but if I just enter the rule settings through
the gui and directly exit it without changing anything then the labels are
displayed correctly. Is there any register action needed for each rule that
I forgot in my code ?

2018-02-03 22:34 GMT+01:00 Martin Dobias <>:

> Hi Dominique
> On Sat, Feb 3, 2018 at 11:24 AM, Dominique Lyszczarz <>
> wrote:
> >
> > Unfortunately I can't find how to iterate over existing rules, the
> > labeling() method available for vector layers return an object of
> > QgsAbstractVectorLayerLabeling class
> That should be fixed on master now:
> 8927ae0606
> Cheers
> Martin
QGIS-Developer mailing list
List info:

Reply via email to