[Gdal-dev] Normalizing color maps..

Frank Warmerdam warmerdam at pobox.com
Mon Oct 8 10:59:51 EDT 2007


Burak BAYER wrote:
> Hi,
> Is it possible to normalize or rebuild color map of different GeoTiff
> files.. I have map data of Turkiye and when I merge them with
> gdal_merge.py, color data of whole map become corrupted because of each
> tile has different color table.. So how can I merge them with correct
> color entries..

Burak,

To mosaic colormapped images with different colormaps, you need to first
convert the images to 24bit RGB format (with pct2rgb.py).

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