PROJ C++ API
Public Member Functions | Static Public Member Functions | List of all members
osgeo::proj::crs::DerivedGeographicCRS Class Referencefinal

A derived coordinate reference system which has either a geodetic or a geographic coordinate reference system as its base CRS, thereby inheriting a geodetic reference frame, and an ellipsoidal coordinate system. More...

#include <crs.hpp>

Inheritance diagram for osgeo::proj::crs::DerivedGeographicCRS:
Inheritance graph
[legend]
Collaboration diagram for osgeo::proj::crs::DerivedGeographicCRS:
Collaboration graph
[legend]

Public Member Functions

const GeodeticCRSNNPtr baseCRS () const
 Return the base CRS (a GeodeticCRS) of a DerivedGeographicCRS. 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.
 
- Public Member Functions inherited from osgeo::proj::crs::GeographicCRS
const cs::EllipsoidalCSNNPtrcoordinateSystem () PROJ_CONST_DECL
 Return the cs::EllipsoidalCS associated with the CRS. More...
 
bool is2DPartOf3D (const GeographicCRSNNPtr &other) PROJ_CONST_DECL
 Return whether the current GeographicCRS is the 2D part of the other 3D GeographicCRS.
 
- Public Member Functions inherited from osgeo::proj::crs::GeodeticCRS
const datum::GeodeticReferenceFramePtrdatum () PROJ_CONST_DECL
 Return the datum::GeodeticReferenceFrame associated with the CRS. More...
 
const datum::PrimeMeridianNNPtrprimeMeridian () PROJ_CONST_DECL
 Return the PrimeMeridian associated with the GeodeticReferenceFrame or with one of the GeodeticReferenceFrame of the datumEnsemble(). More...
 
const datum::EllipsoidNNPtrellipsoid () PROJ_CONST_DECL
 Return the ellipsoid associated with the GeodeticReferenceFrame or with one of the GeodeticReferenceFrame of the datumEnsemble(). More...
 
const std::vector< operation::PointMotionOperationNNPtr > & velocityModel () PROJ_CONST_DECL
 Return the velocity model associated with the CRS. More...
 
bool isGeocentric () PROJ_CONST_DECL
 Return whether the CRS is a geocentric one. More...
 
- Public Member Functions inherited from osgeo::proj::crs::SingleCRS
const datum::DatumPtrdatum () PROJ_CONST_DECL
 Return the datum::Datum associated with the CRS. More...
 
const datum::DatumEnsemblePtrdatumEnsemble () PROJ_CONST_DECL
 Return the datum::DatumEnsemble associated with the CRS. More...
 
const cs::CoordinateSystemNNPtrcoordinateSystem () PROJ_CONST_DECL
 Return the cs::CoordinateSystem associated with the CRS. More...
 
- Public Member Functions inherited from osgeo::proj::crs::CRS
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 BoundCRSPtrcanonicalBoundCRS () PROJ_CONST_DECL
 Return the BoundCRS potentially attached to this CRS. More...
 
- Public Member Functions inherited from osgeo::proj::common::ObjectUsage
const std::vector< ObjectDomainNNPtr > & domains () PROJ_CONST_DECL
 Return the domains of the object.
 
- Public Member Functions inherited from osgeo::proj::common::IdentifiedObject
const metadata::IdentifierNNPtrname () 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.
 
- Public Member Functions inherited from osgeo::proj::io::IWKTExportable
std::string exportToWKT (WKTFormatter *formatter) const
 
- Public Member Functions inherited from osgeo::proj::io::IPROJStringExportable
std::string exportToPROJString (PROJStringFormatter *formatter) const
 Builds a PROJ string representation. More...
 
- Public Member Functions inherited from osgeo::proj::crs::DerivedCRS
const SingleCRSNNPtrbaseCRS () PROJ_CONST_DECL
 Return the base CRS of a DerivedCRS. More...
 
const operation::ConversionNNPtr derivingConversion () const
 Return the deriving conversion from the base CRS to this CRS. More...
 

Static Public Member Functions

static DerivedGeographicCRSNNPtr create (const util::PropertyMap &properties, const GeodeticCRSNNPtr &baseCRSIn, const operation::ConversionNNPtr &derivingConversionIn, const cs::EllipsoidalCSNNPtr &csIn)
 Instanciate a DerivedGeographicCRS from a base CRS, a deriving conversion and a cs::EllipsoidalCS. More...
 
- Static Public Member Functions inherited from osgeo::proj::crs::GeographicCRS
static GeographicCRSNNPtr create (const util::PropertyMap &properties, const datum::GeodeticReferenceFrameNNPtr &datum, const cs::EllipsoidalCSNNPtr &cs)
 Instanciate a GeographicCRS from a datum::GeodeticReferenceFrameNNPtr and a cs::EllipsoidalCS. More...
 
static GeographicCRSNNPtr create (const util::PropertyMap &properties, const datum::GeodeticReferenceFramePtr &datum, const datum::DatumEnsemblePtr &datumEnsemble, const cs::EllipsoidalCSNNPtr &cs)
 Instanciate a GeographicCRS from a datum::GeodeticReferenceFramePtr or datum::DatumEnsemble and a cs::EllipsoidalCS. More...
 
- Static Public Member Functions inherited from osgeo::proj::crs::GeodeticCRS
static GeodeticCRSNNPtr create (const util::PropertyMap &properties, const datum::GeodeticReferenceFrameNNPtr &datum, const cs::SphericalCSNNPtr &cs)
 Instanciate a GeodeticCRS from a datum::GeodeticReferenceFrame and a cs::SphericalCS. More...
 
static GeodeticCRSNNPtr create (const util::PropertyMap &properties, const datum::GeodeticReferenceFrameNNPtr &datum, const cs::CartesianCSNNPtr &cs)
 Instanciate a GeodeticCRS from a datum::GeodeticReferenceFrame and a cs::CartesianCS. More...
 
static GeodeticCRSNNPtr create (const util::PropertyMap &properties, const datum::GeodeticReferenceFramePtr &datum, const datum::DatumEnsemblePtr &datumEnsemble, const cs::SphericalCSNNPtr &cs)
 Instanciate a GeodeticCRS from a datum::GeodeticReferenceFrame or datum::DatumEnsemble and a cs::SphericalCS. More...
 
static GeodeticCRSNNPtr create (const util::PropertyMap &properties, const datum::GeodeticReferenceFramePtr &datum, const datum::DatumEnsemblePtr &datumEnsemble, const cs::CartesianCSNNPtr &cs)
 Instanciate a GeodeticCRS from a datum::GeodeticReferenceFrame or datum::DatumEnsemble and a cs::CartesianCS. More...
 
- Static Public Member Functions inherited from osgeo::proj::common::IdentifiedObject
static IdentifiedObjectNNPtr create (const util::PropertyMap &properties)
 Instanciate a new IdentifiedObject. More...
 

Additional Inherited Members

- Public Types inherited from osgeo::proj::util::IComparable
enum  Criterion { Criterion::STRICT, Criterion::EQUIVALENT }
 Comparison criterion. More...
 
- Static Public Attributes inherited from osgeo::proj::crs::GeographicCRS
static const GeographicCRSNNPtr EPSG_4267
 EPSG:4267 / "NAD27" 2D GeographicCRS.
 
static const GeographicCRSNNPtr EPSG_4269
 EPSG:4269 / "NAD83" 2D GeographicCRS.
 
static const GeographicCRSNNPtr EPSG_4326
 EPSG:4326 / "WGS 84" 2D GeographicCRS.
 
static const GeographicCRSNNPtr OGC_CRS84
 OGC:CRS84 / "CRS 84" 2D GeographicCRS (long, lat)
 
static const GeographicCRSNNPtr EPSG_4807
 EPSG:4807 / "NTF (Paris)" 2D GeographicCRS.
 
static const GeographicCRSNNPtr EPSG_4979
 EPSG:4979 / "WGS 84" 3D GeographicCRS.
 
- Static Public Attributes inherited from osgeo::proj::crs::GeodeticCRS
static const GeodeticCRSNNPtr EPSG_4978
 EPSG:4978 / "WGS 84" Geocentric.
 
- Static Public Attributes inherited from osgeo::proj::common::ObjectUsage
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...
 

Detailed Description

A derived coordinate reference system which has either a geodetic or a geographic coordinate reference system as its base CRS, thereby inheriting a geodetic reference frame, and an ellipsoidal coordinate system.

A derived geographic CRS can be based on a geodetic CRS only if that geodetic CRS definition includes an ellipsoid.

Remarks
Implements DerivedGeographicCRS from ISO 19111:2018

Member Function Documentation

const GeodeticCRSNNPtr osgeo::proj::crs::DerivedGeographicCRS::baseCRS ( ) const

Return the base CRS (a GeodeticCRS) of a DerivedGeographicCRS.

Returns
the base CRS.
DerivedGeographicCRSNNPtr osgeo::proj::crs::DerivedGeographicCRS::create ( const util::PropertyMap properties,
const GeodeticCRSNNPtr baseCRSIn,
const operation::ConversionNNPtr derivingConversionIn,
const cs::EllipsoidalCSNNPtr csIn 
)
static

Instanciate a DerivedGeographicCRS from a base CRS, a deriving conversion and a cs::EllipsoidalCS.

Parameters
propertiesSee General properties. At minimum the name should be defined.
baseCRSInbase CRS.
derivingConversionInthe deriving conversion from the base CRS to this CRS.
csInthe coordinate system.
Returns
new DerivedGeographicCRS.
bool osgeo::proj::crs::DerivedGeographicCRS::isEquivalentTo ( const util::IComparable other,
util::IComparable::Criterion  criterion = util::IComparable::Criterion::STRICT 
) const
overridevirtual

Returns whether an object is equivalent to another one.

Parameters
otherother object to compare to
criterioncomparaison criterion.
Returns
true if objects are equivalent.

Reimplemented from osgeo::proj::crs::DerivedCRS.


The documentation for this class was generated from the following files: