PROJ C++ API
|
A collection of two or more geodetic or vertical reference frames (or if not geodetic or vertical reference frame, a collection of two or more datums) which for all but the highest accuracy requirements may be considered to be insignificantly different from each other. More...
#include <datum.hpp>
Public Member Functions | |
const std::vector< DatumNNPtr > & | datums () const |
Return the set of datums which may be considered to be insignificantly different from each other. More... | |
const metadata::PositionalAccuracyNNPtr & | positionalAccuracy () const |
Return the inaccuracy introduced through use of this collection of datums. More... | |
![]() | |
const metadata::IdentifierNNPtr & | name () PROJ_CONST_DECL |
Return the name of the object. More... | |
const std::string & | nameStr () PROJ_CONST_DECL |
Return the name of the object. More... | |
const std::vector< metadata::IdentifierNNPtr > & | identifiers () PROJ_CONST_DECL |
Return the identifier(s) of the object. More... | |
const std::vector< util::GenericNameNNPtr > & | aliases () PROJ_CONST_DECL |
Return the alias(es) of the object. | |
const std::string & | remarks () PROJ_CONST_DECL |
Return the remarks. | |
bool | isDeprecated () PROJ_CONST_DECL |
Return whether the object is deprecated. More... | |
std::string | alias () PROJ_CONST_DECL |
Return the (first) alias of the object as a string. More... | |
int | getEPSGCode () PROJ_CONST_DECL |
Return the EPSG code. More... | |
bool | isEPSG (int code) PROJ_CONST_DECL |
Return whether the object has a identifiers() in the EPSG code space. | |
![]() | |
virtual bool | isEquivalentTo (const IComparable *other, Criterion criterion=Criterion::STRICT) const =0 |
Returns whether an object is equivalent to another one. More... | |
![]() | |
std::string | exportToWKT (WKTFormatter *formatter) const |
Static Public Member Functions | |
static DatumEnsembleNNPtr | create (const util::PropertyMap &properties, const std::vector< DatumNNPtr > &datumsIn, const metadata::PositionalAccuracyNNPtr &accuracy) |
Instanciate a DatumEnsemble. More... | |
![]() | |
static IdentifiedObjectNNPtr | create (const util::PropertyMap &properties) |
Instanciate a new IdentifiedObject. More... | |
Additional Inherited Members | |
![]() | |
enum | Criterion { Criterion::STRICT, Criterion::EQUIVALENT } |
Comparison criterion. More... | |
![]() | |
static const std::string | NAME_KEY |
Key to set the name of a common::IdentifiedObject. More... | |
static const std::string | IDENTIFIERS_KEY |
Key to set the identifier(s) of a common::IdentifiedObject. More... | |
static const std::string | ALIAS_KEY |
Key to set the alias(es) of a common::IdentifiedObject. More... | |
static const std::string | REMARKS_KEY |
Key to set the remarks of a common::IdentifiedObject. More... | |
static const std::string | DEPRECATED_KEY |
Key to set the deprecation flag of a common::IdentifiedObject. More... | |
A collection of two or more geodetic or vertical reference frames (or if not geodetic or vertical reference frame, a collection of two or more datums) which for all but the highest accuracy requirements may be considered to be insignificantly different from each other.
Every frame within the datum ensemble must be a realizations of the same Terrestrial Reference System or Vertical Reference System.
|
static |
Instanciate a DatumEnsemble.
properties | See General properties. At minimum the name should be defined. |
datumsIn | Array of at least 2 datums. |
accuracy | Accuracy of the datum ensemble |
util::Exception |
const std::vector< DatumNNPtr > & osgeo::proj::datum::DatumEnsemble::datums | ( | ) | const |
Return the set of datums which may be considered to be insignificantly different from each other.
const metadata::PositionalAccuracyNNPtr & osgeo::proj::datum::DatumEnsemble::positionalAccuracy | ( | ) | const |
Return the inaccuracy introduced through use of this collection of datums.
It is an indication of the differences in coordinate values at all points between the various realizations that have been grouped into this datum ensemble.