[mapserver-users] WMS server layer trouble

Raffaele Morelli raffaele.morelli at gmail.com
Tue Mar 6 01:20:49 PST 2012


2012/3/6 Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>

> **
> 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.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120306/81fcf5a3/attachment.htm>


More information about the MapServer-users mailing list