[Gdal-dev] Re: Create GTiff with 8bit color table

WolfgangZ wollez at gmx.net
Wed Sep 12 04:40:43 EDT 2007


Oliver Eichler schrieb:
> On Tuesday, 11. September 2007 15:56, you wrote:
>> The GeoTIFF driver does not support setting or resetting the color
>> interpretation.  However, as long as you do it before you start writing
>> raster data you can use the SetColorTable() method on the band of a
>> single band file and it will be changed internally to paletted.
>>
> 
> Hi Frank,
> 
> that did the trick. I wasn't deperate enought to set the table before setting 
> up the color interpretation. :)
> 
> It works and it's pretty fast, too. Now I just have to find a Linux app to 
> handle GeoTiffs of 3-4GB size. QGis isn't too happy about it. Let's see...
> 
>  Thanks for your help.
> 
> Oliver

Have a look at OpenEV which is included in the FWTools! I've tested it 
with a 28000x52000 pixel tiff and works fine (at least when you don't 
want to see huge parts of the map at a time. Haven't tested yet it if 
overviewmaps would fasten that up (you could do that with gdaladdo).
Perhaps a small hint: create your tiffs with the option TILED=YES.

Regards
Wolfgang




More information about the Gdal-dev mailing list