[mapserver-users] configuring WCS

Frank Warmerdam warmerdam at pobox.com
Wed Nov 24 16:59:01 EST 2010


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 WEB>METADATA 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, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list