\hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{}\doxysection{osgeo\+::proj\+::crs\+::Geographic\+CRS Class Reference}
\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}\index{osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}}


A coordinate reference system associated with a geodetic reference frame and a two-\/ or three-\/dimensional ellipsoidal coordinate system.  




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



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


Collaboration diagram for osgeo\+::proj\+::crs\+::Geographic\+CRS\+:
% FIG 1
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1cs_ad9c68dff3a80ae63cc059ce6f314efad}{cs\+::\+Ellipsoidal\+CSNNPtr}} \& \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a7ec582fbecfe868b6421e8a707328675}{coordinate\+System}} ()
\begin{DoxyCompactList}\small\item\em Return the \mbox{\hyperlink{classosgeo_1_1proj_1_1cs_1_1EllipsoidalCS}{cs\+::\+Ellipsoidal\+CS}} associated with the \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a224b44815b1baf0acf71b9a7ef081fec}{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_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a061755452ed0394868eca18242855983}{create}} (const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1PropertyMap}{util\+::\+Property\+Map}} \&properties, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1datum_a20e65946290b56257dc34c204287107f}{datum\+::\+Geodetic\+Reference\+Frame\+NNPtr}} \&\mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeodeticCRS_a93b3f2e7ca4ea2b1e71374986df48fb5}{datum}}, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1cs_ad9c68dff3a80ae63cc059ce6f314efad}{cs\+::\+Ellipsoidal\+CSNNPtr}} \&cs)
\begin{DoxyCompactList}\small\item\em Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}} from a \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1datum_a20e65946290b56257dc34c204287107f}{datum\+::\+Geodetic\+Reference\+Frame\+NNPtr}} and a \mbox{\hyperlink{classosgeo_1_1proj_1_1cs_1_1EllipsoidalCS}{cs\+::\+Ellipsoidal\+CS}}. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_ac18d801f7411cd7d7c5be7d0099a58a3}{create}} (const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1PropertyMap}{util\+::\+Property\+Map}} \&properties, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1datum_a48a7dace5dc8b03afd29080f4fc783c2}{datum\+::\+Geodetic\+Reference\+Frame\+Ptr}} \&\mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeodeticCRS_a93b3f2e7ca4ea2b1e71374986df48fb5}{datum}}, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1datum_a3d78f84b55b215bf4486be9e0257bb2d}{datum\+::\+Datum\+Ensemble\+Ptr}} \&\mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1SingleCRS_a7cf330b91c9bea4f71c23e1d42368949}{datum\+Ensemble}}, const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1cs_ad9c68dff3a80ae63cc059ce6f314efad}{cs\+::\+Ellipsoidal\+CSNNPtr}} \&cs)
\begin{DoxyCompactList}\small\item\em Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}} from a \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1datum_a48a7dace5dc8b03afd29080f4fc783c2}{datum\+::\+Geodetic\+Reference\+Frame\+Ptr}} or \mbox{\hyperlink{classosgeo_1_1proj_1_1datum_1_1DatumEnsemble}{datum\+::\+Datum\+Ensemble}} and a \mbox{\hyperlink{classosgeo_1_1proj_1_1cs_1_1EllipsoidalCS}{cs\+::\+Ellipsoidal\+CS}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a049966d734629a8bd4e776cb93408312}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a049966d734629a8bd4e776cb93408312}} 
static const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} {\bfseries EPSG\+\_\+4267}
\begin{DoxyCompactList}\small\item\em EPSG\+:4267 / \char`\"{}\+NAD27\char`\"{} 2D \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a13302344e6a8a8472e039959cf972288}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a13302344e6a8a8472e039959cf972288}} 
static const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} {\bfseries EPSG\+\_\+4269}
\begin{DoxyCompactList}\small\item\em EPSG\+:4269 / \char`\"{}\+NAD83\char`\"{} 2D \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_abff4b412d50bd19a767eb44d04aac37a}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_abff4b412d50bd19a767eb44d04aac37a}} 
static const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} {\bfseries EPSG\+\_\+4326}
\begin{DoxyCompactList}\small\item\em EPSG\+:4326 / \char`\"{}\+WGS 84\char`\"{} 2D \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_ae7cc7b004c24ef3946e76d9c9a5d1748}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_ae7cc7b004c24ef3946e76d9c9a5d1748}} 
static const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} {\bfseries OGC\+\_\+\+CRS84}
\begin{DoxyCompactList}\small\item\em OGC\+:CRS84 / \char`\"{}\+CRS 84\char`\"{} 2D \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}} (long, lat) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a6a2e0c2f5c1bdc09f228456fe227d283}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a6a2e0c2f5c1bdc09f228456fe227d283}} 
static const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} {\bfseries EPSG\+\_\+4807}
\begin{DoxyCompactList}\small\item\em EPSG\+:4807 / \char`\"{}\+NTF (\+Paris)\char`\"{} 2D \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a8ee1d479de2533e0fb989c93c2322830}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a8ee1d479de2533e0fb989c93c2322830}} 
static const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} {\bfseries EPSG\+\_\+4979}
\begin{DoxyCompactList}\small\item\em EPSG\+:4979 / \char`\"{}\+WGS 84\char`\"{} 3D \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
A coordinate reference system associated with a geodetic reference frame and a two-\/ or three-\/dimensional ellipsoidal coordinate system. 

If the geodetic reference frame is dynamic or if the geographic \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} has an association to a velocity model then the geodetic \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}} is dynamic, else it is static.

\begin{DoxyRemark}{Remarks}
Implements \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{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_1GeographicCRS_a7ec582fbecfe868b6421e8a707328675}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a7ec582fbecfe868b6421e8a707328675}} 
\index{osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}!coordinateSystem@{coordinateSystem}}
\index{coordinateSystem@{coordinateSystem}!osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}}
\doxysubsubsection{\texorpdfstring{coordinateSystem()}{coordinateSystem()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1cs_ad9c68dff3a80ae63cc059ce6f314efad}{cs\+::\+Ellipsoidal\+CSNNPtr}} \& osgeo\+::proj\+::crs\+::\+Geographic\+CRS\+::coordinate\+System (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Return the \mbox{\hyperlink{classosgeo_1_1proj_1_1cs_1_1EllipsoidalCS}{cs\+::\+Ellipsoidal\+CS}} associated with the \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}. 

\begin{DoxyReturn}{Returns}
a Ellipsoidal\+CS. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a061755452ed0394868eca18242855983}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a061755452ed0394868eca18242855983}} 
\index{osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}!create@{create}}
\index{create@{create}!osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} osgeo\+::proj\+::crs\+::\+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_1datum_a20e65946290b56257dc34c204287107f}{datum\+::\+Geodetic\+Reference\+Frame\+NNPtr}} \&}]{datum,  }\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1cs_ad9c68dff3a80ae63cc059ce6f314efad}{cs\+::\+Ellipsoidal\+CSNNPtr}} \&}]{cs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}} from a \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1datum_a20e65946290b56257dc34c204287107f}{datum\+::\+Geodetic\+Reference\+Frame\+NNPtr}} 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 datum} & The datum of the \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}. \\
\hline
{\em cs} & a Ellipsoidal\+CS. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_ac18d801f7411cd7d7c5be7d0099a58a3}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_ac18d801f7411cd7d7c5be7d0099a58a3}} 
\index{osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}!create@{create}}
\index{create@{create}!osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} osgeo\+::proj\+::crs\+::\+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_1datum_a48a7dace5dc8b03afd29080f4fc783c2}{datum\+::\+Geodetic\+Reference\+Frame\+Ptr}} \&}]{datum,  }\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1datum_a3d78f84b55b215bf4486be9e0257bb2d}{datum\+::\+Datum\+Ensemble\+Ptr}} \&}]{datum\+Ensemble,  }\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1cs_ad9c68dff3a80ae63cc059ce6f314efad}{cs\+::\+Ellipsoidal\+CSNNPtr}} \&}]{cs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}} from a \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1datum_a48a7dace5dc8b03afd29080f4fc783c2}{datum\+::\+Geodetic\+Reference\+Frame\+Ptr}} or \mbox{\hyperlink{classosgeo_1_1proj_1_1datum_1_1DatumEnsemble}{datum\+::\+Datum\+Ensemble}} and a \mbox{\hyperlink{classosgeo_1_1proj_1_1cs_1_1EllipsoidalCS}{cs\+::\+Ellipsoidal\+CS}}. 

One and only one of datum or datum\+Ensemble should be set to a non-\/null value.


\begin{DoxyParams}{Parameters}
{\em properties} & See \mbox{\hyperlink{general_doc_general_properties}{General properties}}. At minimum the name should be defined. \\
\hline
{\em datum} & The datum of the \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}, or nullptr \\
\hline
{\em datum\+Ensemble} & The datum ensemble of the \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1CRS}{CRS}}, or nullptr. \\
\hline
{\em cs} & a Ellipsoidal\+CS. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new \mbox{\hyperlink{classosgeo_1_1proj_1_1crs_1_1GeographicCRS}{Geographic\+CRS}}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a224b44815b1baf0acf71b9a7ef081fec}\label{classosgeo_1_1proj_1_1crs_1_1GeographicCRS_a224b44815b1baf0acf71b9a7ef081fec}} 
\index{osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}!demoteTo2D@{demoteTo2D}}
\index{demoteTo2D@{demoteTo2D}!osgeo::proj::crs::GeographicCRS@{osgeo::proj::crs::GeographicCRS}}
\doxysubsubsection{\texorpdfstring{demoteTo2D()}{demoteTo2D()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1crs_a95429910f6055b29fa53181cac2557ab}{Geographic\+CRSNNPtr}} osgeo\+::proj\+::crs\+::\+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}
6.\+3 
\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\item 
src/iso19111/static.\+cpp\end{DoxyCompactItemize}
