[gdal-dev] write pseudocolor raster
Even Rouault
even.rouault at mines-paris.org
Sun Dec 23 14:14:54 PST 2012
Le dimanche 23 décembre 2012 14:40:59, Agustin Lobo a écrit :
> I have some 1-band raster layers that I would like to write as
> pseudocolor files. Is it
> possible to use gdal_traslate or another gdal utility to write the
> raster using the color palette
> of another file?
> I've seen the procedure described in
> http://trac.osgeo.org/gdal/wiki/FAQRaster#Howtocreateormodifyanimagecolorta
> ble but I would like no having to edit the vrt file manually.
You can use the following GDAL Python script :
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/attachpct.py
>
> Thanks
>
> Agus
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list