[Qgis-user] Format GETFEATUREINFO request from QGISwebserver

Alessandro Pasotti apasotti at gmail.com
Fri Mar 20 02:47:07 PDT 2015


2015-03-20 10:26 GMT+01:00 Carles Vico Blanco <carles.vico at geografos.org>:
>
>> > Hi, I'm new in Qgis-user List.
>> >
>> > I wonder if it is possible to customize the html response to the request
>> > "GetFeatureInfo" held by QGIS Web Server in the same way as is done in
>> > GeoServer, MapServer or ArcGIS server with a template, css ...
>> >
>> > For now, the result of my GETFEATUREINFO request takes certain html
>> > styles if displayed in the QGIS Web Client, but not shown in styles if
>> > displayed in another mapviewer. To do so it, I need to act on the html file
>> > styles but I have not found. I dont know if it is possible in QGIS Server?
>> >
>> > Thank you very much!!!
>> >


With the latest release you should be able to alter GETFEATUREINFO
response quite easily by writing a custom QGIS Server Python plugin.

I would try with a simple regexp to inject the URL that points to your
custom CSS.


-- 
Alessandro Pasotti
w3:   www.itopen.it



More information about the Qgis-user mailing list