Commit ab413a4c authored by Julien Osman's avatar Julien Osman
Browse files

Merge branch 'add_info_message_metadata_source' into 'develop'

Add INFO message about metadata source

See merge request !862
parents 3216c86b 932940da
Pipeline #8895 passed with stages
in 15 minutes and 41 seconds
......@@ -405,6 +405,7 @@ void ImageFileReader<TOutputImage, ConvertPixelTraits>::GenerateOutputInformatio
ImageMetadataInterfaceFactory::CreateIMI(imd, geomSupplier);
geomSupplier.FetchRPC(imd);
geomSupplier.FetchGCP(imd);
otbLogMacro(Info, << "Loading metadata from external geom file " << m_FilenameHelper->GetExtGEOMFileName());
}
// Case 2: attached geom (if present)
else if (!m_FilenameHelper->GetSkipGeom() && itksys::SystemTools::FileExists(attachedGeom))
......@@ -413,6 +414,7 @@ void ImageFileReader<TOutputImage, ConvertPixelTraits>::GenerateOutputInformatio
ImageMetadataInterfaceFactory::CreateIMI(imd, geomSupplier);
geomSupplier.FetchRPC(imd);
geomSupplier.FetchGCP(imd);
otbLogMacro(Info, << "Loading metadata from attached geom file " << attachedGeom);
}
// Case 3: tags in file
else
......@@ -421,6 +423,7 @@ void ImageFileReader<TOutputImage, ConvertPixelTraits>::GenerateOutputInformatio
if (gdalMetadataSupplierPointer)
{
ImageMetadataInterfaceFactory::CreateIMI(imd, *gdalMetadataSupplierPointer);
otbLogMacro(Info, << "Loading metadata from official product");
}
}
......
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