Javier,

Le 27/03/2021 à 12:44, Javier Jimenez Shaw a écrit :
Hi,

Is there any way in C++ to set the band description?

GDALMajorObject::Description()


I know only SetColorInterpretation <https://gdal.org/doxygen/classGDALRasterBand.html#a10346d2761b6cd4def98e0430305d5d5> that has a limited number of options (https://gdal.org/doxygen/gdal_8h.html#ace76452d94514561fffa8ea1d2a5968c <https://gdal.org/doxygen/gdal_8h.html#ace76452d94514561fffa8ea1d2a5968c>) none of them for near infrared.

Yes, the enumeration doesn't include infrared. Currently a few drivers use custom metadata items like NITF that can report BandName=NearInfrared/Infrared. Some also report wavelengths min/max in other metadata items.

Even

--

http://www.spatialys.com
My software is free, but my time generally not.

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

Reply via email to