Re: [QGIS-Developer] How to use postProcessLayer in plugin processing

2019-05-16 Thread Nyall Dawson
On Thu, 16 May 2019 at 18:33, René-Luc Dhont wrote: > > Thanks, this link is helpful > https://gist.github.com/nyalldawson/26c091dd48b4f8bf56f172efe22cf75f > > It contains a hack to work around sip bug! Hey Matthias, on this hack -- is it the same issue as you fixed a while back for registry inst

Re: [QGIS-Developer] How to use postProcessLayer in plugin processing

2019-05-16 Thread René-Luc Dhont
Thanks, this link is helpful https://gist.github.com/nyalldawson/26c091dd48b4f8bf56f172efe22cf75f It contains a hack to work around sip bug! Regards, René-Luc Le 16/05/2019 à 10:25, Tom Chadwin a écrit : Don't know if any of the links in this reply from Nyall are of any use? https://lists.osg

Re: [QGIS-Developer] How to use postProcessLayer in plugin processing

2019-05-16 Thread Tom Chadwin
Don't know if any of the links in this reply from Nyall are of any use? https://lists.osgeo.org/pipermail/qgis-developer/2018-September/054480.html Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.h

[QGIS-Developer] How to use postProcessLayer in plugin processing

2019-05-16 Thread René-Luc Dhont
Hi Devs, I would like to set the style an output layer in a script processing. My algorithm is added to QGIS Processing by a plugin. I have tested this : ``` class loadNamedStylePostProcessor(QgsProcessingLayerPostProcessorInterface):     def __init__(self, outputName, feedback):     su