lukeroth/gdal

Unclear on how to use MajorObject methods (e.g. SetDescription)

Opened this issue · 0 comments

chris commented

Hi, hopefully just a quick question. I'm trying to set the description of a raster layer. In Python you can just call SetDescription on the raster band. But in GDAL/this library, I see SetDescription is a method on MajorObject. I'm not clear how I'd convert the RasterBand or what my path is to setting the description for the band. Can you clue me in?