![]() |
OTB
10.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) |
void | ParseSpot5Model (const MetadataSupplierInterface &mds, Spot5Param &spot5Param, const std::string &prefix="Dimap_Document.") |
Private Member Functions | |
template<class T > | |
T | GetSingleValueFromList (const MetadataSupplierInterface &mds, const std::string &prefix, const std::string &name) |
double | GetTime (const std::string &timeStr) |
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 90 of file otbDimapMetadataHelper.h.
|
default |
|
inline |
Definition at line 96 of file otbDimapMetadataHelper.h.
|
inlineprivate |
Definition at line 220 of file otbDimapMetadataHelper.h.
|
inlineprivate |
Definition at line 230 of file otbDimapMetadataHelper.h.
References otb::MetaData::ReadFormattedDate().
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
void otb::DimapMetadataHelper::ParseSpot5Model | ( | const MetadataSupplierInterface & | mds, |
Spot5Param & | spot5Param, | ||
const std::string & | prefix = "Dimap_Document." |
||
) |
|
inlineprivate |
Definition at line 118 of file otbDimapMetadataHelper.h.
References otb::MetadataSupplierInterface::GetMetadataValue(), and otbGenericExceptionMacro.
|
inlineprivate |
Definition at line 170 of file otbDimapMetadataHelper.h.
References otb::MetadataSupplierInterface::GetMetadataValue().
|
private |
Definition at line 244 of file otbDimapMetadataHelper.h.