OTB
9.0.0
Orfeo Toolbox
|
#include <otbDimapMetadataHelper.h>
Public Member Functions | |
DimapMetadataHelper ()=default | |
const DimapData & | GetDimapData () const |
void | ParseDimapV1 (const MetadataSupplierInterface &mds, const std::string prefix) |
void | ParseDimapV2 (const MetadataSupplierInterface &mds, const std::string &prefix="Dimap_Document.") |
void | ParseGeom (const MetadataSupplierInterface &mds) |
Private Member Functions | |
template<class T > | |
T | GetSingleValueFromList (const MetadataSupplierInterface &mds, const std::string &prefix, const std::string &name) |
template<class T > | |
void | ParseVector (const MetadataSupplierInterface &mds, const std::string &prefix, const std::string &name, std::vector< T > &dest) |
template<class T > | |
void | ParseVector (const MetadataSupplierInterface &mds, const std::string &prefix, const std::string &name, std::vector< T > &dest, std::vector< T > &defaultValue) |
Private Attributes | |
DimapData | m_Data |
Helper class to read dimap data from various sources (Dimap v1, dimap v2, Ossim geom file) and various sensors (PHR, SPOT, ...) and store them in a DimapData struct.
Definition at line 87 of file otbDimapMetadataHelper.h.
|
default |
|
inline |
Definition at line 93 of file otbDimapMetadataHelper.h.
|
inlineprivate |
Definition at line 215 of file otbDimapMetadataHelper.h.
void otb::DimapMetadataHelper::ParseDimapV1 | ( | const MetadataSupplierInterface & | mds, |
const std::string | prefix | ||
) |
Parse Dimap data from a Dimap v1 product
void otb::DimapMetadataHelper::ParseDimapV2 | ( | const MetadataSupplierInterface & | mds, |
const std::string & | prefix = "Dimap_Document." |
||
) |
Parse Dimap data from a Dimap v2 product
void otb::DimapMetadataHelper::ParseGeom | ( | const MetadataSupplierInterface & | mds | ) |
Parse Dimap data from an Ossim geom file. This method can be used to parse geom generated with OTB <= 7.0
|
inlineprivate |
Definition at line 113 of file otbDimapMetadataHelper.h.
References otb::MetadataSupplierInterface::GetMetadataValue(), and otbGenericExceptionMacro.
|
inlineprivate |
Definition at line 165 of file otbDimapMetadataHelper.h.
References otb::MetadataSupplierInterface::GetMetadataValue().
|
private |
Definition at line 225 of file otbDimapMetadataHelper.h.