Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
8b01f6b6
Commit
8b01f6b6
authored
7 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
ENH: More logs cleanup
parent
bf4660bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!20
Refactor logging for the whole library
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
+0
-12
0 additions, 12 deletions
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
with
0 additions
and
12 deletions
Modules/Adapters/OSSIMAdapters/src/otbImageKeywordlist.cxx
+
0
−
12
View file @
8b01f6b6
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment