#3835 closed bug (wontfix)
Invalid sample dimension with some WMS servers
Reported by: | goyodiaz | Owned by: | jef |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | |
Component: | WMS | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
Connect to this WMS server: http://www.idee.es/wms/MTN-Raster/MTN-Raster? and add the only layer to the project. This warnong is displayed:
Request contains an invalid sample dimension value. The WMS vendor also reported:
Parámetros:
SERVICE=WMS VERSION=1.1.1 REQUEST=GetMap BBOX=-1079461.786079,2422323.981410,1462704.713169,5128066.543535 SRS=EPSG:23030 WIDTH=32 HEIGHT=32 LAYERS=mtn_rasterizado STYLES= FORMAT=image/png TRANSPARENT=TRUE
Descripción del error:
Dimensión inválida: Ancho 50-2000 Alto 50-1700
Servicios disponibles:
This is because the image with the thumbnail for the legend can't be served. Everything else works but the message is annoying and appears every time you open a proyect with this layer (several times if you have several layers with this problem in the project).
Reproducible in Ubuntu and Windows using trunk.
Attachments (1)
Change History (4)
comment:1 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Sorry if I'm just making noise but I still get a warning using 256x256 tiles. I'm attaching a sample project which causes the problem on opening even using 256x256 px tiles. The message is just a bit different:
Request contains an invalid sample dimension value. The WMS vendor also reported: Parámetros: SERVICE=WMS VERSION=1.1.1 REQUEST=GetMap BBOX=-1059124.454085,2442661.313404,19278207.539893,22779993.307382 SRS=EPSG:23030 WIDTH=256 HEIGHT=256 LAYERS=mtn_rasterizado STYLES= FORMAT=image/png TILED=true Descripción del error: La ventana solicitada es inválida Servicios disponibles:
This can be avoided by unchecking "Create raster icons in legend" in general options, which is convenient for me, so I'm leaving the ticket as closed.
In QGIS 1.7 you'll be able to select the size of the tile to use when adding WMS layers. I just tested trunl with your WMS server and it works fine (no error message) choosing -for example- a 256x256 tiles size.