[gdal-dev] probles by ecw-convert (gdal_translate and expand)

Jean-Claude Repetto jrepetto at free.fr
Thu Nov 3 07:11:58 EDT 2011


Le 03/11/2011 11:23, Jan Tappenbeck a écrit :

> can andyone tell me how the command had to be for
> "Consider using color table expansion (-expand option in
> gdal_translate)" ???
>

This is explained in the documentation :
http://www.gdal.org/gdal_translate.html

In your case, I think you'll have to use "-expand rgb" .

BTW, if you need to obtain a georeferenced file, don't forget to use the 
"-co DATUM=..." and "-co PROJ=..." options.

Jean-Claude


More information about the gdal-dev mailing list