<div dir="ltr"><div>Hi,qgis-users,</div><div><br></div><div>in the same way of my last question, about how format the GetFeatureInfo request in QGISServer, some people tells me that QGIS Server runs in a Mapserver <span>architecture (its true?) </span></div><div><span><br></span></div><div><span>If that's true, Mapserver format the getfeatureinfo request with a *.map file that includes a TEMPLATE option with HTML styles. This option is easier (for me <span>I'm</span> <span>not a programmer)</span> than the Python coding solution</span></div><div><span><br></span></div><div><span>Now, my problem is that, when I search in QGISServer, I can not find any *.map file related about this.</span></div><div><span><br></span></div><div><span>Someone knows where is this *.map file? Or how works QGISServer to call the mapserver .map file?</span></div><div><span><br></span></div><div><span>Thanks a lot!</span></div><div><span>Carles Vico</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-20 12:21 GMT+01:00 Alessandro Pasotti <span dir="ltr"><<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2015-03-20 12:08 GMT+01:00 Carles Vico Blanco <<a href="mailto:carles.vico@geografos.org">carles.vico@geografos.org</a>>:<br>
> Thank you very much for the reply, but I have a question of your answer.<br>
> When you say: "The latest release", I understand the QGIS 2.8, that's<br>
> correct? And then, I need to install the QGIS Server Python plugin on QGIS<br>
> Server, as you say here<br>
> <a href="http://www.itopen.it/qgis-server-python-plugins-ubuntu-setup/" target="_blank">http://www.itopen.it/qgis-server-python-plugins-ubuntu-setup/</a> , or It's no<br>
> necessary from the latest release of QGIS Desktop?<br>
><br>
> I'll try it and I tell you my result!<br>
><br>
> Thanks a lot!<br>
><br>
<br>
The article describe the setup to install the example HelloServer<br>
plugin and let it run on Ubuntu 14.04 server edition, you might find<br>
that useful to get started, you can also read the other 2 articles in<br>
the QGIS section of my website<br>
<a href="http://www.itopen.it/category/gis/qgis/qgis-server/" target="_blank">http://www.itopen.it/category/gis/qgis/qgis-server/</a><br>
<br>
You need to write a custom filter to modifiy GETFEATUREINFO request,<br>
if you examine the example plugin's code you will probably get some<br>
inspiration.<br>
<br>
Python plugins for QGIS Server are available with QGIS >= 2.8<br>
<br>
One of my tasks for the next HF is to add a "Server" section to the<br>
plugins official repository, if you develop something re-usable, don't<br>
forget to upload the plugin when it's done.<br>
<br>
<br>
Happy coding :)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alessandro Pasotti<br>
w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a><br>
</font></span></blockquote></div><br></div>