// Set the no data value for this band func (rasterBand RasterBand) SetNoDataValue(val float64) error { err := C.GDALSetRasterNoDataValue(rasterBand.cval, C.double(val)) if err != 0 { return error(err) } return nil }
// Set the no data value for this band func (rasterBand RasterBand) SetNoDataValue(val float64) error { return C.GDALSetRasterNoDataValue(rasterBand.cval, C.double(val)).Err() }