[QGIS-trac] Re: [Quantum GIS] #1903: Wrong query to WMS (WMS.GetFeatureInfo)

Quantum GIS qgis at qgis.org
Fri Aug 28 10:58:35 EDT 2009


#1903: Wrong query to WMS (WMS.GetFeatureInfo)
-----------------------------------------------------+----------------------
        Reporter:  alexbruy                          |         Owner:  mhugent      
            Type:  bug                               |        Status:  closed       
        Priority:  major: does not work as expected  |     Milestone:  Version 1.3.0
       Component:  WMS+WFS                           |       Version:  HEAD         
      Resolution:  fixed                             |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Changes (by jef):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Replying to [ticket:1903 alexbruy]:
 > In line QUERY_LAYERS instead of '''174A''' must be semicolon (''':''').
 Also there is duplicated '''SERVICE=WMS'''

 Fixed in r11522

 - the double {{{SERVICE=WMS}}} is harmless.  The WMS server probably
 shouldn't already include  {{{SERVICE=WMS}}} in it's {{{OnlineResource}}}
 in the {{{GetCapabilities}}} response.

 - the other problem was that the percent encoding turned that colon in
 your layer into {{{%3A}}} and the {{{%3}}} was in turn wrongly replaced
 with the x coordinate.

 - the WMS provider now also treats the WMS response a UTF-8.  That should
 be harmless when it's plain ascii and helps in your case.  I now get:

 {{{
 WMS identify result for 375, 289:
 ---------------
 Results for FeatureType 'veg':
 --------------------------------------------
 the_geom = [GEOMETRY (MultiPolygon) with 6832 points]
 TYPE = ЛУГОВЫЕ СТЕПИ И ОСТЕПНЕННЫЕ ЛУГА
 SUBTYPE = Разнотравно-злаковые и злаиово-разнотравные мезофитное и
 ксеромезофитное разнотр
 --------------------------------------------
 }}}

 Whatever that means ;)

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1903#comment:1>
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