PROJ C++ API
|
Usage of a CRS-related object. More...
#include <common.hpp>
Public Member Functions | |
const std::vector< ObjectDomainNNPtr > & | domains () PROJ_CONST_DECL |
Return the domains of the object. | |
bool | isEquivalentTo (const util::IComparable *other, util::IComparable::Criterion criterion=util::IComparable::Criterion::STRICT) const override |
Returns whether an object is equivalent to another one. More... | |
Public Member Functions inherited from osgeo::proj::common::IdentifiedObject | |
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. | |
Static Public Attributes | |
static const std::string | SCOPE_KEY |
Key to set the scope of a common::ObjectUsage. More... | |
static const std::string | DOMAIN_OF_VALIDITY_KEY |
Key to set the domain of validity of a common::ObjectUsage. More... | |
static const std::string | OBJECT_DOMAIN_KEY |
Key to set the object domain(s) of a common::ObjectUsage. More... | |
Static Public Attributes inherited from osgeo::proj::common::IdentifiedObject | |
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... | |
Additional Inherited Members | |
Public Types inherited from osgeo::proj::util::IComparable | |
enum | Criterion { Criterion::STRICT, Criterion::EQUIVALENT } |
Comparison criterion. More... | |
Static Public Member Functions inherited from osgeo::proj::common::IdentifiedObject | |
static IdentifiedObjectNNPtr | create (const util::PropertyMap &properties) |
Instanciate a new IdentifiedObject. More... | |
Usage of a CRS-related object.
|
overridevirtual |
Returns whether an object is equivalent to another one.
other | other object to compare to |
criterion | comparaison criterion. |
Implements osgeo::proj::util::IComparable.
Reimplemented in osgeo::proj::operation::ConcatenatedOperation, osgeo::proj::crs::DerivedVerticalCRS, osgeo::proj::crs::DerivedProjectedCRS, osgeo::proj::crs::DerivedGeographicCRS, osgeo::proj::crs::DerivedGeodeticCRS, osgeo::proj::crs::BoundCRS, osgeo::proj::datum::ParametricDatum, osgeo::proj::crs::CompoundCRS, osgeo::proj::datum::EngineeringDatum, osgeo::proj::crs::ParametricCRS, osgeo::proj::datum::TemporalDatum, osgeo::proj::crs::EngineeringCRS, osgeo::proj::datum::DynamicVerticalReferenceFrame, osgeo::proj::crs::TemporalCRS, osgeo::proj::datum::VerticalReferenceFrame, osgeo::proj::operation::SingleOperation, osgeo::proj::crs::ProjectedCRS, osgeo::proj::datum::DynamicGeodeticReferenceFrame, osgeo::proj::crs::DerivedCRS, osgeo::proj::datum::GeodeticReferenceFrame, osgeo::proj::crs::VerticalCRS, and osgeo::proj::crs::GeodeticCRS.
|
static |
Key to set the domain of validity of a common::ObjectUsage.
The value is to be provided as a common::ExtentNNPtr.
|
static |
Key to set the object domain(s) of a common::ObjectUsage.
The value is to be provided as a common::ObjectDomainNNPtr or a util::ArrayOfBaseObjectNNPtr of common::ObjectDomainNNPtr.
|
static |
Key to set the scope of a common::ObjectUsage.
The value is to be provided as a string.