jor sion wrote:
Hi,
I used the the SetRasterColorInterpretation() method to modified the ColorInterpretation of a band, but it failed. so SetRasterColorInterpretation() doesn't work?

If I want to modify the ColorInterpretation of a band, what should I do?

JoSn,

This method is not operational for very many drivers.

I see that if the PAM mechanism is enabled all PAM enabled drivers will
actually store the color interpretation in the .aux.xml file.  What version
of GDAL are you using?  What file format?

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to