[Qgis-developer] Multi threading and background processing

Gino Pirelli luipir at gmail.com
Sat Nov 23 01:04:17 PST 2013


On 22 November 2013 08:23, Martin Dobias <wonder.sk at gmail.com> wrote:

> One side thought: seems like your computation could be done within
>  Processing framework (used to be SEXTANTE before QGIS 2.0). The
> obvious advantage is that you just write your algorithm and register
> it, all GUI for input of parameters would be done by the framework.
> But I do not think it currently supports things like continual updates
> of the results in canvas.
>
> As far as I know, Processing has problems managing multi thread
processing, probabily related with GUI update of the it's progress bar, but
I didn't investigated.

>
> > 2) If I did this, could I display this type of raster in the qg map
> canvas?
> > What kind of synchronization is required so the simulation pauses when
> the
> > map is redrawn due to user interaction (zooming or panning for example).
>
> signal exchange!  your plugin can do bridging and signal coordinator.

rendering action emit signals:
http://www.qgis.org/api/classQgsMapCanvas.html
in different phases

I don't know it could help.

ciao Luigi Pirelli (luigi.pirelli at faunalia.it)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131123/a77863fe/attachment.html>


More information about the Qgis-developer mailing list