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
Branches
Tags
No related merge requests found
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#include "imaging/ossimImageHandler.h" #include "imaging/ossimImageHandler.h"
#include "init/ossimInit.h" #include "init/ossimInit.h"
#include "base/ossimKeywordlist.h" #include "base/ossimKeywordlist.h"
// #include "ossim/projection/ossimProjectionFactoryRegistry.h"
// #include "ossim/ossimPluginProjectionFactory.h"
#include <itksys/SystemTools.hxx> #include <itksys/SystemTools.hxx>
#include <fstream> #include <fstream>
...@@ -332,6 +334,8 @@ ImageFileReader<TOutputImage> ...@@ -332,6 +334,8 @@ ImageFileReader<TOutputImage>
// Add the radar factory // Add the radar factory
ossimImageHandlerRegistry::instance()->addFactory(ossimImageHandlerSarFactory::instance()); ossimImageHandlerRegistry::instance()->addFactory(ossimImageHandlerSarFactory::instance());
ossimImageHandler* handler = ossimImageHandlerRegistry::instance()->open(ossimFilename(lFileNameOssimKeywordlist.c_str())); ossimImageHandler* handler = ossimImageHandlerRegistry::instance()->open(ossimFilename(lFileNameOssimKeywordlist.c_str()));
if (!handler) if (!handler)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment