<div dir="ltr">Thanks Even, very useful.<div><br></div><div>I didn't check the parent class, GDALMajorObject, my fault.</div><div><br></div><div>I use two sources (example for raster band):<br>- <a href="https://gdal.org/doxygen/classGDALRasterBand.html">https://gdal.org/doxygen/classGDALRasterBand.html</a> where I have to click on the parent class(es), and study them recursively. Oh, now I realize that the small arrow in front is a toggle (|> Public Member Functions inherited from GDALMajorObject), that doesn't work (chromium and firefox). The browser console says:<br><font face="monospace">  classGDALRasterBand.html:246 Uncaught ReferenceError: toggleInherit is not defined<br>      at HTMLTableCellElement.onclick (classGDALRasterBand.html:246)<br></font></div><div>- <a href="https://gdal.org/api/gdalrasterband_cpp.html">https://gdal.org/api/gdalrasterband_cpp.html</a> where the name of the parent class is not a link. Actually I do not find the parent class in the API section. BTW, this page has a strange formatting, without spaces in the function declarations, that makes complicated to read it.</div><div><br><div>My subconscious was expecting the list of all public methods, including those that come from the ancestor classes, in the class documentation.</div><div></div></div><div><br></div><div>Cheers,</div><div>Javier.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__<br>Entre dos pensamientos racionales <br>hay infinitos pensamientos irracionales.<br><br></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 27 Mar 2021 at 12:58, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Javier,<br>
    </p>
    <div>Le 27/03/2021 à 12:44, Javier Jimenez
      Shaw a écrit :<br>
    </div>
    <blockquote type="cite">
      <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">
      <div dir="ltr">
        <div>I know only <a href="https://gdal.org/doxygen/classGDALRasterBand.html#a10346d2761b6cd4def98e0430305d5d5" target="_blank">SetColorInterpretation</a> that has a
          limited number of options (<a href="https://gdal.org/doxygen/gdal_8h.html#ace76452d94514561fffa8ea1d2a5968c" target="_blank">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 cols="72"><a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </div>

</blockquote></div>