<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19154">
</head>
<body>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">Hi,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">Look at the GetCapabilities and see if Mapserver is advertising the layer extents in reasonable way.&nbsp;</span></font><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">I
 have a feeling that QGis is trying to zoom automatically to the layer extents by taking the layer extents and some default resolution and calculating WIDTH and HEIGHT by those too. If they are wrong in the GetCapabilities there can be troubles.&nbsp;
</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">For example the layer fiumi_02 shows now quite a large extents,</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">Fiumi II, III, IV ordine&nbsp;fiumi_02&nbsp;epsg:32632&nbsp;-1.47304E7&nbsp;-9997960.0&nbsp;500000.0&nbsp;9997960.0</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">OpenJUMP shows the layers better because it does not generate oversized WIDTH and HEIGHT.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">Consider adding &quot;wms_bbox_extended&quot; &quot;true&quot;. It will help clients like OpenJUMP to zoom to layer extents with any supported srsName.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">It could be easist and most safe to set the correct layer extenst manually in&nbsp;metadata.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012"></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012"></span></font><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012"></span></font><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012"></span></font>&nbsp;</div>
<div><font color="#0000ff" size="2" face="Arial"><span class="919485308-06032012">-Jukka Rahkonen-</span></font></div>
<div dir="ltr" align="left"><br>
</div>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<div dir="ltr" lang="fi" class="OutlookMessageHeader" align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma">Raffaele Morelli<span class="919485308-06032012"><font color="#0000ff" face="Arial">&nbsp; wrote:</font></span></font><br>
</div>
<div></div>
Hi,<br>
<br>
I can't get it working as desired and can't understand why.<br>
Here is my wms online resource: <a href="http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities">
http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities</a><br>
<br>
If you try to load the layer &quot;sostegni&quot; in QGis you should get an image size error, selecting the &quot;CEN-RF&quot; layer works but loads all the layer in the mapfile.<br>
The only layer I can import in QGis is the &quot;Data Elevation Model&quot;.<br>
<br>
I would like my wms server to act like <br>
<a href="http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities">http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities</a><br>
<br>
Any hints?<br>
regards<br>
-r<br clear="all">
<br>
-- <br>
<i><span></span><span>L'unica speranza di catarsi, ammesso che ne esista una, resta affidata all'istinto di ribellione, alla rivolta non isterilita in progetti, alla protesta violenta e viscerale.</span></i><br>
</blockquote>
</body>
</html>