[QGIS-Developer] QGIS Server: proposal for small change in GetFeatureInfo response

Régis Haubourg regis.haubourg at gmail.com
Thu Oct 5 06:18:35 PDT 2017


Hi Andreas,
good point.

Having two vendor-specific options is ok to me.
What I am wondering is:

- do we prefer to have them displayed by default, and we won't break
existing web client
- have them hidden by default and we stop surcharging QGIS client identify
window.

Any opinion?

Régis

2017-10-05 15:04 GMT+02:00 Andreas Neumann <a.neumann at carto.net>:

> Hi QGIS Server devs and users,
>
> I have a small proposal for a change in the QGIS Server GetFeatureInfo
> reponse.
>
> Next to the attributes that are returned for a feature, there are two
> additional results:
>
>    - geometry (optional, used for high-lighting in Web-GIS clients)
>    - maptip (usually the display value for the maptip in QGIS desktop or
>    a combination of several attributes), used by Web-GIS clients if they want
>    to display the most relevant information on mouse-over
>
> The problem with these two additional result attributes, is that while
> they are useful in a Web-GIS client context, both attributes are visible in
> the GetFeatureInfo response of a Desktop GIS as well, such as QGIS desktop.
> On these desktop GIS clients, the display of those two attributes are
> unnecessary or even annoying.
>
> Now, my proposal is to hide these two attributes by default, unless a
> client explicitly requests them. We could introduce a new vendor-specific
> parameter, like WITH_GEOMETRY and WITH_MAPTIP or something similar.
>
> What do you think? It would require small changes in QWC II, Lizmap or
> other specific web clients who specifically use QGIS server extensions.
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171005/d3201b26/attachment.html>


More information about the QGIS-Developer mailing list