[Qgis-developer] QGIS Server and OL3 GetFeatureInfo requests issue

G. Allegri giohappy at gmail.com
Thu Sep 17 03:07:32 PDT 2015


OL3 has changed the way GetFeatureInfo request parameters are generated.
The nre way uses fixed WIDTH/HEIGHT and X/Y (I/J) params: 101 for the first
and 50 latters. Then it builds the BBOX parameter consequently.

The old way they were built from the size and extent of the map, and the
query coordinate.

The new style makes QGIS Server respond with empty results if the click is
not exactly on the feature coordinates.
I've tested the same request on the same layer served by Geoserver, which
responds even with not so precise clicks.

Can this be caused by coordinates rounding happening inside QGIS Server?

giovanni

-- 
Giovanni Allegri
http://about.me/giovanniallegri
Gis3W - http://gis3w.it
Ikare - http://ikare.it
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150917/40b793af/attachment.html>


More information about the Qgis-developer mailing list