Commit 697b9613 authored by Julien Osman's avatar Julien Osman
Browse files

REFAC: Update Monteverdi's elements so they use ImageMetadata instead of KeywordLists

parent c2030215
......@@ -121,7 +121,7 @@ void VectorImageModel::SetFilename(const QString& filename, int w, int h)
// Setup GenericRSTransform
m_ToWgs84 = otb::GenericRSTransform<>::New();
m_ToWgs84->SetInputDictionary(m_ImageFileReader->GetOutput()->GetMetaDataDictionary());
m_ToWgs84->SetInputImageMetadata(m_ImageFileReader->GetOutput()->GetImageMetadata());
m_ToWgs84->SetOutputProjectionRef(otb::SpatialReference::FromWGS84().ToWkt());
m_ToWgs84->InstantiateTransform();
......
Markdown is supported
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