\hypertarget{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS}{}\doxysection{osgeo\+::proj\+::crs\+::Derived\+Geographic\+CRS Class Reference}
\label{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS}\index{osgeo::proj::crs::DerivedGeographicCRS@{osgeo::proj::crs::DerivedGeographicCRS}}


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




{\ttfamily \#include $<$crs.\+hpp$>$}



Inheritance diagram for osgeo\+::proj\+::crs\+::Derived\+Geographic\+CRS\+:
% FIG 0


Collaboration diagram for osgeo\+::proj\+::crs\+::Derived\+Geographic\+CRS\+:
% FIG 1
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a853cc8ce6a9586cf08f48ab058f0ff3e}{Geodetic\+CRSNNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_a8364517004acf89a0d7da1adeaad0b7e}{base\+CRS}} () const
\begin{DoxyCompactList}\small\item\em Return the base \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} (a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeodeticCRS}{Geodetic\+CRS}}) of a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS}{Derived\+Geographic\+CRS}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_aebed789aeb5f42379edbfdc40c1a70fb}{Derived\+Geographic\+CRSNNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_ab9aa622d6829295355a0c7f55a4967b7}{demote\+To2D}} (const std\+::string \&new\+Name, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_ac071e92c14195058e37bcd4c7b75b42f}{io\+::\+Database\+Context\+Ptr}} \&db\+Context) const
\begin{DoxyCompactList}\small\item\em Return a variant of this \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} \char`\"{}demoted\char`\"{} to a 2D one, if not already the case. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_aebed789aeb5f42379edbfdc40c1a70fb}{Derived\+Geographic\+CRSNNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_ac1bda0860a9d9e68ac8bd87c059ad1a2}{create}} (const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1PropertyMap}{util\+::\+Property\+Map}} \&properties, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a853cc8ce6a9586cf08f48ab058f0ff3e}{Geodetic\+CRSNNPtr}} \&base\+CRSIn, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1operation_a4cec974a8b9f98f8567889e5ad653f5c}{operation\+::\+Conversion\+NNPtr}} \&deriving\+Conversion\+In, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1cs_ad9c68dff3a80ae63cc059ce6f314efad}{cs\+::\+Ellipsoidal\+CSNNPtr}} \&cs\+In)
\begin{DoxyCompactList}\small\item\em Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS}{Derived\+Geographic\+CRS}} from a base \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}, a deriving conversion and a \mbox{\hyperlink{classosgeo_1_1proj_1_1cs_1_1EllipsoidalCS}{cs\+::\+Ellipsoidal\+CS}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
A derived coordinate reference system which has either a geodetic or a geographic coordinate reference system as its base \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}, thereby inheriting a geodetic reference frame, and an ellipsoidal coordinate system. 

A derived geographic \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} can be based on a geodetic \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} only if that geodetic \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} definition includes an ellipsoid.

\begin{DoxyRemark}{Remarks}
Implements \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS}{Derived\+Geographic\+CRS}} from \mbox{\hyperlink{general_doc_ISO_19111_2019}{ISO 19111\+:2019}} 
\end{DoxyRemark}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_a8364517004acf89a0d7da1adeaad0b7e}\label{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_a8364517004acf89a0d7da1adeaad0b7e}} 
\index{osgeo::proj::crs::DerivedGeographicCRS@{osgeo::proj::crs::DerivedGeographicCRS}!baseCRS@{baseCRS}}
\index{baseCRS@{baseCRS}!osgeo::proj::crs::DerivedGeographicCRS@{osgeo::proj::crs::DerivedGeographicCRS}}
\doxysubsubsection{\texorpdfstring{baseCRS()}{baseCRS()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a853cc8ce6a9586cf08f48ab058f0ff3e}{Geodetic\+CRSNNPtr}} osgeo\+::proj\+::crs\+::\+Derived\+Geographic\+CRS\+::base\+CRS (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Return the base \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} (a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeodeticCRS}{Geodetic\+CRS}}) of a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS}{Derived\+Geographic\+CRS}}. 

\begin{DoxyReturn}{Returns}
the base \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_ac1bda0860a9d9e68ac8bd87c059ad1a2}\label{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_ac1bda0860a9d9e68ac8bd87c059ad1a2}} 
\index{osgeo::proj::crs::DerivedGeographicCRS@{osgeo::proj::crs::DerivedGeographicCRS}!create@{create}}
\index{create@{create}!osgeo::proj::crs::DerivedGeographicCRS@{osgeo::proj::crs::DerivedGeographicCRS}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_aebed789aeb5f42379edbfdc40c1a70fb}{Derived\+Geographic\+CRSNNPtr}} osgeo\+::proj\+::crs\+::\+Derived\+Geographic\+CRS\+::create (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1PropertyMap}{util\+::\+Property\+Map}} \&}]{properties,  }\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a853cc8ce6a9586cf08f48ab058f0ff3e}{Geodetic\+CRSNNPtr}} \&}]{base\+CRSIn,  }\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1operation_a4cec974a8b9f98f8567889e5ad653f5c}{operation\+::\+Conversion\+NNPtr}} \&}]{deriving\+Conversion\+In,  }\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1cs_ad9c68dff3a80ae63cc059ce6f314efad}{cs\+::\+Ellipsoidal\+CSNNPtr}} \&}]{cs\+In }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS}{Derived\+Geographic\+CRS}} from a base \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}, a deriving conversion and a \mbox{\hyperlink{classosgeo_1_1proj_1_1cs_1_1EllipsoidalCS}{cs\+::\+Ellipsoidal\+CS}}. 


\begin{DoxyParams}{Parameters}
{\em properties} & See \mbox{\hyperlink{general_doc_general_properties}{General properties}}. At minimum the name should be defined. \\
\hline
{\em base\+CRSIn} & base \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}. \\
\hline
{\em deriving\+Conversion\+In} & the deriving conversion from the base \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} to this \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}. \\
\hline
{\em cs\+In} & the coordinate system. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS}{Derived\+Geographic\+CRS}}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_ab9aa622d6829295355a0c7f55a4967b7}\label{classosgeo_1_1proj_1_1crs_1_1DerivedGeographicCRS_ab9aa622d6829295355a0c7f55a4967b7}} 
\index{osgeo::proj::crs::DerivedGeographicCRS@{osgeo::proj::crs::DerivedGeographicCRS}!demoteTo2D@{demoteTo2D}}
\index{demoteTo2D@{demoteTo2D}!osgeo::proj::crs::DerivedGeographicCRS@{osgeo::proj::crs::DerivedGeographicCRS}}
\doxysubsubsection{\texorpdfstring{demoteTo2D()}{demoteTo2D()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_aebed789aeb5f42379edbfdc40c1a70fb}{Derived\+Geographic\+CRSNNPtr}} osgeo\+::proj\+::crs\+::\+Derived\+Geographic\+CRS\+::demote\+To2D (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{new\+Name,  }\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_ac071e92c14195058e37bcd4c7b75b42f}{io\+::\+Database\+Context\+Ptr}} \&}]{db\+Context }\end{DoxyParamCaption}) const}



Return a variant of this \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} \char`\"{}demoted\char`\"{} to a 2D one, if not already the case. 


\begin{DoxyParams}{Parameters}
{\em new\+Name} & Name of the new \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}. If empty, \mbox{\hyperlink{classosgeo_1_1proj_1_1common_1_1IdentifiedObject_a2294fccce17a073461428e6b229ea8d8}{name\+Str()}} will be used. \\
\hline
{\em db\+Context} & Database context to look for potentially already registered 2D \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}. May be nullptr. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} demoted to 2D, or the current one if already 2D or not applicable. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
8.\+1.\+1 
\end{DoxySince}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
include/proj/crs.\+hpp\item 
src/iso19111/crs.\+cpp\end{DoxyCompactItemize}
