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

Inka.Tauber at lung.mv-regierung.de Inka.Tauber at lung.mv-regierung.de
Tue Oct 4 02:21:06 PDT 2022


Thanks a lot for your quick reply! I think HTML templating is a long-awaited functionality.

Regards

--

Inka Tauber

Landesamt für Umwelt, Naturschutz und Geologie M-V
www.lung.mv-regierung.de
www.umweltkarten.mv-regierung.de


-----Ursprüngliche Nachricht-----
Von: Alessandro Pasotti [mailto:apasotti at gmail.com]
Gesendet: Freitag, 16. September 2022 15:17
An: (LUNG GUE, 120-1) Tauber, I. <Inka.Tauber at lung.mv-regierung.de>
Cc: qgis-user <qgis-user at lists.osgeo.org>
Betreff: Re: [Qgis-user] QGIS-Server: missing tags in GetFeatureInfo-Response

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

Allgemeine Datenschutzinformation:
Der telefonische, schriftliche oder elektronische Kontakt mit dem Ministerium für Klimaschutz, Landwirtschaft, ländliche Räume und Umwelt Mecklenburg-Vorpommern ist mit der Speicherung und Verarbeitung der von Ihnen ggf. mitgeteilten persönlichen Daten verbunden. Rechtsgrundlage hierfür ist Art. 6 Absatz 1 Buchstabe e der Datenschutzgrundverordnung (DSGVO) der Europäischen Union in Verbindung mit § 4 Abs. 1 Landesdatenschutzgesetz (DSG M-V).
Weitere Informationen erhalten Sie hier: https://www.regierung-mv.de/Datenschutz


More information about the Qgis-user mailing list