[QGIS-trac] Re: [Quantum GIS] #2279: Wrong request to WMS server when reprojecting used

Quantum GIS qgis at qgis.org
Sat Jun 12 05:40:30 EDT 2010


#2279: Wrong request to WMS server when reprojecting used
------------------------------------------------+---------------------------
   Reporter:  jekhor                            |              Owner:  mhugent      
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.6.0
  Component:  WMS+WFS                           |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  Debian                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
Changes (by pcav):

  * milestone:  Version 1.5.0 => Version 1.6.0


Old description:

> Steps to reproduce:
> 1. Create new project, set WGS84 CRS and enable 'on-the-fly' CRS
> transformation.
> 2. Create connection to WMS server, select layer, choose any non-WGS84
> CRS and click "Add".
> 3. Error message will be displayed:
>
> {{{
> Could not draw test because:
> (No error code was reported)
> The WMS vendor also reported:
> msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH
> and HEIGHT must be between 1 and 2048 pixels.
>
> Tried URL: http://localhost/cgi-bin/mapserv?map=/home/jek/work/gis
> /mapserver-
> test/test.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=5403181.469195,6053283.601044,5436128.826219,6098381.399747&SRS=EPSG:3335&WIDTH=65999697&HEIGHT=90339296&LAYERS=test&STYLES=&FORMAT=image/gif&DPI=128&TRANSPARENT=TRUE
> }}}

New description:

 Steps to reproduce:

 1. Create new project, set WGS84 CRS and enable 'on-the-fly' CRS
 transformation.

 2. Create connection to WMS server, select layer, choose any non-WGS84 CRS
 and click "Add".

 3. Error message will be displayed:

 {{{
 Could not draw test because:
 (No error code was reported)
 The WMS vendor also reported:
 msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH
 and HEIGHT must be between 1 and 2048 pixels.

 Tried URL: http://localhost/cgi-bin/mapserv?map=/home/jek/work/gis
 /mapserver-
 test/test.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=5403181.469195,6053283.601044,5436128.826219,6098381.399747&SRS=EPSG:3335&WIDTH=65999697&HEIGHT=90339296&LAYERS=test&STYLES=&FORMAT=image/gif&DPI=128&TRANSPARENT=TRUE
 }}}

--

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