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
fc15b340
Commit
fc15b340
authored
17 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
Work in progress
parent
64808945
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Utilities/otbossim/src/ossim/imaging/ossimImageHandlerFactory.cpp
+10
-10
10 additions, 10 deletions
...s/otbossim/src/ossim/imaging/ossimImageHandlerFactory.cpp
with
10 additions
and
10 deletions
Utilities/otbossim/src/ossim/imaging/ossimImageHandlerFactory.cpp
+
10
−
10
View file @
fc15b340
...
...
@@ -20,7 +20,7 @@
#include
<ossim/imaging/ossimGeneralRasterTileSource.h>
#include
<ossim/imaging/ossimERSTileSource.h>
#include
<ossim/imaging/ossimVpfTileSource.h>
#include
<ossim/imaging/ossim
NetworkedQuadTree
TileSource.h>
#include
<ossim/imaging/ossim
TileMap
TileSource.h>
#include
<ossim/base/ossimTrace.h>
#include
<ossim/base/ossimKeywordNames.h>
#include
<ossim/imaging/ossimJpegTileSource.h>
...
...
@@ -115,14 +115,14 @@ ossimImageHandler* ossimImageHandlerFactory::open(const ossimFilename& fileName)
delete
result
;
// test if
NetworkedQuadTree
// test if
TileMap
if
(
traceDebug
())
{
ossimNotify
(
ossimNotifyLevel_DEBUG
)
<<
"trying
NetworkedQuadTree
"
<<
"trying
TileMap
"
<<
std
::
endl
;
}
result
=
new
ossim
NetworkedQuadTree
TileSource
;
result
=
new
ossim
TileMap
TileSource
;
if
(
result
->
open
(
copyFilename
))
{
return
result
;
...
...
@@ -419,14 +419,14 @@ ossimImageHandler* ossimImageHandlerFactory::open(const ossimKeywordlist& kwl,
}
delete
result
;
//
NetworkedQuadTree
//
TileMap
if
(
traceDebug
())
{
ossimNotify
(
ossimNotifyLevel_DEBUG
)
<<
"trying
NetworkedQuadTree
"
<<
"trying
TileMap
"
<<
std
::
endl
;
}
result
=
new
ossim
NetworkedQuadTree
TileSource
;
result
=
new
ossim
TileMap
TileSource
;
if
(
result
->
loadState
(
kwl
,
prefix
))
{
return
result
;
...
...
@@ -600,9 +600,9 @@ ossimObject* ossimImageHandlerFactory::createObject(const ossimString& typeName)
return
new
ossimGeneralRasterTileSource
();
}
if
(
STATIC_TYPE_NAME
(
ossim
NetworkedQuadTree
TileSource
)
==
typeName
)
if
(
STATIC_TYPE_NAME
(
ossim
TileMap
TileSource
)
==
typeName
)
{
return
new
ossim
NetworkedQuadTree
TileSource
();
return
new
ossim
TileMap
TileSource
();
}
return
(
ossimObject
*
)
NULL
;
...
...
@@ -693,7 +693,7 @@ void ossimImageHandlerFactory::getTypeNameList(std::vector<ossimString>& typeLis
typeList
.
push_back
(
STATIC_TYPE_NAME
(
ossimERSTileSource
));
typeList
.
push_back
(
STATIC_TYPE_NAME
(
ossimSrtmTileSource
));
typeList
.
push_back
(
STATIC_TYPE_NAME
(
ossimGeneralRasterTileSource
));
typeList
.
push_back
(
STATIC_TYPE_NAME
(
ossim
NetworkedQuadTree
TileSource
));
typeList
.
push_back
(
STATIC_TYPE_NAME
(
ossim
TileMap
TileSource
));
typeList
.
push_back
(
STATIC_TYPE_NAME
(
ossimQuickbirdNitfTileSource
));
typeList
.
push_back
(
STATIC_TYPE_NAME
(
ossimQuickbirdTiffTileSource
));
}
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