belaqziz salwa wrote:
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
Salwa,
It would be helpful if you could provide the WCS service
description file, assuming the WCS service is public.
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
_gdalallregis...@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'
That is odd. I have no opinion on why it is happening.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev