From 807ae33f042ccd49319a703198b2d078e6bc7b57 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@cnes.fr> Date: Thu, 22 Feb 2018 17:05:10 +0100 Subject: [PATCH] ENH: More logs cleanup --- .../OSSIMAdapters/src/otbImageKeywordlist.cxx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx b/Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx index 22aef9289e..0294d5f744 100644 --- a/Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx +++ b/Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx @@ -255,7 +255,6 @@ ReadGeometryFromImage(const std::string& filename, bool checkRpcTag) ->open(ossimFilename(filename.c_str()))); if (handler) { - otbMsgDevMacro(<< "OSSIM Open Image SUCCESS ! "); // Add ossimPlugins model ossimProjectionFactoryRegistry::instance()->registerFactory(ossimplugins::ossimPluginProjectionFactory::instance()); @@ -271,7 +270,6 @@ ReadGeometryFromImage(const std::string& filename, bool checkRpcTag) // if the handler has found a sensor model, copy the tags found if (hasMetaData && dynamic_cast<ossimSensorModel const*>(projection)) { - otbMsgDevMacro(<<"OSSIM sensor projection instantiated ! "); otb_kwl.SetKeywordlist(geom_kwl); // geom_kwl.print(std::cout); } @@ -315,16 +313,6 @@ ReadGeometryFromImage(const std::string& filename, bool checkRpcTag) // which uses ossimSensorModelFactory and ossimPluginProjectionFactory internally, // thus by-passing the need for a valid ossimImageHandler. - if (!hasMetaData) - { - otbMsgDevMacro(<< "OSSIM MetaData not present ! "); - } - else - { - otbMsgDevMacro(<< "OSSIM MetaData present ! "); - //otbMsgDevMacro(<< geom_kwl); - } - return otb_kwl; } -- GitLab