[QGIS-Developer] QGIS Server: proposal for small change in GetFeatureInfo response
Alessandro Pasotti
apasotti at gmail.com
Thu Oct 5 06:27:03 PDT 2017
I think we should stick to the standards as much as possible, vendor params
should be optional and disabled by default.
On Thu, Oct 5, 2017 at 3:18 PM, Régis Haubourg <regis.haubourg at gmail.com>
wrote:
> 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
>>
>
>
> _______________________________________________
> 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/20171005/bafb94bd/attachment.html>
More information about the QGIS-Developer
mailing list