Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMS GetFeatureInfo requests not working #25395

Closed
qgib opened this issue Nov 20, 2017 · 8 comments
Closed

WMS GetFeatureInfo requests not working #25395

qgib opened this issue Nov 20, 2017 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers High Priority Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Nov 20, 2017

Author Name: James Passmore (@nmtoken)
Original Redmine Issue: 17498
Affected QGIS version: master
Redmine category:web_services_clients/wms
Assignee: Alessandro Pasotti


Trying to do a WMS GetFeatureInfo request results in an error such as:

msWMSFeatureInfo(): WMS server error. Invalid I/J values

(on a local instance of MapServer)

or

Parameter X(or Y,I,J) out of scope

(on a remote ArcGIS service)

With a request like:

hydrogeology/MapServer/WmsServer?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=-1.86174381807687928,52.1834395954103627,-0.14115908462290472,53.72364044551835605&CRS=CRS:84&WIDTH=868&HEIGHT=777&LAYERS=Hydrogeology&STYLES=&FORMAT=image/png&QUERY_LAYERS=Hydrogeology&INFO_FORMAT=text/html&I=939&J=27102)

@qgib
Copy link
Contributor Author

qgib commented Nov 20, 2017

Author Name: James Passmore (@nmtoken)


Looking at the local logs, requests to the MapServer instance that result in the error are like:

/cgi-bin/exemplars/BGS_Bedrock_and_Superficial_Geology/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=53.33980444241124275,-2.24691918108755129,54.12614968139177307,-1.45132282164842641&CRS=EPSG:4326&WIDTH=516&HEIGHT=510&LAYERS=GBR_BGS_625k_SLS&STYLES=&FORMAT=image/png&QUERY_LAYERS=GBR_BGS_625k_SLS&INFO_FORMAT=text/html&I=1457&J=35104

@qgib
Copy link
Contributor Author

qgib commented Nov 21, 2017

Author Name: Giovanni Manghi (@gioman)


Can you provide the full URL of the endpoint? what is the endpoint? mapserver? geoserver? else?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 21, 2017

Author Name: Giovanni Manghi (@gioman)


Does the same endpoint work as expected on 2.18.14?

@qgib
Copy link
Contributor Author

qgib commented Nov 21, 2017

Author Name: James Passmore (@nmtoken)


The following MapServer WMS has the issue on: QGIS version 2.99.0-Master QGIS code revision af5b2a7

http://ogc.bgs.ac.uk/cgi-bin/TFL-PSI/ows?

The same service works on: QGIS version 2.18.3 QGIS code revision 77b8c3d

Here's an example GFI that works on the service:

http://ogc.bgs.ac.uk/cgi-bin/TFL-PSI/ows?language=eng&REQUEST=GetFeatureInfo&SERVICE=WMS&VERSION=1.3.0&LAYERS=GBR_Stoke-on-Trent_ESA_EN_5k_psi_TS&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=53.0052235378464,-2.28573545848794,53.1251768672774,-2.13175281574312&WIDTH=1086&HEIGHT=846&QUERY_LAYERS=GBR_Stoke-on-Trent_ESA_EN_5k_psi_TS&i=337&j=255&info_format=text/html&

The following ArcGIS service is the service in the report:

https://map.bgs.ac.uk/arcgis/services/GeoIndex_Onshore/hydrogeology/MapServer/WmsServer?

GFI works on: QGIS version 2.18.3 QGIS code revision 77b8c3d

The following GeoServer service doesn't work on: QGIS version 2.99.0-Master QGIS code revision af5b2a7

http://ogc.bgs.ac.uk:80/digmap625k_gsml_insp_gs/ows?

It works as expected on: QGIS version 2.18.3 QGIS code revision 77b8c3d

@qgib
Copy link
Contributor Author

qgib commented Nov 21, 2017

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from Normal to High
  • regression was changed from 0 to 1
  • operating_system was changed from Windows Server 2016 to
  • status_id was changed from Feedback to Open

@qgib
Copy link
Contributor Author

qgib commented Nov 22, 2017

Author Name: Alessandro Pasotti (@elpaso)


  • assigned_to_id was configured as Alessandro Pasotti

@qgib
Copy link
Contributor Author

qgib commented Nov 22, 2017

Author Name: Anónimo (Anónimo)


Applied in changeset 94a1e68.


  • status_id was changed from Open to Closed
  • done_ratio was changed from 0 to 100

@qgib qgib closed this as completed Nov 22, 2017
@qgib
Copy link
Contributor Author

qgib commented Nov 23, 2017

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Data Provider Related to specific vector, raster or mesh data providers Regression Something which used to work, but doesn't anymore labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers High Priority Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant