On Thu, Jun 27, 2019 at 2:41 PM Andreas Neumann <a.neum...@carto.net> wrote:
> Hi, > > Since 2-3 versions (I think) there is, next to html and text, now a third > "format" in GetFeatureInfo with the name "Feature". > > I wonder why this new format was introduced? What is the idea and what are > the advantages? > HI Andreas, 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. 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. > I'll have a look, it seems like a server issue. > Thanks for clarifying the purpose of the third format "Feature". > > Andreas > > > _______________________________________________ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer