<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 3, 2014 at 4:30 PM, rldhont <span dir="ltr"><<a href="mailto:rldhont@gmail.com" target="_blank">rldhont@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Hi Vincent<br>
<br>
Le 20/12/2013 12:28, Vincent Picavet a écrit :<div class=""><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Other question : do you rely on qgis.core only then for QGIS processing now ?<br>
</blockquote>
<br></div>
To run QGIS Processing algorithms, I only rely on qgis.core but it is necessary to intialize a QGSApplication and a QApplication.<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+1 for that, simple, flexible and powerful. And Unix spirit too :-) If we want tighter integration, it is a matter of packaging PyWPS with QGIS. Or implement a way of sending bundled WPS scripts from QGIS to a PyWPS server. As for performances, I think having python for serving WPS is not damaging, since the performances issues are more related to the algorithms implementation than the WPS server itself. Vincent <br>


</blockquote>
<br></div>
I'm working on a python class to easily publishing QGIS Processing server-side with PyWPS.<br>
For example :<br>
=============<br>
#!/usr/bin/env python<br>
# -*- coding: utf-8 -*-<br>
<br>
from pywps.Process import WPSProcess<br>
from qgisWPSProcess import qgisWPSProcess<br>
<br>
qgis = qgisWPSProcess("qgis:<u></u>fixeddistancebuffer")<br>
<br>
saga = qgisWPSProcess("saga:<u></u>shapesbuffer")<br>
<br>
grass = qgisWPSProcess("grass:v.<u></u>buffer.distance")<br>
==============<br>
All theses processes has to be tested.<br>
<br>
But I would like to add the ability to use a QGIS project to restrict processes on some layers.<div class="im"><br>
<br></div></blockquote><div dir="ltr"><br>Hi René-Luc, would You please provide some current information to Your QGIS->WPS server work ? I am very interested about the current state of this feature.<br><br></div><div>

Thanks a lot. <br><br></div><div>Ivan<br></div></div>
</div></div>