[mapserver-users] WCS GetCoverage

David Hildebrand David.Hildebrand at afsc.ca
Thu Nov 24 15:48:42 EST 2011


I am trying to implement a WCS server and am running into difficulty
with GetCoverage and the following request.

 

REQUEST=GetCoverage&COVERAGE=awifs&CRS=EPSG:4269&BBOX=-116,51,-114,53&RE
SX=100&RESY=100&FORMAT=GTiff&RESPONSE_CRS=EPSG:4269

 

The following ServiceException is raised.

 

msImageCreateGD(): Image handling error. Cannot create GD image of size
0x0

 

I can do a WCS GetCapabilities and DescribeCoverage without error.
Also, when I issue the following WMS request it works fine.

 

REQUEST=GetMap&LAYERS=awifs&SRS=EPSG:4269&BBOX=-116,51,-114,53&WIDTH=800
&HEIGHT=600&FORMAT=image/png&STYLES=

 

The GetCoverage and GetMap requests have the same parameters and yet WCS
thinks the image size is 0x0.  The MapServer configuration for the layer
file is given below

 

LAYER

  NAME "awifs"

  PROCESSING "BANDS=2,1,3"

  PROCESSING "SCALE_2=19,159"

  PROCESSING "SCALE_1=10,130"

  PROCESSING "SCALE_3=9,124"

  METADATA

    "wcs_label" "awifs"

    "wcs_rangeset_name" "RGB"

    "wcs_rangeset_label" "rgb"

    "wms_title" "awifs"

    "wms_opaque" "1"

    "ows_resolution" "56 56"

    "wms_srs" "EPSG:43001"

  END

  STATUS off 

  TYPE raster

  DATA "e:/awifs/July.tif"

  PROJECTION

    "init=epsg:43001"

  END

  TEMPLATE "empty.html"

  DUMP TRUE

END

 

Thanks for the help.

 

 

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

________________________________

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111124/e9c66060/attachment.html


More information about the mapserver-users mailing list