[mapserver-users] question on layer projection and WMS

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Mon Feb 11 03:22:01 EST 2008


Hi Reinoud,

I do have a PROJECTION block at the MAP object, as well as WMS_SRS METADATA
in my LAYERs. So I am quite sure the warning is about the missing LAYER
PROJECTION block.

But as you said, this should not be needed anymore, and the warning should
be updated to reflect this.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


--------- Oorspronkelijk bericht --------
Van: Reinoud Bokhorst <bokhorst at argoss.nl>
Naar: Bart van den Eijnden <bartvde at gmail.com>
Cc: mapserver-users at lists.osgeo.org
Onderwerp: Re: [mapserver-users] question on layer projection and WMS
Datum: 11/02/08 06:03

> Hi Bart,
> By default, layers inherit the projection of its parent object. Usually
the projection of the MAP object. (don't know since when it is like this but
I have not known it differently...).
> 
> The warning indicates that you have not specified at least one of the
named projection parameters in your mapfile that  Mapserver needs to
generate the information in the capabilities. Have you?
> 
> Regards,
> Reinoud
> 
> 
> Bart van den Eijnden wrote:
> &gt; Hi list,
> &gt; 
> &gt; I've always thought it was mandatory to have a LAYER PROJECTION block
> &gt; for a layer in a WMS service.
> &gt; 
> &gt; Did something change with respect to this requirement, since it seems
> &gt; you can leave out the LAYER PROJECTION (at least since 4.10) and it
will
> &gt; still work (even reprojection), and you'll even get a performance
> &gt; increase since there are less PROJ lookups. Does it default now to
the
> &gt; MAP's projection? Or what's happening?
> &gt; 
> &gt; If so, should the WARNING in the capabilities not be changed/removed?
> &gt; 
> &gt; &lt;!-- WARNING: Mandatory mapfile parameter '(at least one of)
> &gt; MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in
> &gt; this context. --&gt;
> &gt; 
> &gt; Best regards,
> &gt; Bart
> &gt; 
> &gt; 
> &gt;
------------------------------------------------------------------------
> &gt; 
> &gt; _______________________________________________
> &gt; mapserver-users mailing list
> &gt; mapserver-users at lists.osgeo.org
> &gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 





More information about the mapserver-users mailing list