[QGIS-trac] Re: [Quantum GIS] #1453: WMS Layer URL is damaged when loaded via Python

Quantum GIS qgis at qgis.org
Fri Dec 12 10:24:29 EST 2008


#1453: WMS Layer URL is damaged when loaded via Python
--------------------------------------------------------------+-------------
        Reporter:  hdus                                       |         Owner:  mhugent      
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.0.0
       Component:  WMS                                        |       Version:  HEAD         
      Resolution:                                             |      Keywords:  WMS Python   
Platform_version:                                             |      Platform:  Linux        
        Must_fix:  Yes                                        |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by hdus):

 Replying to [comment:1 jef]:
 > The first url is used for the GetCapabilities request.  The
 GetCapabilities response contains an url that is used to the GetMap
 requests that actually load the images to display.
 I checked the Capabilities output and I see a well defined onlineressource
 with port 8080:

 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
 xlink:type="simple"
 xlink:href="http://srsofaioi12288:8080/geoserver/wms?SERVICE=WMS&amp;"/>

 In addition the OnlineRessource shows SERVICE=WMS after ? thats the reason
 for the twice SERVICE=WMS, but one 80 is missing. I've to correct my
 former post. With the WMS connector QGIS shows the same faulty behaviour.

 >
 > I suspect that the OnlineResource returned by GetCapabilities points to
 the second url you see.  That would be a problem of the WMS server.
 >
 > That would be consistent with the fact that if the layer is initially
 off, checking the visibility box triggers the first GetMap request.

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