I was thinking to both the ways:<div><br></div><div> - expose geoprocessing directly through QGIS MS (either C++ plugins or Python plugins)</div><div> - provide a Python mapscripting for QGIS MS (as you&#39;re saying)</div>
<div><br></div><div>I think the two ways are complementary. </div><div>The latter would let you &quot;control&quot; QGIS MS, and proxy requests, exactly the same as Mapserver/Mapscript. </div><div>The first one would let you also expose code written for QGis Desktop. For example, you could expose the features provided by the Processing Framework (OTB, SAGA, etc.), or the code inside QGis Analysis.</div>
<div><br></div><div>I think that practically a common architecture could respond to both the functionalities: add qgispython interface to Qgis MS, as it is available for Qgis Desktop. This way you can call Python from Qgis and viceversa.</div>
<div><br></div><div>giovanni<br><br><div class="gmail_quote">2011/10/19 Radim Blazek <span dir="ltr">&lt;<a href="mailto:radim.blazek@gmail.com">radim.blazek@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have a similar question, but not the same, if I got it.<br>
<br>
I am thinking about a possibility to write a wrapper around the QGIS<br>
mapserver in Python. I mean a possibility to process a request before<br>
it is passed to QGIS MS core and process result before it is sent back<br>
to client. Practically Python bindings for QGIS mapserver. Basically<br>
the same like UMN MapServer mapscript in Python. Are you planning<br>
something like that?<br>
<br>
Usually it is always necessary to add an additional functionality for<br>
each project and the possibility to do it in Python would be the best<br>
IMO.<br>
<br>
Radim<br>
<div><div></div><div class="h5"><br>
<br>
On Wed, Oct 19, 2011 at 3:06 PM, G. Allegri &lt;<a href="mailto:giohappy@gmail.com">giohappy@gmail.com</a>&gt; wrote:<br>
&gt; These days I&#39;m studying the QGis server architecture, and I was wondering on<br>
&gt; using it beyond its WMS features.<br>
&gt; I suppose that exposing other functionalities through it&#39;s (fast)cgi<br>
&gt; interface is trivial, and being able to run python scripts from the qgis<br>
&gt; internal python interpreter coul be interesting.<br>
&gt; Some proprietary gis servers already let users publish scripts accessible<br>
&gt; through web services, and I imagine that it could be done through Qgis<br>
&gt; server too.<br>
&gt; Before going on, I would like to receive comments on this, and invetigate<br>
&gt; eventual blocking issues for this feature given the actual Qgis server<br>
&gt; architecture.<br>
&gt; Giovanni<br>
</div></div>&gt; _______________________________________________<br>
&gt; Qgis-developer mailing list<br>
&gt; <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div>