[Gdal-dev] gdalwarp HFA color problem

Frank Warmerdam warmerdam at pobox.com
Tue Oct 26 13:50:40 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 done a number of changes in the GDAL HFA driver now that correct this
and some related problems.  If you get a chance please try from CVS and let me
know if it still fails.

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