<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Message: 6<br>
Date: Wed, 15 Feb 2012 13:12:35 +0000<br>
From: Rahkonen Jukka &lt;<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>&gt;<br>
Subject: Re: [mapserver-users] (no subject)<br>
To: &quot;&#39;<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&#39;&quot;<br>
        &lt;<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:84446DEF76453C439E9E97E438E13A630755DE@pasuri.haapa.mmm.fi">84446DEF76453C439E9E97E438E13A630755DE@pasuri.haapa.mmm.fi</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hi,<br>
<br>
The bounding boxes are bit odd, check the EXTENTS of your mapfile and possibly wms_extent if you have set it.<br>
  &lt;SRS&gt;EPSG:32632&lt;/SRS&gt;<br>
    &lt;LatLonBoundingBox minx=&quot;6.54004&quot; miny=&quot;35.2168&quot; maxx=&quot;19.6148&quot; maxy=&quot;47.1372&quot; /&gt;<br>
    &lt;BoundingBox SRS=&quot;&quot;<br>
                minx=&quot;313371&quot; miny=&quot;3.93368e+06&quot; maxx=&quot;1.31209e+06&quot; maxy=&quot;5.22041e+06&quot; /&gt;<br>
    &lt;Layer queryable=&quot;1&quot; opaque=&quot;0&quot; cascaded=&quot;0&quot;&gt;<br>
        &lt;Name&gt;sostegni&lt;/Name&gt;<br>
        &lt;Title&gt;Sostegni&lt;/Title&gt;<br>
        &lt;SRS&gt;EPSG:32632&lt;/SRS&gt;<br>
        &lt;LatLonBoundingBox minx=&quot;-177.507&quot; miny=&quot;-8.2419e+12&quot; maxx=&quot;173.211&quot; maxy=&quot;8.2419e+12&quot; /&gt;<br>
        &lt;BoundingBox SRS=&quot;EPSG:32632&quot;<br>
                    minx=&quot;-2.5e+07&quot; miny=&quot;-2.5e+07&quot; maxx=&quot;2.5e+07&quot; maxy=&quot;2.5e+07&quot; /&gt;<br>
<br>
 Service itself is OK<br>
<br>
<br>
<a href="http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;WIDTH=469&amp;HEIGHT=354&amp;LAYERS=sostegni&amp;TRANSPARENT=TRUE&amp;FORMAT=image/png&amp;BBOX=-104932.26069053586,3923518.6330312905,1669843.960523528,5263115.183798409&amp;SRS=EPSG:32632&amp;STYLES=" target="_blank">http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;WIDTH=469&amp;HEIGHT=354&amp;LAYERS=sostegni&amp;TRANSPARENT=TRUE&amp;FORMAT=image/png&amp;BBOX=-104932.26069053586,3923518.6330312905,1669843.960523528,5263115.183798409&amp;SRS=EPSG:32632&amp;STYLES=</a><br>

<br>
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.<br>

<br>
-Jukka Rahkonen-</blockquote><div><br>Stange cause I actually got EXTENT from ogrinfo querying a postgis layer as reported in this example <a href="http://mapserver.org/input/vector/postgis.html#ogrinfo-examples">http://mapserver.org/input/vector/postgis.html#ogrinfo-examples</a><br>
<br>and here&#39;s the relevant output:<br><br>Extent: (313371.309628, 3933679.249407) - (1312087.106406, 5220406.386046)<br><br>...same error<br><br>-r<br><br><br><br><br><br><br></div><div><br> </div></div>