\hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{}\doxysection{osgeo\+::proj\+::io\+::WKTFormatter Class Reference}
\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}


Formatter to WKT strings.  




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

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum class \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42}{Convention}} \{ \newline
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42acbbf33e2fa1d0e7754df8c2ab40bf7a2}{WKT2}}
, {\bfseries WKT2\+\_\+2015} = WKT2
, \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a8a4e61323a3ab9204ff3ac3cd8b23c39}{WKT2\+\_\+\+SIMPLIFIED}}
, {\bfseries WKT2\+\_\+2015\+\_\+\+SIMPLIFIED} = WKT2\+\_\+\+SIMPLIFIED
, \newline
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42ac634e196cf84127855e2ff4569674d0d}{WKT2\+\_\+2019}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a127c3d731e34f71ebb200e6e06ad5a5c}{WKT2\+\_\+2018}} = WKT2\+\_\+2019
, \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a1a237b13d56f5b895c4e3abf9749783e}{WKT2\+\_\+2019\+\_\+\+SIMPLIFIED}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a930b32926b14489596931367ca096312}{WKT2\+\_\+2018\+\_\+\+SIMPLIFIED}} = WKT2\+\_\+2019\+\_\+\+SIMPLIFIED
, \newline
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a85c43e48faba72b30e6501b41536afe5}{WKT1\+\_\+\+GDAL}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a8da08577d1e0b736b2259c71c40f0e38}{WKT1\+\_\+\+ESRI}}
 \}
\item 
enum class \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026be}{Output\+Axis\+Rule}} \{ \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026bea7469a286259799e5b37e5db9296f00b3}{YES}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026beac2f3f489a00553e7a01d369c103c7251}{NO}}
, \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026beaa74a90ea973600924adeb2ed914912d0}{WKT1\+\_\+\+GDAL\+\_\+\+EPSG\+\_\+\+STYLE}}
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a26e2d521962c6ac624f1ef92a5edf097}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a26e2d521962c6ac624f1ef92a5edf097}} 
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{WKTFormatter}} \& {\bfseries set\+Multi\+Line} (bool multi\+Line) noexcept
\begin{DoxyCompactList}\small\item\em Whether to use multi line output or not. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a36c59d7b770553e59b2c732b2434cb20}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a36c59d7b770553e59b2c732b2434cb20}} 
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{WKTFormatter}} \& {\bfseries set\+Indentation\+Width} (int width) noexcept
\begin{DoxyCompactList}\small\item\em Set number of spaces for each indentation level (defaults to 4). \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a864b89e4461c55a6a0ffdede96f0ce7e}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a864b89e4461c55a6a0ffdede96f0ce7e}} 
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{WKTFormatter}} \& {\bfseries set\+Output\+Axis} (\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026be}{Output\+Axis\+Rule}} output\+Axis) noexcept
\begin{DoxyCompactList}\small\item\em Set whether AXIS nodes should be output. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{WKTFormatter}} \& \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a2215fa990461f2b1b55d189d75f0e0c8}{set\+Strict}} (bool strict) noexcept
\begin{DoxyCompactList}\small\item\em Set whether the formatter should operate on strict more or not. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a19e26032d84ffd9ff9ee250a48a74226}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a19e26032d84ffd9ff9ee250a48a74226}} 
bool {\bfseries is\+Strict} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns whether the formatter is in strict mode. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a8b527b86e20efab750a11b9bacde7579}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a8b527b86e20efab750a11b9bacde7579}} 
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{WKTFormatter}} \& {\bfseries set\+Allow\+Ellipsoidal\+Height\+As\+Vertical\+CRS} (bool allow) noexcept
\begin{DoxyCompactList}\small\item\em Set whether the formatter should export, in WKT1, a Geographic or Projected 3D CRS as a compound CRS whose vertical part represents an ellipsoidal height. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a7f86957f40d9d02af2dab7fbe78ca319}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a7f86957f40d9d02af2dab7fbe78ca319}} 
bool {\bfseries is\+Allowed\+Ellipsoidal\+Height\+As\+Vertical\+CRS} () const noexcept
\begin{DoxyCompactList}\small\item\em Return whether the formatter should export, in WKT1, a Geographic or Projected 3D CRS as a compound CRS whose vertical part represents an ellipsoidal height. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{WKTFormatter}} \& \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a9e44f44081551ac089ba6192ab653dbd}{set\+Allow\+LINUNITNode}} (bool allow) noexcept
\begin{DoxyCompactList}\small\item\em Set whether the formatter should export, in WKT1\+\_\+\+ESRI, a Geographic 3D CRS with the relatively new (Arc\+GIS Pro \texorpdfstring{$>$}{>}= 2.\+7) LINUNIT node. Defaults to true. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_aec93f27e2ddfdaf782a855e3b117fd97}{is\+Allowed\+LINUNITNode}} () const noexcept
\begin{DoxyCompactList}\small\item\em Return whether the formatter should export, in WKT1\+\_\+\+ESRI, a Geographic 3D CRS with the relatively new (Arc\+GIS Pro \texorpdfstring{$>$}{>}= 2.\+7) LINUNIT node. Defaults to true. \end{DoxyCompactList}\item 
const std\+::string \& \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_af87098d4bdf970367f9748dffc1c2b09}{to\+String}} () const
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_af24cb641beac0083bd63f376dda49d39}{WKTFormatter\+NNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_aaafd5ce78d723ab3aec74191a69832dd}{create}} (\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42}{Convention}} convention=\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42acbbf33e2fa1d0e7754df8c2ab40bf7a2}{Convention\+::\+WKT2}}, \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_ac071e92c14195058e37bcd4c7b75b42f}{Database\+Context\+Ptr}} db\+Context=nullptr)
\begin{DoxyCompactList}\small\item\em Constructs a new formatter. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_af24cb641beac0083bd63f376dda49d39}{WKTFormatter\+NNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae4a509770be220e93e521eb86124fa53}{create}} (const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_af24cb641beac0083bd63f376dda49d39}{WKTFormatter\+NNPtr}} \&other)
\begin{DoxyCompactList}\small\item\em Constructs a new formatter from another one. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Formatter to WKT strings. 

An instance of this class can only be used by a single thread at a time. 

\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42}} 
\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!Convention@{Convention}}
\index{Convention@{Convention}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}
\doxysubsubsection{\texorpdfstring{Convention}{Convention}}
{\footnotesize\ttfamily enum class \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42}{osgeo\+::proj\+::io\+::\+WKTFormatter\+::\+Convention}}\hspace{0.3cm}{\ttfamily [strong]}}

WKT variant. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT2@{WKT2}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT2@{WKT2}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42acbbf33e2fa1d0e7754df8c2ab40bf7a2}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42acbbf33e2fa1d0e7754df8c2ab40bf7a2}} 
WKT2&Full WKT2 string, conforming to ISO 19162\+:2015(E) / OGC 12-\/063r5 (\mbox{\hyperlink{general_doc_WKT2_2015}{WKT2\+:2015}}) with all possible nodes and new keyword names. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT2\_SIMPLIFIED@{WKT2\_SIMPLIFIED}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT2\_SIMPLIFIED@{WKT2\_SIMPLIFIED}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a8a4e61323a3ab9204ff3ac3cd8b23c39}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a8a4e61323a3ab9204ff3ac3cd8b23c39}} 
WKT2\+\_\+\+SIMPLIFIED&Same as WKT2 with the following exceptions\+: 
\begin{DoxyItemize}
\item UNIT keyword used. 
\item ID node only on top element. 
\item No ORDER element in AXIS element. 
\item PRIMEM node omitted if it is Greenwich. 
\item ELLIPSOID.\+UNIT node omitted if it is Unit\+Of\+Measure\+::\+METRE. 
\item PARAMETER.\+UNIT / PRIMEM.\+UNIT omitted if same as AXIS. 
\item AXIS.\+UNIT omitted and replaced by a common GEODCRS.\+UNIT if they are all the same on all axis. 
\end{DoxyItemize}\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT2\_2019@{WKT2\_2019}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT2\_2019@{WKT2\_2019}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42ac634e196cf84127855e2ff4569674d0d}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42ac634e196cf84127855e2ff4569674d0d}} 
WKT2\+\_\+2019&Full WKT2 string, conforming to ISO 19162\+:2019 / OGC 18-\/010, with (\mbox{\hyperlink{general_doc_WKT2_2019}{WKT2\+:2019}}) all possible nodes and new keyword names. Non-\/normative list of differences\+: 
\begin{DoxyItemize}
\item WKT2\+\_\+2019 uses GEOGCRS / BASEGEOGCRS keywords for Geographic\+CRS. 
\end{DoxyItemize}\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT2\_2018@{WKT2\_2018}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT2\_2018@{WKT2\_2018}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a127c3d731e34f71ebb200e6e06ad5a5c}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a127c3d731e34f71ebb200e6e06ad5a5c}} 
WKT2\+\_\+2018&Deprecated alias for WKT2\+\_\+2019 \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT2\_2019\_SIMPLIFIED@{WKT2\_2019\_SIMPLIFIED}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT2\_2019\_SIMPLIFIED@{WKT2\_2019\_SIMPLIFIED}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a1a237b13d56f5b895c4e3abf9749783e}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a1a237b13d56f5b895c4e3abf9749783e}} 
WKT2\+\_\+2019\+\_\+\+SIMPLIFIED&WKT2\+\_\+2019 with the simplification rule of WKT2\+\_\+\+SIMPLIFIED \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT2\_2018\_SIMPLIFIED@{WKT2\_2018\_SIMPLIFIED}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT2\_2018\_SIMPLIFIED@{WKT2\_2018\_SIMPLIFIED}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a930b32926b14489596931367ca096312}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a930b32926b14489596931367ca096312}} 
WKT2\+\_\+2018\+\_\+\+SIMPLIFIED&Deprecated alias for WKT2\+\_\+2019\+\_\+\+SIMPLIFIED \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT1\_GDAL@{WKT1\_GDAL}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT1\_GDAL@{WKT1\_GDAL}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a85c43e48faba72b30e6501b41536afe5}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a85c43e48faba72b30e6501b41536afe5}} 
WKT1\+\_\+\+GDAL&WKT1 as traditionally output by GDAL, deriving from OGC 01-\/009. A notable departure from WKT1\+\_\+\+GDAL with respect to OGC 01-\/009 is that in WKT1\+\_\+\+GDAL, the unit of the PRIMEM value is always degrees. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT1\_ESRI@{WKT1\_ESRI}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT1\_ESRI@{WKT1\_ESRI}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a8da08577d1e0b736b2259c71c40f0e38}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42a8da08577d1e0b736b2259c71c40f0e38}} 
WKT1\+\_\+\+ESRI&WKT1 as traditionally output by ESRI software, deriving from OGC 99-\/049. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026be}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026be}} 
\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!OutputAxisRule@{OutputAxisRule}}
\index{OutputAxisRule@{OutputAxisRule}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}
\doxysubsubsection{\texorpdfstring{OutputAxisRule}{OutputAxisRule}}
{\footnotesize\ttfamily enum class \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026be}{osgeo\+::proj\+::io\+::\+WKTFormatter\+::\+Output\+Axis\+Rule}}\hspace{0.3cm}{\ttfamily [strong]}}

Rule for output AXIS nodes \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{YES@{YES}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!YES@{YES}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026bea7469a286259799e5b37e5db9296f00b3}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026bea7469a286259799e5b37e5db9296f00b3}} 
YES&Always include AXIS nodes \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{NO@{NO}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!NO@{NO}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026beac2f3f489a00553e7a01d369c103c7251}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026beac2f3f489a00553e7a01d369c103c7251}} 
NO&Never include AXIS nodes \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{WKT1\_GDAL\_EPSG\_STYLE@{WKT1\_GDAL\_EPSG\_STYLE}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!WKT1\_GDAL\_EPSG\_STYLE@{WKT1\_GDAL\_EPSG\_STYLE}}}\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026beaa74a90ea973600924adeb2ed914912d0}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a659d0fa2167959bc2b3c876638a026beaa74a90ea973600924adeb2ed914912d0}} 
WKT1\+\_\+\+GDAL\+\_\+\+EPSG\+\_\+\+STYLE&Includes them only on PROJCS node if it uses Easting/\+Northing ordering. Typically used for WKT1\+\_\+\+GDAL \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae4a509770be220e93e521eb86124fa53}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae4a509770be220e93e521eb86124fa53}} 
\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!create@{create}}
\index{create@{create}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_af24cb641beac0083bd63f376dda49d39}{WKTFormatter\+NNPtr}} osgeo\+::proj\+::io\+::\+WKTFormatter\+::create (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_af24cb641beac0083bd63f376dda49d39}{WKTFormatter\+NNPtr}} \&}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Constructs a new formatter from another one. 

A formatter can be used only once (its internal state is mutated)

Its default behavior can be adjusted with the different setters.


\begin{DoxyParams}{Parameters}
{\em other} & source formatter. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new formatter. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_aaafd5ce78d723ab3aec74191a69832dd}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_aaafd5ce78d723ab3aec74191a69832dd}} 
\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!create@{create}}
\index{create@{create}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_af24cb641beac0083bd63f376dda49d39}{WKTFormatter\+NNPtr}} osgeo\+::proj\+::io\+::\+WKTFormatter\+::create (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42}{Convention}}}]{convention = {\ttfamily \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42acbbf33e2fa1d0e7754df8c2ab40bf7a2}{Convention\+::\+WKT2}}},  }\item[{\mbox{\hyperlink{namespaceosgeo_1_1proj_1_1io_ac071e92c14195058e37bcd4c7b75b42f}{Database\+Context\+Ptr}}}]{db\+Context = {\ttfamily nullptr} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Constructs a new formatter. 

A formatter can be used only once (its internal state is mutated)

Its default behavior can be adjusted with the different setters.


\begin{DoxyParams}{Parameters}
{\em convention} & WKT flavor. Defaults to \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter_ae94f4401c1eeae3808dce1aaa8d25f42acbbf33e2fa1d0e7754df8c2ab40bf7a2}{Convention\+::\+WKT2}} \\
\hline
{\em db\+Context} & Database context, to allow queries in it if needed. This is used for example for WKT1\+\_\+\+ESRI output to do name substitutions.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new formatter. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_aec93f27e2ddfdaf782a855e3b117fd97}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_aec93f27e2ddfdaf782a855e3b117fd97}} 
\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!isAllowedLINUNITNode@{isAllowedLINUNITNode}}
\index{isAllowedLINUNITNode@{isAllowedLINUNITNode}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}
\doxysubsubsection{\texorpdfstring{isAllowedLINUNITNode()}{isAllowedLINUNITNode()}}
{\footnotesize\ttfamily bool osgeo\+::proj\+::io\+::\+WKTFormatter\+::is\+Allowed\+LINUNITNode (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [noexcept]}}



Return whether the formatter should export, in WKT1\+\_\+\+ESRI, a Geographic 3D CRS with the relatively new (Arc\+GIS Pro \texorpdfstring{$>$}{>}= 2.\+7) LINUNIT node. Defaults to true. 

\begin{DoxySince}{Since}
PROJ 9.\+1 
\end{DoxySince}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a9e44f44081551ac089ba6192ab653dbd}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a9e44f44081551ac089ba6192ab653dbd}} 
\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!setAllowLINUNITNode@{setAllowLINUNITNode}}
\index{setAllowLINUNITNode@{setAllowLINUNITNode}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}
\doxysubsubsection{\texorpdfstring{setAllowLINUNITNode()}{setAllowLINUNITNode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{WKTFormatter}} \& osgeo\+::proj\+::io\+::\+WKTFormatter\+::set\+Allow\+LINUNITNode (\begin{DoxyParamCaption}\item[{bool}]{allow }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [noexcept]}}



Set whether the formatter should export, in WKT1\+\_\+\+ESRI, a Geographic 3D CRS with the relatively new (Arc\+GIS Pro \texorpdfstring{$>$}{>}= 2.\+7) LINUNIT node. Defaults to true. 

\begin{DoxySince}{Since}
PROJ 9.\+1 
\end{DoxySince}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a2215fa990461f2b1b55d189d75f0e0c8}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_a2215fa990461f2b1b55d189d75f0e0c8}} 
\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!setStrict@{setStrict}}
\index{setStrict@{setStrict}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}
\doxysubsubsection{\texorpdfstring{setStrict()}{setStrict()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1WKTFormatter}{WKTFormatter}} \& osgeo\+::proj\+::io\+::\+WKTFormatter\+::set\+Strict (\begin{DoxyParamCaption}\item[{bool}]{strict\+In }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [noexcept]}}



Set whether the formatter should operate on strict more or not. 

The default is strict mode, in which case a \mbox{\hyperlink{classosgeo_1_1proj_1_1io_1_1FormattingException}{Formatting\+Exception}} can be thrown. In non-\/strict mode, a Geographic 3D CRS can be for example exported as WKT1\+\_\+\+GDAL with 3 axes, whereas this is normally not allowed. \mbox{\Hypertarget{classosgeo_1_1proj_1_1io_1_1WKTFormatter_af87098d4bdf970367f9748dffc1c2b09}\label{classosgeo_1_1proj_1_1io_1_1WKTFormatter_af87098d4bdf970367f9748dffc1c2b09}} 
\index{osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}!toString@{toString}}
\index{toString@{toString}!osgeo::proj::io::WKTFormatter@{osgeo::proj::io::WKTFormatter}}
\doxysubsubsection{\texorpdfstring{toString()}{toString()}}
{\footnotesize\ttfamily const std\+::string \& osgeo\+::proj\+::io\+::\+WKTFormatter\+::to\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns the WKT string from the formatter. 

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