Skip to content
Snippets Groups Projects
Commit d1ced5bf authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: prepare inclusion of ossim plugings in otb reader

parent b5e53209
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,8 @@
#include "imaging/ossimImageHandler.h"
#include "init/ossimInit.h"
#include "base/ossimKeywordlist.h"
// #include "ossim/projection/ossimProjectionFactoryRegistry.h"
// #include "ossim/ossimPluginProjectionFactory.h"
#include <itksys/SystemTools.hxx>
#include <fstream>
......@@ -332,6 +334,8 @@ ImageFileReader<TOutputImage>
// Add the radar factory
ossimImageHandlerRegistry::instance()->addFactory(ossimImageHandlerSarFactory::instance());
ossimImageHandler* handler = ossimImageHandlerRegistry::instance()->open(ossimFilename(lFileNameOssimKeywordlist.c_str()));
if (!handler)
......
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