[QGIS-trac] Re: [Quantum GIS] #1576: wms: no way to set width and height, but no error message when beyond max

Quantum GIS qgis at qgis.org
Sat Jul 18 16:59:48 EDT 2009


#1576: wms: no way to set width and height, but no error message when beyond max
-----------------------------------------------------+----------------------
        Reporter:  mlennert                          |         Owner:  mhugent      
            Type:  bug                               |        Status:  new          
        Priority:  major: does not work as expected  |     Milestone:  Version 1.2.0
       Component:  WMS+WFS                           |       Version:  HEAD         
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  Debian       
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Changes (by lutra):

  * owner:  nobody => mhugent
  * version:  1.0.0 => HEAD
  * milestone:  Version 1.0.3 => Version 1.2.0

Comment:

 Replying to [comment:3 mhugent]:
 > > 1) No way to set max values other then by resizing window.
 >
 > the min-max pixel values are a property of the server, not of the WMS
 client.
 > For QGIS as a WMS client, I don't see any other reasonable way of
 requesting the pixel resolution (WIDTH and HEIGHT parameters) of the QGIS
 map window.
 >
 > I still need to check the WMS specs. As far as I remember, the max width
 height of the server is not given in all WMS version capabilities. Also,
 if the server does return only an empty image and no exception, QGIS
 cannot know that it is an error.
 >
 > >http://www.ngi.be/testbed/
 >
 > Please provide directly a wms url


 I confirm this behaviour. If the map canvas is small enough the layer
 shows normally and is possible to zoom/pan with no problems.

 A URL you can use as test is

 http://www.ngi.be/testbed/wms/top50r_l72_fr

 on the service page is stated:

 "les images envoyées ont une limitation en taille de: 1000px X 1000px"

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