[gdal-dev] Unexpected value for TARGET creation option

Jean-Claude Repetto jrepetto at free.fr
Thu Feb 7 08:42:59 EST 2008


Hello,

I have just upgraded from GDAL 1.4.2 to GDAL 1.5.0, and now I have an 
error message when creating an ECW file :


gdal_translate -of ECW -co TARGET=94% -co DATUM=NTF -co PROJ=LM1FRA2D 
-a_ullr 970000 1860000 980000 1850000 MAP.png MAP.ecw

Input file size is 4000, 4000
Warning 6: '94%' is an unexpected value for TARGET creation option of 
type float.

I have tested some variants :
-co TARGET=94
-co TARGET=0.94
-co "TARGET=94%"

All are giving the same message.
What is the right syntax ?

Thanks,
Jean-Claude




More information about the gdal-dev mailing list