Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMS requested image size out of range error #10573

Closed
qgib opened this issue Jan 7, 2007 · 6 comments
Closed

WMS requested image size out of range error #10573

qgib opened this issue Jan 7, 2007 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Jan 7, 2007

Author Name: klaskarlsson-hotmail-com - (klaskarlsson-hotmail-com -)
Original Redmine Issue: 514

Redmine category:web_services_clients/wms
Assignee: nobody -


I was just playing around a bit, and experienced the following when zooming in on Egypt using NASA WMS connection:

"Kunde inte rita NASA (JPL) för att:
(Unknown error code from a post-1.3 WMS server)
The WMS vendor also reported:
Requested image is too tall, max allowed height is 4096

This is probably due to a bug in the QGIS program. Please report this error.
Tried URL: http://wms.jpl.nasa.gov/wms.cgi?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&BBOX=31.215863,29.893489,31.574159,30.108694&SRS=EPSG:4326&WIDTH=2634&HEIGHT=5269&LAYERS=global_mosaic&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE"

Best regards...

@qgib
Copy link
Contributor Author

qgib commented Jan 10, 2007

Author Name: egroups_mip-gmx-fr - (egroups_mip-gmx-fr -)


I also stumbled over this problem which makes Quantum GIS pretty unusable for WMS.

(Unknown error code from a post-1.3 WMS server)
The WMS vendor also reported: 
msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and HEIGHT must be between 1 and 2048 pixels.

There seems to be no way to determine the max image dimensions and no standard error codes for this.

I suggest to try to parse the max dimension from error message after first failure, the retry with this value. If this fails, too, retry x times with smaller values.
Dimensions should be configurable when adding a WMS.

When it's only possible to get smaller tiles than initially requested, Quantum GIS should do tiling.

@qgib
Copy link
Contributor Author

qgib commented Jan 30, 2007

Author Name: anonymous - (anonymous -)


WMS support is working well inside version 0.80beta2. Broken only in final release.

@qgib
Copy link
Contributor Author

qgib commented Feb 15, 2007

Author Name: alexandre-leroux-ec-gc-ca - (alexandre-leroux-ec-gc-ca -)


Hi, using 0.8.0 Final on Windows, get a similar error with another server:

(Unknown error code from a post-1.3 WMS server)
The WMS vendor also reported:
[[CubeSERV]]-35018: Image is wider than maximum allowed width of 800 (raised in
function validateMapRequestParameters() of file "map_request.c"
line 482)

This is probably due to a bug in the QGIS program. Please report this error.
Tried URL: http://wms.geobase.ca/wms-bin/cubeserv.cgi?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&BBOX=-179.902642,13.555667,180.000000,87.770302&SRS=EPSG:4326&WIDTH=1036&HEIGHT=215&LAYERS=DNEC_50K%3AELEVATION%2FELEVATION%2CCLI_LANDUSE%3ACEOWARE2%3ACCT%2FCCRS_OTTAWA&STYLES=Dnec_CITS%2CCMAP_CLI_LANDUSE&FORMAT=image/png&TRANSPARENT=TRUE

@qgib
Copy link
Contributor Author

qgib commented Feb 24, 2007

Author Name: sloan-comcast-net - (sloan-comcast-net -)


Got a similar error on 0.8.0 on windows.

Could not draw USGS because:
(Unknown error code from a post-1.3 WMS server)
The WMS vendor also reported:
Exception in [[GetMap]] reply.
[ERR0924] Requested image is too big and cannot be created.

This is probably due to a bug in the QGIS program. Please report this error.
Tried URL: http://igskmncngs041.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_Urban?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&BBOX=-72.506354,41.938684,-72.222231,42.158652&SRS=EPSG:4326&WIDTH=2577&HEIGHT=5155&LAYERS=Jan_2004_0.6m_Color_SpringfieldMA&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE

@qgib
Copy link
Contributor Author

qgib commented Mar 4, 2007

Author Name: Magnus Homann (@homann)


This should be fixed since . See #10691 for more info.


  • status_id was changed from Open to Closed
  • resolution was changed from to fixed

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2009

Author Name: Anónimo (Anónimo)


Milestone Version 0.8.1 deleted

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant