[gdal-dev] RV: RGB Tiled - non Tiled Images

Mendizabal Vicente, Ainhoa amendizabal at indra.es
Thu Jul 3 03:07:52 EDT 2008


I've just made an update of my GDAL version, and now all seem to work properly.

Thanks a lot

Ainhoa

-----Mensaje original-----
De: Frank Warmerdam [mailto:warmerdam at pobox.com] 
Enviado el: miércoles, 02 de julio de 2008 13:18
Para: Mendizabal Vicente, Ainhoa
CC: gdal-dev at lists.osgeo.org
Asunto: Re: [gdal-dev] RV: RGB Tiled - non Tiled Images

Mendizabal Vicente, Ainhoa wrote:
> But I could not view properly the resulting image.
> 
>  
> 
> Looking for the original problem I've tried simply to transform a RGB 
> non-tiled Image to tiled, and then I've made it non-tiled again:
> 
>  
> 
> gdal_transform -co 'tiled=yes'    Original.tif         Tiled.tif
> 
> gdal_transform -co 'tiled=no'      Tiled.tif             Result.tif
> 
>  
> 
> but, I can't view properly the Image Result.tif. ¿What I've made wrong?

Ainhoa,

What version of GDAL are you using?  (try gdalinfo --version to find out).

What software are you using for viewing?  Do you get any specific errors?

Generally speaking there are many crappy TIFF viewers in this world, so it
is possible that the viewer you are using does not support something in the
produced files from GDAL.  I *suspect* you are getting "band interleaved"
TIFF files from GDAL which are not so widely supported.  If this is the case
using -co INTERLEAVE=PIXEL in the translations might help.  However, GDAL 1.5
and newer products pixel interleaved files by default.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list