2012/3/6 Rahkonen Jukka <[email protected]> > ** > 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- >
Thanks for fast replying, in the meanwhile I've added wms_extent to every layer metadata (except for "europe") and the error disappeared. BTW I am going to try wms_bbox_extended too. 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 [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
