Commit 932940da authored by Julien Osman's avatar Julien Osman
Browse files

ENH: Add INFO message about metadata source

parent 3216c86b
Pipeline #8879 passed with stages
in 98 minutes and 54 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