PROJ C++ API
|
Contextually local coordinate reference system associated with an engineering datum. More...
#include <crs.hpp>
Public Member Functions | |
const datum::EngineeringDatumNNPtr | datum () const |
Return the datum::EngineeringDatum associated with the CRS. More... | |
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... | |
CRSNNPtr | shallowClone () const override |
Return a shallow clone of this object. | |
![]() | |
const datum::DatumPtr & | datum () PROJ_CONST_DECL |
Return the datum::Datum associated with the CRS. More... | |
const datum::DatumEnsemblePtr & | datumEnsemble () PROJ_CONST_DECL |
Return the datum::DatumEnsemble associated with the CRS. More... | |
const cs::CoordinateSystemNNPtr & | coordinateSystem () PROJ_CONST_DECL |
Return the cs::CoordinateSystem associated with the CRS. More... | |
![]() | |
GeodeticCRSPtr | extractGeodeticCRS () const |
Return the GeodeticCRS of the CRS. More... | |
GeographicCRSPtr | extractGeographicCRS () const |
Return the GeographicCRS of the CRS. More... | |
VerticalCRSPtr | extractVerticalCRS () const |
Return the VerticalCRS of the CRS. More... | |
CRSNNPtr | createBoundCRSToWGS84IfPossible (io::DatabaseContextPtr dbContext) const |
Returns potentially a BoundCRS, with a transformation to EPSG:4326, wrapping this CRS. More... | |
CRSNNPtr | stripVerticalComponent () const |
Returns a CRS whose coordinate system does not contain a vertical component. More... | |
const BoundCRSPtr & | canonicalBoundCRS () PROJ_CONST_DECL |
Return the BoundCRS potentially attached to this CRS. More... | |
![]() | |
const std::vector< ObjectDomainNNPtr > & | domains () PROJ_CONST_DECL |
Return the domains of the object. | |
![]() | |
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. | |
![]() | |
std::string | exportToWKT (WKTFormatter *formatter) const |
Static Public Member Functions | |
static EngineeringCRSNNPtr | create (const util::PropertyMap &properties, const datum::EngineeringDatumNNPtr &datumIn, const cs::CoordinateSystemNNPtr &csIn) |
Instanciate a EngineeringCRS from a datum and a coordinate system. 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 | 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 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... | |
Contextually local coordinate reference system associated with an engineering datum.
It is applied either to activities on or near the surface of the Earth without geodetic corrections, or on moving platforms such as road vehicles, vessels, aircraft or spacecraft, or as the internal CRS of an image.
In WKT2 standard, it maps to a ENGINEERINGCRS / ENGCRS keyword. In WKT1 specification, it maps to a LOCAL_CS keyword.
|
static |
Instanciate a EngineeringCRS from a datum and a coordinate system.
properties | See General properties. At minimum the name should be defined. |
datumIn | the datum. |
csIn | the coordinate system. |
const datum::EngineeringDatumNNPtr osgeo::proj::crs::EngineeringCRS::datum | ( | ) | const |
Return the datum::EngineeringDatum associated with the CRS.
|
overridevirtual |
Returns whether an object is equivalent to another one.
other | other object to compare to |
criterion | comparaison criterion. |
Reimplemented from osgeo::proj::common::ObjectUsage.