Skip to content
Snippets Groups Projects
Commit 7c4f9bd2 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: use projection ref when available in GenericRSTransform

parent 0d13bb03
No related branches found
No related tags found
1 merge request!42Fix ctest
...@@ -185,6 +185,8 @@ namespace otb ...@@ -185,6 +185,8 @@ namespace otb
m_rsTransform = RSTransformType2D::New(); m_rsTransform = RSTransformType2D::New();
m_rsTransform->SetInputKeywordList(m_SarImagePtr->GetImageKeywordlist() ); m_rsTransform->SetInputKeywordList(m_SarImagePtr->GetImageKeywordlist() );
m_rsTransform->SetOutputKeywordList(DEMProjOnMasterPtr->GetImageKeywordlist()); m_rsTransform->SetOutputKeywordList(DEMProjOnMasterPtr->GetImageKeywordlist());
m_rsTransform->SetInputProjectionRef(m_SarImagePtr->GetProjectionRef() );
m_rsTransform->SetOutputProjectionRef(DEMProjOnMasterPtr->GetProjectionRef());
m_rsTransform->InstantiateTransform(); m_rsTransform->InstantiateTransform();
// Add GridSteps into KeyWordList // Add GridSteps into KeyWordList
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment