Hi,

Look at the GetCapabilities and see if Mapserver is advertising the layer 
extents in reasonable way. 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.
For example the layer fiumi_02 shows now quite a large extents,

Fiumi II, III, IV ordine fiumi_02 epsg:32632 -1.47304E7 -9997960.0 500000.0 
9997960.0

OpenJUMP shows the layers better because it does not generate oversized WIDTH 
and HEIGHT.
Consider adding "wms_bbox_extended" "true". It will help clients like OpenJUMP 
to zoom to layer extents with any supported srsName.
It could be easist and most safe to set the correct layer extenst manually in 
metadata.


-Jukka Rahkonen-

________________________________
Raffaele Morelli  wrote:
Hi,

I can't get it working as desired and can't understand why.
Here is my wms online resource: 
http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities

If you try to load the layer "sostegni" in QGis you should get an image size 
error, selecting the "CEN-RF" layer works but loads all the layer in the 
mapfile.
The only layer I can import in QGis is the "Data Elevation Model".

I would like my wms server to act like
http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities

Any hints?
regards
-r

--
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.
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to