[mapserver-users] configuring WCS

2010-11-24 Thread David Hildebrand
I am trying to configure a WCS service but when I do a GetCapabilities I
get the following error.

msOWSGetLayerExtent(): WMS server error. Wrong number of arguments for
EXTENT metadata.

I have wcs_extent defined for all the layers but nowhere in the
MapServer documentation can I find that the WEBMETADATA tag requires
extent to be defined.  I have WMS and WFS services running and there
seems to be no problem with the configuration.

Any clues?


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] configuring WCS

2010-11-24 Thread Frank Warmerdam

David Hildebrand wrote:

I am trying to configure a WCS service but when I do a GetCapabilities I
get the following error.

msOWSGetLayerExtent(): WMS server error. Wrong number of arguments for
EXTENT metadata.

I have wcs_extent defined for all the layers but nowhere in the
MapServer documentation can I find that the WEBMETADATA tag requires
extent to be defined.  I have WMS and WFS services running and there
seems to be no problem with the configuration.


David,

The *_extent metadata item needs four space separated values in the
value string - minx miny maxx maxy.  I presume you don't have it setup
properly.

It may well be that the WMS and WFS services don't actually use the extent
so the WCS service is the first thing to error out.  It is unfortunate about
it being reported as a WMS error, but at that level of the code it is hard
to know the context of the request.

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users