Skip to content
Snippets Groups Projects
Commit 8184f20c authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Fixing bug causing failure of test prTvGCPsToRPCSensorModelImageFilterAndOrtho

parent 08c9d858
Branches
Tags
No related merge requests found
......@@ -320,12 +320,14 @@ GCPsToRPCSensorModelImageFilter<TImage>
m_Keywordlist = otb_kwl;
// Encapsulate it
itk::MetaDataDictionary& dict = imagePtr->GetMetaDataDictionary();
itk::EncapsulateMetaData<ImageKeywordlist>(dict, MetaDataKey::OSSIMKeywordlistKey, otb_kwl);
m_ModelUpToDate = true;
}
// Update image keywordlist. We need to do it at each stream
// because it will be overwritten by up-stream
// GenerateOutputInformation() calls.
itk::MetaDataDictionary& dict = imagePtr->GetMetaDataDictionary();
itk::EncapsulateMetaData<ImageKeywordlist>(dict, MetaDataKey::OSSIMKeywordlistKey, m_Keywordlist);
}
template <class TImage>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment