Monday 15 May 2017

python - How to programmatically set a rule-based renderer in QGIS?


I'm in the process of developing a plugin which highlights/changes the color of a set of features in a vector layer, depending on some calculation.


I found a nice article about QGIS – Rule based styling and i need to do the same thing but using python code.


What is the best way of doing this? Are there any examples out there?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...