[QGIS-Developer] QGIS Desktop as WMS client - purpose of format "Feature"
Alessandro Pasotti
apasotti at gmail.com
Thu Jun 27 09:50:35 PDT 2019
On Thu, Jun 27, 2019 at 4:04 PM Alessandro Pasotti <apasotti at gmail.com>
wrote:
>
>
> 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.
>
>
it ended up that it wasn't:
https://github.com/qgis/QGIS/pull/30451
--
Alessandro Pasotti
w3: www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190627/68eb1eae/attachment.html>
More information about the QGIS-Developer
mailing list