Re: [QGIS-Developer] Load layer with style in Processing plugin

2018-05-31 Thread matteo
Hi Nyall, thanks for the answer. > In 3.2 it should be possible, using a subclass of > QgsProcessingLayerPostProcessorInterface and > > context.layerToLoadOnCompletionDetails( output_dest_id > ).setPostProcessor( my_layer_post_processor() ) > > Your QgsProcessingLayerPostProcessorInterface

Re: [QGIS-Developer] Load layer with style in Processing plugin

2018-05-30 Thread Nyall Dawson
On 30 May 2018 at 20:22, matteo wrote: > 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

[QGIS-Developer] Load layer with style in Processing plugin

2018-05-30 Thread matteo
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