diff --git a/seims/src/ccgl/src/data_raster.hpp b/seims/src/ccgl/src/data_raster.hpp index af6d9df6c..6d9218c9a 100644 --- a/seims/src/ccgl/src/data_raster.hpp +++ b/seims/src/ccgl/src/data_raster.hpp @@ -2225,6 +2225,7 @@ clsRasterData::clsRasterData(clsRasterData* mask, T* const va Initialize1DArray(n_cells_, raster_, values); // DO NOT ASSIGN ARRAY DIRECTLY! default_value_ = mask_->GetDefaultValue(); CopyHeader(mask_->GetRasterHeader(), headers_); + no_data_value_ = static_cast(mask_->GetNoDataValue()); UpdateStrHeader(options_, HEADER_RS_SRS, mask_->GetSrsString()); CopyStringMap(opts, options_); }