[mapserver-users] question on layer projection and WMS

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Mon Feb 11 00:22:01 PST 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:
> > Hi list,
> > 
> > I've always thought it was mandatory to have a LAYER PROJECTION block
> > for a layer in a WMS service.
> > 
> > Did something change with respect to this requirement, since it seems
> > you can leave out the LAYER PROJECTION (at least since 4.10) and it
will
> > still work (even reprojection), and you'll even get a performance
> > increase since there are less PROJ lookups. Does it default now to
the
> > MAP's projection? Or what's happening?
> > 
> > If so, should the WARNING in the capabilities not be changed/removed?
> > 
> > <!-- WARNING: Mandatory mapfile parameter '(at least one of)
> > MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in
> > this context. -->
> > 
> > Best regards,
> > Bart
> > 
> > 
> >
------------------------------------------------------------------------
> > 
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > 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