Hi David,<br><br>I encounter an issue a few weeks ago that shares similarities with your. I opened a ticket on the subject and I invite you to add any information you judge relevant :<br><br><a href="http://trac.osgeo.org/mapserver/ticket/4079">http://trac.osgeo.org/mapserver/ticket/4079</a><br>
<br>You will need an OSGeo login but, don&#39;t worry, it is easy to create one.<br><br><br><br>Guillaume Loiselle<br><br><div class="gmail_quote">2011/11/24 David Hildebrand <span dir="ltr">&lt;<a href="mailto:David.Hildebrand@afsc.ca">David.Hildebrand@afsc.ca</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Jukka:<br>
<br>
I am running MapServer 5.2.1 and am being explicit about W** version.<br>
For WMS I am using version 1.1.1 and WCS version 1.0.0 but that is<br>
hidden in a CGI wrapper.  I did find out, however, that in my WCS<br>
request I need to specify the RESX and RESY units the same as the CRS<br>
projection units (in this case degrees) and I also need to specify the<br>
RESPONSE_CRS the same as the CRS.  These are odd behaviours.  One should<br>
be able to request the response in a different projection than the<br>
bounding box and specify the resolution in the units of the output<br>
projection.  The projections I am using are all specified in the<br>
&quot;ows_srs&quot; line of the mapserv.map file.<br>
<div class="im"><br>
<br>
<br>
===========================<br>
David V. Hildebrand<br>
Agriculture Financial Services Corporation<br>
<a href="tel:%28403%29%20782-8239" value="+14037828239">(403) 782-8239</a><br>
</div><div><div></div><div class="h5">-----Original Message-----<br>
From: Rahkonen Jukka [mailto:<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>]<br>
Sent: Thursday, November 24, 2011 2:06 PM<br>
To: David Hildebrand; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: Re: WCS GetCoverage<br>
<br>
Hi,<br>
<br>
Very first thing to do with all the W** services is to give always an<br>
explicit VERSION=<br>
Request can sometimes work even without but then the default is the<br>
highest supported.  Do not play with defaults, take the control for<br>
yourself.<br>
What Mapserver version you have? Perhaps some old 5.x which supports<br>
only WCS 1.0 because otherwise I suppose you would get some other error<br>
message with your request.<br>
<br>
-Jukka Rahkonen-<br>
<br>
________________________________<br>
David Hildebrand wrote:<br>
<br>
I am trying to implement a WCS server and am running into difficulty<br>
with GetCoverage and the following request.<br>
<br>
REQUEST=GetCoverage&amp;COVERAGE=awifs&amp;CRS=EPSG:4269&amp;BBOX=-116,51,-114,53&amp;RE<br>
SX=100&amp;RESY=100&amp;FORMAT=GTiff&amp;RESPONSE_CRS=EPSG:4269<br>
<br>
The following ServiceException is raised.<br>
<br>
msImageCreateGD(): Image handling error. Cannot create GD image of size<br>
0x0<br>
<br>
I can do a WCS GetCapabilities and DescribeCoverage without error.<br>
Also, when I issue the following WMS request it works fine.<br>
<br>
REQUEST=GetMap&amp;LAYERS=awifs&amp;SRS=EPSG:4269&amp;BBOX=-116,51,-114,53&amp;WIDTH=800<br>
&amp;HEIGHT=600&amp;FORMAT=image/png&amp;STYLES=<br>
<br>
The GetCoverage and GetMap requests have the same parameters and yet WCS<br>
thinks the image size is 0x0.  The MapServer configuration for the layer<br>
file is given below<br>
<br>
LAYER<br>
  NAME &quot;awifs&quot;<br>
  PROCESSING &quot;BANDS=2,1,3&quot;<br>
  PROCESSING &quot;SCALE_2=19,159&quot;<br>
  PROCESSING &quot;SCALE_1=10,130&quot;<br>
  PROCESSING &quot;SCALE_3=9,124&quot;<br>
  METADATA<br>
    &quot;wcs_label&quot; &quot;awifs&quot;<br>
    &quot;wcs_rangeset_name&quot; &quot;RGB&quot;<br>
    &quot;wcs_rangeset_label&quot; &quot;rgb&quot;<br>
    &quot;wms_title&quot; &quot;awifs&quot;<br>
    &quot;wms_opaque&quot; &quot;1&quot;<br>
    &quot;ows_resolution&quot; &quot;56 56&quot;<br>
    &quot;wms_srs&quot; &quot;EPSG:43001&quot;<br>
  END<br>
  STATUS off<br>
  TYPE raster<br>
  DATA &quot;e:/awifs/July.tif&quot;<br>
  PROJECTION<br>
    &quot;init=epsg:43001&quot;<br>
  END<br>
  TEMPLATE &quot;empty.html&quot;<br>
  DUMP TRUE<br>
END<br>
<br>
Thanks for the help.<br>
<br>
<br>
===========================<br>
David V. Hildebrand<br>
Agriculture Financial Services Corporation<br>
<a href="tel:%28403%29%20782-8239" value="+14037828239">(403) 782-8239</a><br>
________________________________<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br>