Hi all,
Am 29.03.21 um 01:17 schrieb Nyall Dawson:
> [...] So it's quite straightforward to use
> multiprocessing in PyQGIS via the Qt methods and do things like
> calculating intersections for different objects across multiple
> threads at once without having to worry about the GIL at all...
I h
gt; > qgis-developer-ow...@lists.osgeo.org
> > >
> > > When replying, please edit your Subject line so it is more specific
> > > than "Re: Contents of QGIS-Developer digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > >1. Re
so it is more specific
> > than "Re: Contents of QGIS-Developer digest..."
> >
> >
> > Today's Topics:
> >
> >1. Re: Multiprocessing QGIS (Florian El Ahdab)
> >
> >
> > ----------
> >
> > Message: 1
ay's Topics:
>
>1. Re: Multiprocessing QGIS (Florian El Ahdab)
>
>
> --
>
> Message: 1
> Date: Sun, 28 Mar 2021 16:48:12 +0200
> From: Florian El Ahdab
> To: Joao Folgado
> Cc: David Marteau , qgis-developer
Hi.
I am posting my reply again because I missed the qgis-developer mail list
first...
It is indeed possible to achieve multiprocessing in QGIS.
But you should rely on Qt multi thread mechanisms rather than on the python
multiprocessing module.
Qgis is written in C++, based on the Qt library. U
Hi guys,
First of all thank you but, David Marteua and Sebastian Ernst, for the
answer.
So is impossible to use multiprocessing in Qgis plugin?
This is a enormous limitations because Qgis have a lot of data that needs
to be evaluated in same cases. Nowadays the cpu have 5,7, 9 cores and we
can n
I am not entirely sure what QGIS' (intended) behavior is in a case like
this. From the top of my head, having read the relevant portion of its
source code, I'd expect at least a second application window likely
followed by non-deterministic behavior (again, depending on the
use-case, likely result
Hi João, all,
really interesting question.
> however when i run the plugin a new instance of application is open
> and give me an error.
I assume that you are using `multiprocessing` [1] from Python's standard
library. Its default behavior is to use process-based parallelism (as
the title in the
Hi everyone,
I had created a plugin for Qgis and I trying to optimize it. So i use in
my code the library python that have Queue whit multiprocessing however
when i run the plugin a new instance of application is open and give me an
error.
I had early use this type of multiprocessing before in si
Ok cool - thanks
On Céad 11 Noll 2019 at 09:07, Luigi Pirelli wrote:
> Not yet... but consider that GUI works in the main thread => if you need
> to post messages in the console you should need to create producer/consumer
> queues (see use of Queue module).
> I would suggest to simplify everythi
Not yet... but consider that GUI works in the main thread => if you need to
post messages in the console you should need to create producer/consumer
queues (see use of Queue module).
I would suggest to simplify everything using QgsTask.
cheers
Luigi Pirelli
**
Hi,
Has anyone to successfully setup multiprocessing through the the qgis
console?
Thanks
--
Le gach dea ghui,
*Shane Carey*
*GIS and Data Solutions Consultant*
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osge
12 matches
Mail list logo