[Qgis-user] loadNamedStyle

Etienne Trimaille etienne.trimaille at gmail.com
Tue Sep 14 05:10:28 PDT 2021


Quick answer,

You might want to have a look to
https://qgis.org/api/classQgsProcessingUtils.html#aa1c2360e52d2ed8100faf02a35125b17
I'm not sure about writing a processing script with this syntax, I'm still
using the class way. But you might want to set your style in a post
processor QgsProcessingLayerPostProcessorInterface?

Or why not using the builtin processing script to load a style ? Just
pre-fill values and call this algorithm ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210914/fbaeb43a/attachment.html>


More information about the Qgis-user mailing list