Opened 14 years ago

Closed 13 years ago

#2279 closed bug (fixed)

Wrong request to WMS server when reprojecting used

Reported by: jekhor Owned by: jef
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: WMS Version: Trunk
Keywords: Cc: dr, gislab
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: yes

Description (last modified by pcav)

Steps to reproduce:

  1. Create new project, set WGS84 CRS and enable 'on-the-fly' CRS transformation.
  1. Create connection to WMS server, select layer, choose any non-WGS84 CRS and click "Add".
  1. 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

Attachments (2)

wgs-test.qgs (4.7 KB ) - added by jekhor 14 years ago.
Sample QGIS project
test.map (659 bytes ) - added by jekhor 14 years ago.
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

Download all attachments as: .zip

Change History (8)

by jekhor, 14 years ago

Attachment: wgs-test.qgs added

Sample QGIS project

by jekhor, 14 years ago

Attachment: test.map added

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

comment:1 by pcav, 14 years ago

Description: modified (diff)
Milestone: Version 1.5.0Version 1.6.0

comment:2 by mhugent, 13 years ago

Owner: changed from mhugent to jef

comment:3 by jef, 13 years ago

Awaiting user input: set

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

in reply to:  3 ; comment:4 by jekhor, 13 years ago

Replying to jef:

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

Fixed.

in reply to:  4 comment:5 by jef, 13 years ago

Replying to jekhor:

Replying to 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.

comment:6 by jekhor, 13 years ago

Resolution: fixed
Status: newclosed

Yes, seems to work.

Note: See TracTickets for help on using tickets.