<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Javier,<br>
</p>
<div class="moz-cite-prefix">Le 27/03/2021 à 12:44, Javier Jimenez
Shaw a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKvacmXU57VFADASJ2YrehsJSqqeu1k-86k494iHFJj8Gw@mail.gmail.com">
<div dir="ltr">Hi,
<div><br>
</div>
<div>Is there any way in C++ to set the band description?</div>
</div>
</blockquote>
<p>GDALMajorObject::Description()</p>
<br>
<blockquote type="cite"
cite="mid:CADRrdKvacmXU57VFADASJ2YrehsJSqqeu1k-86k494iHFJj8Gw@mail.gmail.com">
<div dir="ltr">
<div>I know only <a class="el"
href="https://gdal.org/doxygen/classGDALRasterBand.html#a10346d2761b6cd4def98e0430305d5d5"
moz-do-not-send="true">SetColorInterpretation</a> that has a
limited number of options (<a
href="https://gdal.org/doxygen/gdal_8h.html#ace76452d94514561fffa8ea1d2a5968c"
moz-do-not-send="true">https://gdal.org/doxygen/gdal_8h.html#ace76452d94514561fffa8ea1d2a5968c</a>)
none of them for near infrared.</div>
</div>
</blockquote>
<p>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.</p>
<p>Even</p>
--
<pre class="moz-signature" cols="72"><a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>