Re: [QGIS-Developer] QEP 140: QGIS Processing standalone executable

2019-02-28 Thread Nyall Dawson
On Wed, 27 Feb 2019 at 18:16, David Marteau  wrote:
>
> Hi Nyall
>
> You may be interested in some work already done for running qgis processing 
> algorithms at server side with no gui and direct calls to "createAlgorithms":
>
> https://github.com/3liz/py-qgis-wps
>
> Development of embedding the processing machinery has raised some interesting 
> questions about using processing in stand alone programs.

Right -- use cases like this are actually one of the main motivations
behind the standalone executable!

The way I see it, benefits of using a standalone executable called via
subprocess (vs direct use of the PyQGIS API) for tools like
py-qgis-wps are:
- safer: less risk of the processing subprocess crashing and bringing
down the whole server process with it
- easier to use: no need to worry about the process of initializing
qgis and processing manually - this is all taken care of for you.
- works correctly with plugins, without the complexity of manually handling this
- easier to multithread without incurring Python GIL locks

Nyall


>
> David
>
> Le 27 févr. 2019 à 04:36, Nyall Dawson  a écrit :
>
> Hi all,
>
> Just a heads up for a newly filed QEP regarding a standalone tool for
> executing QGIS Processing algorithms outside of the desktop GUI
> application. Read the full details and comment here:
>
> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/140
>
> Nyall
> ___
> 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
>
>
___
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

Re: [QGIS-Developer] QEP 140: QGIS Processing standalone executable

2019-02-27 Thread David Marteau
Hi Nyall

You may be interested in some work already done for running qgis processing 
algorithms at server side with no gui and direct calls to "createAlgorithms":

https://github.com/3liz/py-qgis-wps 

Development of embedding the processing machinery has raised some interesting 
questions about using processing in stand alone programs. 

David 

> Le 27 févr. 2019 à 04:36, Nyall Dawson  a écrit :
> 
> Hi all,
> 
> Just a heads up for a newly filed QEP regarding a standalone tool for
> executing QGIS Processing algorithms outside of the desktop GUI
> application. Read the full details and comment here:
> 
> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/140
> 
> Nyall
> ___
> 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

___
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

[QGIS-Developer] QEP 140: QGIS Processing standalone executable

2019-02-26 Thread Nyall Dawson
Hi all,

Just a heads up for a newly filed QEP regarding a standalone tool for
executing QGIS Processing algorithms outside of the desktop GUI
application. Read the full details and comment here:

https://github.com/qgis/QGIS-Enhancement-Proposals/issues/140

Nyall
___
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