<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><WCS_GDAL><br>
<ServiceURL>http://localhost:81/cgi-bin/mapserv.exe?map=NDVI.map&amp;SERVICE=WCS&amp;CRS=EPSG:26191&amp;</ServiceURL><br> <CoverageName>NDVI</CoverageName><br> <supportedCRSs>EPSG:26191</supportedCRSs><br> <PreferredFormat>gtiff</PreferredFormat><br> <GetCoverageExtra>&amp;BBOX=279728,114867,296168,125307&amp;time=2002-11-07</GetCoverageExtra><br> <Version>1.0.0</Version><br> <BlockXSize>551</BlockXSize><br> <BlockYSize>351</BlockYSize><br> <BandCount>1</BandCount><br>
<BandIdentifier>bands</BandIdentifier><br> <BandType>Byte</BandType><br></WCS_GDAL><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> NAME wcs<br> STATUS ON<br> SHAPEPATH "C:/PROJ/R3"<br> INTERLACE ON<br> TRANSPARENT ON<br> UNITS METERS <br> DEBUG ON <br><br>PROJECTION<br> "init=epsg:26191"<br>END<br><br>LAYER<br> NAME "NDVI_index"<br> STATUS OFF<br> #DATA DATA/NDVI/NDVI_9i2e_R3<br> DATA ndvi.shp<br> FILTERITEM 'TIME'<br> FILTER '%time%' <br> UNITS
METERS<br> TRANSFORM TRUE<br> DEBUG ON<br> TYPE tileindex<br> PROJECTION<br> "init=epsg:26191"<br> END<br> DUMP TRUE<br>END<br><br>LAYER<br> NAME "NDVI"<br> STATUS OFF<br> UNITS METERS<br> TRANSFORM TRUE<br> DEBUG ON<br> TYPE RASTER <br> TILEINDEX "NDVI_index"<br> PROJECTION<br> "init=epsg:26191"<br> END<br> DUMP TRUE<br> <br> METADATA<br> "wcs_name" "NDVI"<br> "wcs_label" "NDVI R3"<br> "wcs_abstract" "blabla"<br> "wcs_description"
"blabla"<br> "wcs_bandcount" "1"<br> "wcs_rangeset_name" "bands" <br> "wcs_rangeset_label" "bands" <br> "wcs_rangeset_axes" "bands" <br> "wcs_formats" "gtiff" <br> "wcs_srs" "EPSG:26191"<br> "wcs_extent" "279728 114867 296168 125307"<br> "wcs_resolution" "30 30" <br> "wcs_timeitem" "_date"<br>
"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>
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> </div><br><br>--- En date de : <b>Mer 1.4.09, belaqziz salwa <i><belasalwa@yahoo.fr></i></b> a écrit :<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: belaqziz salwa <belasalwa@yahoo.fr><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>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> 1 N GTiff -1 547x347x3 /vsimem/wcs/00E2F5F0/wcsresult.dat<br><br>I also tried to re-compile gdal, but i have error :<br><br> cd apps<br> nmake /nologo /f makefile.vc<br> cl /nologo /MD /EHsc /Ox /W3 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DNDEBUG -I..\port -I..\ogr -I..\gcore -I..\alg
-I..\ogr\ogrsf_frmts -I..\frmts -I..\alg -I..\ogr -I..\ogr\ogrsf_frmts gdalinfo.c ..\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>