Hi,<br><br>For some reason, the text part of the email didn&#39;t make it. It can be read below.<br>Attachments can still be found in the first message :<br><a href="http://lists.osgeo.org/pipermail/mapserver-users/2011-November/070670.html" target="_blank">http://lists.osgeo.org/pipermail/mapserver-users/2011-November/070670.html</a><br>

<br>Thanks.<br>Guillaume Loiselle<br><br><br><div class="gmail_quote">2011/11/4 Guillaume Loiselle <span dir="ltr">&lt;<a href="mailto:loiselle.guillaume@gmail.com" target="_blank">loiselle.guillaume@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I installed MapServer 6.0.1 on Windows XP from MS4W. I cannot give you access to my MapServer instance but I can show you what &quot;-v&quot; gives me :<br><br>MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PR<br>


OJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI<br> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT<br> SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPO<br>


RTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br><br>I am able to generate a GeoTiff file through the use of a WMS service (see attachment : wmsoutput.tif). The request is :<br><br><a href="http://localhost/cgi-bin/mapserv.exe?SERVICE=WMS&amp;map=D:/Guillaume/ProjetCourantsGlaces/WCSproblem/2011102811.map&amp;LAYERS=thelayer&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;bbox=-67.5,48.922499263758255,-64.6875,50.736455137010665&amp;SRS=EPSG:4326&amp;WIDTH=256&amp;HEIGHT=256&amp;FORMAT=GTiff" target="_blank">http://localhost/cgi-bin/mapserv.exe?SERVICE=WMS&amp;map=D:/Guillaume/ProjetCourantsGlaces/WCSproblem/2011102811.map&amp;LAYERS=thelayer&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;bbox=-67.5,48.922499263758255,-64.6875,50.736455137010665&amp;SRS=EPSG:4326&amp;WIDTH=256&amp;HEIGHT=256&amp;FORMAT=GTiff</a><br>


<br>However, I cannot do so with a WCS service. I first tried with :<br><br><a href="http://localhost/cgi-bin/mapserv.exe?SERVICE=WCS&amp;map=D:/Guillaume/ProjetCourantsGlaces/WCSproblem/2011102811.map&amp;IDENTIFIER=thelayer&amp;VERSION=1.0.0&amp;REQUEST=GetCoverage&amp;BBOX=-67.5,48.922499263758255,-64.6875,50.736455137010665&amp;CRS=EPSG:4326&amp;WIDTH=256&amp;HEIGHT=256&amp;FORMAT=GTiff" target="_blank">http://localhost/cgi-bin/mapserv.exe?SERVICE=WCS&amp;map=D:/Guillaume/ProjetCourantsGlaces/WCSproblem/2011102811.map&amp;IDENTIFIER=thelayer&amp;VERSION=1.0.0&amp;REQUEST=GetCoverage&amp;BBOX=-67.5,48.922499263758255,-64.6875,50.736455137010665&amp;CRS=EPSG:4326&amp;WIDTH=256&amp;HEIGHT=256&amp;FORMAT=GTiff</a><br>


<br>, to which I can add :<br><br>&amp;RESPONSE_CRS=EPSG:4326<br><br>for the same result (since 4326 is my native projection). Said result is not a tiff file, but an error : <br><br>&lt;?xml version=&#39;1.0&#39; encoding=&quot;ISO-8859-1&quot; ?&gt;<br>


&lt;ServiceExceptionReport version=&quot;1.2.0&quot;<br>xmlns=&quot;<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a>&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xsi:schemaLocation=&quot;<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a> <a href="http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd" target="_blank">http://schemas.opengis.net/wcs/1.0.0/OGC-exception.xsd</a>&quot;&gt;<br>


  &lt;ServiceException code=&quot;NoApplicableCode&quot; locator=&quot;bbox&quot;&gt;msWCSGetCoverage(): WCS server error. Requested BBOX (-178.835708198757,2803.05273104522,179.552848002437,2906.98474680556) is outside requested coverage BBOX (-70,45,-55,52)<br>


  &lt;/ServiceException&gt;<br>&lt;/ServiceExceptionReport&gt;<br><br>This error doesn&#39;t make sense to me. Which projection is it using to get these silly values? Anyway, the BBOX in the request is definitely included in the extent... Now what if I change the Response_CRS? I would expect it to give me the same error, since it doesn&#39;t affect the requested BBOX. Yet, this time no error is produced and I obtain a tiff file (see attachment : wcsoutput.tif). The data is all wrong (0 everywhere), though. And if I open both WMS and WCS obtained tiffs in QuantumGIS, they appear nowhere near each other (for the same bbox... yes).<br>


<br>I attached the results of GetCapabilities and DescribeCoverage requests as well as the MapServer logs (modified to map logs with requests). The data source is an HDF5 file (see attachment : data.h5). I suspect an issue on MapServer&#39;s side but I would be happy if you could tell me it&#39;s all my fault (and how to fix it).<br>


<br>Oh, a last thing : it may or may not be related. I had issues with the KML/KMZ WMS outputformats. Results for epsg:4326 and epsg:900913 were completely different (and wrong, of course). I might open a new discussion on this subject at some point.<br>


<br>Thank you all for your help.<br><font color="#888888">Guillaume Loiselle<br></font><br>P.S. : If you want to test, know that epsg:900913 is the same as epsg:3857 (which is more likely to be in your epsg reference file).<br>


</blockquote></div><br>