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

2022-10-04 Thread Inka Tauber via Qgis-user
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:apaso...@gmail.com]
Gesendet: Freitag, 16. September 2022 15:17
An: (LUNG GUE, 120-1) Tauber, I. 
Cc: qgis-user 
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 
 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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2022-09-16 Thread Alessandro Pasotti via Qgis-user
On Fri, Sep 16, 2022 at 3:13 PM Inka Tauber via Qgis-user
 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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2022-09-16 Thread Inka Tauber via Qgis-user
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?

Regards and thanks,
Inka



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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user