Hi List,
I want to remove some class from a QgsPalettedRasterRenderer in a python script.
I got the renderer and classes with :
renderer = myLayer.renderer()
clas = renderer.classes()
I can iterate classes, modify label and so on.
But I don’t find any tips to delete a class as I can do in the ui.

Any idea?

Thanks



→  Sylvain PIERRE
         Chef de projet système d’information
         Direction des Systèmes d’Information
         Service Projets et Applications Numériques
       Conseil Départemental du Bas-Rhin
[cid:[email protected]]<http://www.bas-rhin.fr/>
         Hôtel du Département
         1 place du Quartier Blanc 67964 Strasbourg Cedex 9
         Tél : 03 88 76 68 88 - mobile :
         Mobile :
         Email : [email protected]<mailto:[email protected]>
         www.bas-rhin.fr<http://www.bas-rhin.fr/>


_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to