[gdal-dev] xml file for accessing to a wcs server

belaqziz salwa belasalwa at yahoo.fr
Tue Mar 31 20:05:15 EDT 2009


Hi,

for Accessing to a WCS server i created a local service description xml file,but when i
tested the gdal_translate command, i have the following error:

C:\Inetpub\wps>gdal_translate -of GTIFF wcs.xml wcs.tif -srcwin 0 0 547 347
Input file size is 548, 348
0ERROR 1: Returned tile does not match expected band count.
Open GDAL Datasets:
  1 N GTiff       -1 547x347x3 /vsimem/wcs/00E2F5F0/wcsresult.dat

I also tried to re-compile gdal, but i have error :

        cd apps
        nmake /nologo /f makefile.vc
        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
gdalinfo.c
gdalinfo.obj : error LNK2019: unresolved external symbol _GDALAllRegister at 0 referenced in function _main
gdalinfo.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'


thanks for your help

Salwa.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090401/b2799dd7/attachment.html


More information about the gdal-dev mailing list