[Gdal-dev] gdalwarp HFA color problem

Frank Warmerdam warmerdam at pobox.com
Tue Oct 26 13:04:34 EDT 2004


Markus Neteler wrote:
> Hi,
> 
> when using 'gdalwarp' on a HFA image with a large
> color table, the resulting file get's a corrupted
> colot tbale (almost white):
> 
> gdalinfo hanoi_lsat7_brovey_UTM48N.img | grep   'Color Table'
>   Color Table (RGB with 32764 entries)
> 
> gdalwarp -of HFA -t_srs '+init=epsg:4326'  hanoi_lsat7_brovey_UTM48N.img hanoi_lsat7_brovey_LL.img
> Creating output file is that 9404P x 5964L.
> :0...10...20...30...40...50...60...70...80...90...100 - done.
> 

Markus,

I have confirmed that color table output is broken in general in GDAL currently.
This seems to relate to some other bugs fixes I did some months ago.  I will
try and fix this in time for the GDAL 1.2.4 release.

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    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list