[QGIS-Developer] QGIS Desktop as WMS client - purpose of format "Feature"

Alessandro Pasotti apasotti at gmail.com
Thu Jun 27 07:04:13 PDT 2019


On Thu, Jun 27, 2019 at 2:41 PM Andreas Neumann <a.neumann at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190627/00179f76/attachment-0001.html>


More information about the QGIS-Developer mailing list