Bug report #7238
Identify does not work anymore in qgis server master
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | Radim Blazek | ||
Category: | Web Services clients/WMS | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16266 |
Description
With qgis (server) master, the identify tool does not return any result on a published layer. In the qgis log I see
Get feature info request error (Title:; Error:; URL: http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/home/gio/Desktop/bing/teste19.qgs&&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=-20037508.3427892439067364,-20037471.2051370665431023,20037508.3427892476320267,20037471.2051370255649090&CRS=EPSG:3857&WIDTH=1000&HEIGHT=999&LAYERS=frmt_wms_virtualearth&STYLES=&FORMAT=image/png&QUERY_LAYERS=frmt_wms_virtualearth&INFO_FORMAT=text/xml&I=489&J=415&FEATURE_COUNT=10)
With the same project but under 1.8 all works fine.
Associated revisions
WMS GetFeatureInfo supported formats fix, fixes #7238
History
#1 Updated by Matthias Kuhn over 11 years ago
Issue #7258 is probably related
#2 Updated by Marco Hugentobler over 11 years ago
- Assignee set to Marco Hugentobler
#3 Updated by Marco Hugentobler over 11 years ago
- Assignee changed from Marco Hugentobler to Radim Blazek
- Category changed from QGIS Server to Web Services clients/WMS
This is a client problem. GetFeatureInfo from browser works normally.
The problem is that QGIS now prefers the output format text/xml. However, if the xml is not gml, the WMS client does not do anything with it (quite understandable, the output form of GetFeatureInfo is left to the server according to the WMS spec).
#4 Updated by Radim Blazek over 11 years ago
- Status changed from Open to Closed
Fixed in changeset 173aee6e3204a8845c4929836fa894fd506ae986.
#5 Updated by Radim Blazek over 11 years ago
It should be fixed.
Now you should get with QGIS mapserver optional (combo in identify results) text and html format.