Commit 15d0d710 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

Change GetMetadataDictionary with GetImageMetadata (for OTB 8)

parent c4df7e8b
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -248,7 +248,7 @@ private: ...@@ -248,7 +248,7 @@ private:
// Try to read the no-data in the image metadata // Try to read the no-data in the image metadata
std::vector<bool> noDataPresent; std::vector<bool> noDataPresent;
std::vector<double> noDataValues; std::vector<double> noDataValues;
bool isNoData = otb::ReadNoDataFlags(m_Concatener->GetOutput()->GetMetaDataDictionary(),noDataPresent,noDataValues); bool isNoData = otb::ReadNoDataFlags(m_Concatener->GetOutput()->GetImageMetadata(),noDataPresent,noDataValues);
if (isNoData) if (isNoData)
{ {
noDataValue = noDataValues[0]; noDataValue = noDataValues[0];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment