<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><font style="font-family: arial,helvetica,sans-serif;" size="2">Hi Frank,<br><br>this is my WCS service description file: <br><br>-------------------------------------------------<br><br>&lt;WCS_GDAL&gt;<br>&nbsp;
&lt;ServiceURL&gt;http://localhost:81/cgi-bin/mapserv.exe?map=NDVI.map&amp;amp;SERVICE=WCS&amp;amp;CRS=EPSG:26191&amp;amp;&lt;/ServiceURL&gt;<br>&nbsp; &lt;CoverageName&gt;NDVI&lt;/CoverageName&gt;<br>&nbsp; &lt;supportedCRSs&gt;EPSG:26191&lt;/supportedCRSs&gt;<br>&nbsp; &lt;PreferredFormat&gt;gtiff&lt;/PreferredFormat&gt;<br>&nbsp; &lt;GetCoverageExtra&gt;&amp;amp;BBOX=279728,114867,296168,125307&amp;amp;time=2002-11-07&lt;/GetCoverageExtra&gt;<br>&nbsp; &lt;Version&gt;1.0.0&lt;/Version&gt;<br>&nbsp; &lt;BlockXSize&gt;551&lt;/BlockXSize&gt;<br>&nbsp; &lt;BlockYSize&gt;351&lt;/BlockYSize&gt;<br>&nbsp; &lt;BandCount&gt;1&lt;/BandCount&gt;<br>&nbsp;
 &lt;BandIdentifier&gt;bands&lt;/BandIdentifier&gt;<br>&nbsp; &lt;BandType&gt;Byte&lt;/BandType&gt;<br>&lt;/WCS_GDAL&gt;<br>-----------------------------------------------<br><br></font><div><font style="font-family: arial,helvetica,sans-serif;" color="#c00000" size="2" face="courier"><strong></strong></font><font style="font-family: arial,helvetica,sans-serif;" size="2"> and the Mapfile :<br><br>-------------------------------------<br><br>MAP<br>&nbsp; NAME wcs<br>&nbsp; STATUS ON<br>&nbsp; SHAPEPATH "C:/PROJ/R3"<br>&nbsp; INTERLACE ON<br>&nbsp; TRANSPARENT ON<br>&nbsp; UNITS METERS&nbsp; <br>&nbsp; DEBUG ON <br><br>PROJECTION<br>&nbsp;&nbsp;&nbsp; "init=epsg:26191"<br>END<br><br>LAYER<br>&nbsp;&nbsp;&nbsp; NAME "NDVI_index"<br>&nbsp;&nbsp;&nbsp; STATUS OFF<br>&nbsp;&nbsp;&nbsp; #DATA DATA/NDVI/NDVI_9i2e_R3<br>&nbsp;&nbsp;&nbsp; DATA ndvi.shp<br>&nbsp;&nbsp;&nbsp; FILTERITEM 'TIME'<br>&nbsp;&nbsp;&nbsp; FILTER '%time%' <br>&nbsp;&nbsp;&nbsp; UNITS
 METERS<br>&nbsp;&nbsp;&nbsp; TRANSFORM TRUE<br>&nbsp;&nbsp;&nbsp; DEBUG ON<br>&nbsp;&nbsp;&nbsp; TYPE tileindex<br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp; &nbsp; "init=epsg:26191"<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; DUMP TRUE<br>END<br><br>LAYER<br>&nbsp;&nbsp;&nbsp; NAME "NDVI"<br>&nbsp;&nbsp;&nbsp; STATUS OFF<br>&nbsp;&nbsp;&nbsp; UNITS METERS<br>&nbsp;&nbsp;&nbsp; TRANSFORM TRUE<br>&nbsp;&nbsp;&nbsp; DEBUG ON<br>&nbsp;&nbsp;&nbsp; TYPE RASTER <br>&nbsp;&nbsp;&nbsp; TILEINDEX "NDVI_index"<br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp; &nbsp; "init=epsg:26191"<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; DUMP TRUE<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wcs_name"&nbsp;&nbsp;&nbsp; "NDVI"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wcs_label"&nbsp;&nbsp; "NDVI R3"<br>&nbsp;&nbsp;&nbsp; &nbsp; "wcs_abstract" "blabla"<br>&nbsp;&nbsp;&nbsp; &nbsp; "wcs_description"
 "blabla"<br>&nbsp;&nbsp;&nbsp; &nbsp; "wcs_bandcount" "1"<br>&nbsp;&nbsp;&nbsp; &nbsp; "wcs_rangeset_name"&nbsp;&nbsp; "bands"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wcs_rangeset_label"&nbsp; "bands"&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wcs_rangeset_axes" "bands"&nbsp;&nbsp;&nbsp; &nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp; "wcs_formats" "gtiff" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wcs_srs"&nbsp;&nbsp; "EPSG:26191"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wcs_extent" "279728 114867 296168 125307"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wcs_resolution" "30 30"&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp; "wcs_timeitem" "_date"<br>&nbsp;&nbsp;&nbsp;
&nbsp; "wcs_timeposition"
'2002-09-01,2002-11-07,2002-12-25,2003-01-26,2003-02-11,2003-02-27,2003-03-31,2003-04-16,2003-05-18,2003-08-31'<br>&nbsp;&nbsp;&nbsp;
 END<br>END<br><br>END<br><br>----------------------------------------------------------<br><br>Thanks for help,<br><br>Best regards,</font><br></div><br><br><div><font color="#c00000" face="courier"><strong></strong></font>&nbsp;</div><br><br>--- En date de&nbsp;: <b>Mer 1.4.09, belaqziz salwa <i>&lt;belasalwa@yahoo.fr&gt;</i></b> a écrit&nbsp;:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: belaqziz salwa &lt;belasalwa@yahoo.fr&gt;<br>Objet: [gdal-dev] xml file for accessing to a wcs server<br>À: gdal-dev@lists.osgeo.org<br>Date: Mercredi 1 Avril 2009, 1h05<br><br><div id="yiv140127094"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top">Hi,<br><br>for
 Accessing to a WCS server i created a local service description xml file,but when i<br>tested the gdal_translate command, i have the following error:<br><br>C:\Inetpub\wps&gt;gdal_translate -of GTIFF wcs.xml wcs.tif -srcwin 0 0 547 347<br>Input file size is 548, 348<br>0ERROR 1: Returned tile does not match expected band count.<br>Open GDAL Datasets:<br>&nbsp; 1 N GTiff&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 547x347x3 /vsimem/wcs/00E2F5F0/wcsresult.dat<br><br>I also tried to re-compile gdal, but i have error :<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd apps<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nmake /nologo /f makefile.vc<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /MD /EHsc /Ox /W3 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DNDEBUG -I..\port -I..\ogr -I..\gcore&nbsp; -I..\alg
 -I..\ogr\ogrsf_frmts&nbsp;&nbsp; -I..\frmts -I..\alg -I..\ogr -I..\ogr\ogrsf_frmts gdalinfo.c&nbsp; ..\gdal_i.lib /link<br>gdalinfo.c<br>gdalinfo.obj : error LNK2019: unresolved external symbol _GDALAllRegister@0 referenced in function _main<br>gdalinfo.exe : fatal error LNK1120: 1 unresolved externals<br>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'<br><br><br>thanks for your help<br><br><div><font color="#c00000" face="courier"><strong></strong></font>Salwa.<br></div></td></tr></tbody></table><br>



      </div><br>-----La pièce jointe associée suit-----<br><br><div class="plainMail">_______________________________________________<br>gdal-dev mailing list<br><a ymailto="mailto:gdal-dev@lists.osgeo.org" href="/mc/compose?to=gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></div></blockquote></td></tr></table><br>