Bug report #2279

Wrong request to WMS server when reprojecting used

Added by jekhor - almost 11 years ago. Updated over 9 years ago.

Status:Closed
Priority:Low
Assignee:Jürgen Fischer
Category:Web Services clients/WMS
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12339

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

wgs-test.qgs - Sample QGIS project (4.72 KB) jekhor -, 2009-12-14 03:05 AM

test.map - Test Mapserver file for WMS server. GeoTIFF can be found at http://rovar.info/~jek/maps/1_100000/GeoTIFF/c00002-A-014-035-040.tiff (659 Bytes) jekhor -, 2009-12-14 03:07 AM

History

#1 Updated by Jürgen Fischer over 9 years ago

the tiff meanwhile became unavailable. Please make it available again.

#2 Updated by jekhor - over 9 years ago

Replying to [comment:3 jef]:

the tiff meanwhile became unavailable. Please make it available again.

Fixed.

#3 Updated by Jürgen Fischer over 9 years ago

Replying to [comment:4 jekhor]:

Replying to [comment:3 jef]:

the tiff meanwhile became unavailable. Please make it available again.

Fixed.

Thanks. Can you still reproduce the bug? It seems to work fine here.

#4 Updated by jekhor - over 9 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Yes, seems to work.

Also available in: Atom PDF