[Qgis-user] QGIS-Server: missing tags in GetFeatureInfo-Response

Alessandro Pasotti apasotti at gmail.com
Fri Sep 16 06:17:25 PDT 2022


On Fri, Sep 16, 2022 at 3:13 PM Inka Tauber via Qgis-user
<qgis-user at lists.osgeo.org> wrote:
>
> Hello,
>
> QGIS Server GFI HTML response starts and ends with the HEAD tag. Some parts, that are necessary to form a complete  HTML (DOCTYPE, HTML tag) are missing.  This may be useful, if the receiving application already creates the outer HTML frame. But sometimes complete HTML or XML responses are needed. Is there perhaps an configuration option to switch between full and only the inner parts of GFI HTML and XML documents? Or is writing a plugin (similar to the one described in https://www.itopen.it/qgis-server-getfeatureinfo-with-style/) the only option?
>

That's the only option at the moment.

A PR to make it template-based is under development:
https://github.com/qgis/QGIS/issues/49851#issuecomment-1229899652




--
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it


More information about the Qgis-user mailing list