[mapserver-users] (no subject)
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Wed Feb 15 05:12:35 PST 2012
Hi,
The bounding boxes are bit odd, check the EXTENTS of your mapfile and possibly wms_extent if you have set it.
<SRS>EPSG:32632</SRS>
<LatLonBoundingBox minx="6.54004" miny="35.2168" maxx="19.6148" maxy="47.1372" />
<BoundingBox SRS=""
minx="313371" miny="3.93368e+06" maxx="1.31209e+06" maxy="5.22041e+06" />
<Layer queryable="1" opaque="0" cascaded="0">
<Name>sostegni</Name>
<Title>Sostegni</Title>
<SRS>EPSG:32632</SRS>
<LatLonBoundingBox minx="-177.507" miny="-8.2419e+12" maxx="173.211" maxy="8.2419e+12" />
<BoundingBox SRS="EPSG:32632"
minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07" maxy="2.5e+07" />
Service itself is OK
http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=469&HEIGHT=354&LAYERS=sostegni&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=-104932.26069053586,3923518.6330312905,1669843.960523528,5263115.183798409&SRS=EPSG:32632&STYLES=
I would guess that QGis is trying to do zoom to a best fit by investigating layer extents and resolution and because extents are so wide it makes unrealistically big sized request. QGis will show the image if you zoom to correct location by coordinates or by opening a supporting vector file on the bottom. OpenJUMP had no problems for me.
-Jukka Rahkonen-
________________________________
Raffaele Morelli wrote:
Hi,
I am working on a wms server and no matter how I try increasing MAXSIZE value I always get this error when trying to import my wms layer in Qgis
msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and HEIGHT must be between 1500000
here's the wms online resource http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
any suggestion?
regards
-raffaele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120215/69b028c3/attachment.htm>
More information about the MapServer-users
mailing list