<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 27, 2019 at 2:41 PM Andreas Neumann <<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi,</p>
<p>Since 2-3 versions (I think) there is, next to html and text, now a third "format" in GetFeatureInfo with the name "Feature".</p>
<p>I wonder why this new format was introduced? What is the idea and what are the advantages?</p></div></blockquote><div><br></div><div>HI Andreas, <br></div><div><br></div><div>I've no idea about the reason why it was added, I just know for sure that it generates a JSON request to the server by sending INFO_FORMAT=application/json.</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>I noticed that not all of the data types work well in this new format. For some (e.g. Postgis data types) data is shown in mode text and html, but nothing in "Feature". One such data type are "json" and "jsonb". The display either an empty string when a text widet is assigned or NULL when a List or Key/Value widget is assigned.</p></div></blockquote><div><br></div><div><br></div><div>I'll have a look, it seems like a server issue.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Thanks for clarifying the purpose of the third format "Feature".</p>
<p>Andreas</p>
<p><br></p>

</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="m_-8556422226653477884gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div>