[QGIS-trac] [Quantum GIS] #1903: Wrong query to WMS
(WMS.GetFeatureInfo)
Quantum GIS
qgis at qgis.org
Fri Aug 28 07:45:35 EDT 2009
#1903: Wrong query to WMS (WMS.GetFeatureInfo)
------------------------------------------------+---------------------------
Reporter: alexbruy | Owner: mhugent
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.3.0
Component: WMS+WFS | Version: HEAD
Keywords: | Platform_version:
Platform: All | Must_fix: No
Status_info: 0 |
------------------------------------------------+---------------------------
Seems that QGIS send wrong query to WMS when used Identify tool. Error
message
{{{
Результат WMS-определения для 258, 213
---------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1
/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" >
<ServiceException>
java.lang.NullPointerException
null
</ServiceException></ServiceExceptionReport>
}}}
When we look at query:
{{{
http://gis.gis-lab.info:8080/geoserver/wms
?SERVICE=WMS&SERVICE=WMS
&VERSION=1.1.1&REQUEST=GetFeatureInfo
&BBOX=77.305313,49.465485,89.865570,55.358971
&SRS=EPSG:4326&WIDTH=500&HEIGHT=235
&LAYERS=geosample%3Aoopt&STYLES=
&FORMAT=image/gif&TRANSPARENT=TRUE
&QUERY_LAYERS=geosample174Aoopt
&INFO_FORMAT=text/plain&X=458&Y=174
}}}
In line QUERY_LAYERS instead of '''174A''' must be semicolon (''':''').
Also there is duplicated '''SERVICE=WMS'''
Discussion is Russian on GIS-Lab: http://gis-
lab.info/forum/viewtopic.php?f=14&t=3838 (several last posts)
Tested on QGIS 1.2 (svn 11481M) and QGIS 1.3 (svn 11496, 11518M)
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1903>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list