Hi devs,

is it possible to load a layer (vector or raster) created in a
Processing script/algorithm from the script itself without using the
specific algorithm "set style for raster layer"?

I'm using context.addLayerToLoadOnCompletion() to load the layers and I
have a separated function that creates the style (as qml file with the
same name of the layer). But when the layers are loaded the styles
aren't (even if correctly created in the folder and it works if manually
loaded in QGIS).

Thanks for any suggestion

Cheers

Matteo



_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to