// Set scaling offset func (rasterBand RasterBand) SetOffset(offset float64) error { err := C.GDALSetRasterOffset(rasterBand.cval, C.double(offset)) if err != 0 { return error(err) } return nil }
// Set scaling offset func (rasterBand RasterBand) SetOffset(offset float64) error { return C.GDALSetRasterOffset(rasterBand.cval, C.double(offset)).Err() }