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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
David Youssefi
otb
Commits
d788cd8b
Commit
d788cd8b
authored
12 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Describing precisely the behaviour of the DEMHandler class
parent
d485bc24
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
Code/UtilitiesAdapters/OssimAdapters/otbDEMHandler.h
+41
-6
41 additions, 6 deletions
Code/UtilitiesAdapters/OssimAdapters/otbDEMHandler.h
with
41 additions
and
6 deletions
Code/UtilitiesAdapters/OssimAdapters/otbDEMHandler.h
+
41
−
6
View file @
d788cd8b
...
...
@@ -60,16 +60,51 @@ namespace otb
{
/** \class DEMHandler
*
* \brief
Class for Reading a DEM data
* \brief
Single access point for DEM data retrieval
*
* This class is the single configuration and access point for
* elevation handling in images projections and localisation functions.
* elevation handling in images projections and localisation
* functions. Since this class is a singleton, the New() method is
* deprecated and will be removed in future release. Please use the
* DEMHandler::Instance() method instead.
*
* Please be aware that a proper instanciation and parameter setting
* of this class is advised before any call to geometric filters or
* functionalities. Ossim internal accesses to elevation are also
* configured by this class and this will ensure consistency
* throughout the library.
*
* The class allows to configure a directory containing DEM tiles
* (DTED or SRTM supported) using the OpenDEMDirectory() method. The
* OpenGeoidFile() method allows to input a geoid file as well. Last,
* a default height above ellipsoid can be set using the
* SetDefaultHeightAboveEllipsoid() method.
*
* The class allows to retrieve either height above ellipsoid or
* height above Mean Sea Level (MSL).
*
* Here is the complete description of both methods outpout depending
* on the class configuration for the SRTM DEM (in the following, no
* SRTM means DEMDirectory not set, or no coverage for point, or
* srtm_value is no_data).
*
* It is based on ossimElevManager.
* It allows to obtain height above Ellipsoid or MSL(Mean Sea Level)
* of a geographic point.
* GetHeightAboveEllipsoid():
* - SRTM and geoid both available: srtm_value + geoid_offset
* - No SRTM but geoid available: geoid_offset
* - SRTM available, but no geoid: srtm_value
* - No SRTM and no geoid available: default height above ellipsoid
*
* GetHeightAboveMSL():
* - SRTM and geoid both available: srtm_value
* - No SRTM but geoid available: BUGGY CASE (returns NaN)
* - SRTM available, but no geoid: srtm_value
* - No SRTM and no geoid available: default height above ellipsoid
*
* It handles both DTED and SRTM formats.
* Please note that OSSIM internal calls for sensor modelling use the
* height above ellipsoid, and follow the same logic as the
* GetHeightAboveEllipsoid() method.
*
* DEM directory can either contain DTED or SRTM formats.
* \ingroup Images
*
*/
...
...
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