EVOLUTION-MANAGER
Edit File: classOGR__SRSNode.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>OGR: OGR_SRSNode Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">OGR </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classOGR__SRSNode-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">OGR_SRSNode Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="ogr__spatialref_8h_source.html">ogr_spatialref.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a667f1d3760fdc53c1157b36031a260bd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a667f1d3760fdc53c1157b36031a260bd">OGR_SRSNode</a> (const char *=NULL)</td></tr> <tr class="separator:a667f1d3760fdc53c1157b36031a260bd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5edbb6ed55d8a20c3d689a4ed80a8285"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">GetChildCount</a> () const </td></tr> <tr class="separator:a5edbb6ed55d8a20c3d689a4ed80a8285"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aad8c07e21a228cdd2e58a9944aa86d76"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">GetChild</a> (int)</td></tr> <tr class="separator:aad8c07e21a228cdd2e58a9944aa86d76"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6760a6ffee3941f9b55d184304a70b06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a6760a6ffee3941f9b55d184304a70b06">GetNode</a> (const char *)</td></tr> <tr class="separator:a6760a6ffee3941f9b55d184304a70b06"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a56c84c7cfcadf8ee273eb5f265b5dcd9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">InsertChild</a> (<a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> *, int)</td></tr> <tr class="separator:a56c84c7cfcadf8ee273eb5f265b5dcd9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a161233efeab69c02691bfdfb8acda20d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">AddChild</a> (<a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> *)</td></tr> <tr class="separator:a161233efeab69c02691bfdfb8acda20d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a047ce17a7a2f76ab0a6c4c7f5cab06a9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">FindChild</a> (const char *) const </td></tr> <tr class="separator:a047ce17a7a2f76ab0a6c4c7f5cab06a9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad292fa90c3d86e79a7dcc0d1ed7bfa72"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">DestroyChild</a> (int)</td></tr> <tr class="separator:ad292fa90c3d86e79a7dcc0d1ed7bfa72"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a181ab5c7787769906e42ad54101e326a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">StripNodes</a> (const char *)</td></tr> <tr class="separator:a181ab5c7787769906e42ad54101e326a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a49c27a55eba526197af3206ac7b7a94e"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">GetValue</a> () const </td></tr> <tr class="separator:a49c27a55eba526197af3206ac7b7a94e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a07094ad4ae48e6760d0816ff14d2a8ad"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">SetValue</a> (const char *)</td></tr> <tr class="separator:a07094ad4ae48e6760d0816ff14d2a8ad"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1cb8176e81a89fb8e8cd8522c0785492"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a1cb8176e81a89fb8e8cd8522c0785492">MakeValueSafe</a> ()</td></tr> <tr class="separator:a1cb8176e81a89fb8e8cd8522c0785492"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a25b0a2db1a7a8d9b5395c75510ad3734"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a25b0a2db1a7a8d9b5395c75510ad3734">FixupOrdering</a> ()</td></tr> <tr class="separator:a25b0a2db1a7a8d9b5395c75510ad3734"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af82e237ee7c6ac0ca77447be35471e7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">Clone</a> () const </td></tr> <tr class="separator:af82e237ee7c6ac0ca77447be35471e7f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6b8db59ea569b214a0ae163f505dc2e0"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a6b8db59ea569b214a0ae163f505dc2e0">importFromWkt</a> (char **)</td></tr> <tr class="separator:a6b8db59ea569b214a0ae163f505dc2e0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5b147bc2cad0aaafb201c559abe9cc85"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#a5b147bc2cad0aaafb201c559abe9cc85">exportToWkt</a> (char **) const </td></tr> <tr class="separator:a5b147bc2cad0aaafb201c559abe9cc85"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa6e0f8e8c7f5da9fc44d9ab103592bcf"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html#aa6e0f8e8c7f5da9fc44d9ab103592bcf">applyRemapper</a> (const char *pszNode, char **papszSrcValues, char **papszDstValues, int nStepSize=1, int bChildOfHit=FALSE)</td></tr> <tr class="separator:aa6e0f8e8c7f5da9fc44d9ab103592bcf"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Objects of this class are used to represent value nodes in the parsed representation of the WKT SRS format. For instance UNIT["METER",1] would be rendered into three OGR_SRSNodes. The root node would have a value of UNIT, and two children, the first with a value of METER, and the second with a value of 1.</p> <p>Normally application code just interacts with the <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> object, which uses the <a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> to implement it's data structure; however, this class is user accessable for detailed access to components of an SRS definition. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a667f1d3760fdc53c1157b36031a260bd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGR_SRSNode::OGR_SRSNode </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszValueIn</em> = <code>NULL</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszValueIn</td><td>this optional parameter can be used to initialize the value of the node upon creation. If omitted the node will be created with a value of "". Newly created OGR_SRSNodes have no children. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>.</p> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">Clone()</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a161233efeab69c02691bfdfb8acda20d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGR_SRSNode::AddChild </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td> <td class="paramname"><em>poNew</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Add passed node as a child of target node.</p> <p>Note that ownership of the passed node is assumed by the node on which the method is invoked ... use the <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">Clone()</a> method if the original is to be preserved. New children are always added at the end of the list.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poNew</td><td>the node to add as a child. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">InsertChild()</a>.</p> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">Clone()</a>, <a class="el" href="classOGRSpatialReference.html#a0c1e2b108255487f91ae448f5c11f67c">OGRSpatialReference::CloneGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">OGRSpatialReference::importFromCRSURL()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">OGRSpatialReference::importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a6ca72094be024d06925d0e610c298cce">OGRSpatialReference::importFromURN()</a>, <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343">OGRSpatialReference::importFromWkt()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">OGRSpatialReference::morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">OGRSpatialReference::SetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">OGRSpatialReference::SetAuthority()</a>, <a class="el" href="classOGRSpatialReference.html#a2298795cd7efad5ff24ebbefa3606c0e">OGRSpatialReference::SetAxes()</a>, <a class="el" href="classOGRSpatialReference.html#a6cb94a55501d2444b9f93eacd8ff0411">OGRSpatialReference::SetCompoundCS()</a>, <a class="el" href="classOGRSpatialReference.html#a2ca469ce2caecc420cc564e661b8325d">OGRSpatialReference::SetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">OGRSpatialReference::SetFromUserInput()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">OGRSpatialReference::SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">OGRSpatialReference::SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">OGRSpatialReference::SetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">OGRSpatialReference::SetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">OGRSpatialReference::SetTOWGS84()</a>, and <a class="el" href="classOGRSpatialReference.html#a4764cca1641b045a63afa95d01922add">OGRSpatialReference::SetVertCS()</a>.</p> </div> </div> <a class="anchor" id="aa6e0f8e8c7f5da9fc44d9ab103592bcf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGR_SRSNode::applyRemapper </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszNode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"><em>papszSrcValues</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"><em>papszDstValues</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nStepSize</em> = <code>1</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bChildOfHit</em> = <code>FALSE</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Remap node values matching list.</p> <p>Remap the value of this node or any of it's children if it matches one of the values in the source list to the corresponding value from the destination list. If the pszNode value is set, only do so if the parent node matches that value. Even if a replacement occurs, searching continues.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszNode</td><td>Restrict remapping to children of this type of node (eg. "PROJECTION") </td></tr> <tr><td class="paramname">papszSrcValues</td><td>a NULL terminated array of source string. If the node value matches one of these (case insensitive) then replacement occurs. </td></tr> <tr><td class="paramname">papszDstValues</td><td>an array of destination strings. On a match, the one corresponding to a source value will be used to replace a node. </td></tr> <tr><td class="paramname">nStepSize</td><td>increment when stepping through source and destination arrays, allowing source and destination arrays to be one interleaved array for instances. Defaults to 1. </td></tr> <tr><td class="paramname">bChildOfHit</td><td>Only TRUE if we the current node is the child of a match, and so needs to be set. Application code would normally pass FALSE for this argument.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>returns OGRERR_NONE unless something bad happens. There is no indication returned about whether any replacement occured. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#aa6e0f8e8c7f5da9fc44d9ab103592bcf">applyRemapper()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">SetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#aa6e0f8e8c7f5da9fc44d9ab103592bcf">applyRemapper()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, and <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">OGRSpatialReference::morphToESRI()</a>.</p> </div> </div> <a class="anchor" id="af82e237ee7c6ac0ca77447be35471e7f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * OGR_SRSNode::Clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Make a duplicate of this node, and it's children.</p> <dl class="section return"><dt>Returns</dt><dd>a new node tree, which becomes the responsiblity of the caller. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">AddChild()</a>, and <a class="el" href="classOGR__SRSNode.html#a667f1d3760fdc53c1157b36031a260bd">OGR_SRSNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a859adfd14d3a050337dcda7d5bdd5a79">OGRSpatialReference::Clone()</a>, <a class="el" href="classOGRSpatialReference.html#a0c1e2b108255487f91ae448f5c11f67c">OGRSpatialReference::CloneGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">OGRSpatialReference::CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">OGRSpatialReference::importFromCRSURL()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">OGRSpatialReference::importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a6ca72094be024d06925d0e610c298cce">OGRSpatialReference::importFromURN()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a6cb94a55501d2444b9f93eacd8ff0411">OGRSpatialReference::SetCompoundCS()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">OGRSpatialReference::SetFromUserInput()</a>, <a class="el" href="classOGRSpatialReference.html#af909159bd41fd01ea9b42621dfd5bc18">OGRSpatialReference::SetGeocCS()</a>, and <a class="el" href="classOGRSpatialReference.html#aff482ab330681678d7baff602389e7fc">OGRSpatialReference::StripVertical()</a>.</p> </div> </div> <a class="anchor" id="ad292fa90c3d86e79a7dcc0d1ed7bfa72"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGR_SRSNode::DestroyChild </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iChild</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Remove a child node, and it's subtree.</p> <p>Note that removing a child node will result in children after it being renumbered down one.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iChild</td><td>the index of the child. </td></tr> </table> </dd> </dl> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">OGRSpatialReference::CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">OGRSpatialReference::importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">OGRSpatialReference::morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">OGRSpatialReference::SetAuthority()</a>, <a class="el" href="classOGRSpatialReference.html#a2298795cd7efad5ff24ebbefa3606c0e">OGRSpatialReference::SetAxes()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">OGRSpatialReference::SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">OGRSpatialReference::SetStatePlane()</a>, <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">OGRSpatialReference::SetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">OGRSpatialReference::SetTOWGS84()</a>, and <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">StripNodes()</a>.</p> </div> </div> <a class="anchor" id="a5b147bc2cad0aaafb201c559abe9cc85"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGR_SRSNode::exportToWkt </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszResult</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Convert this tree of nodes into WKT format.</p> <p>Note that the returned WKT string should be freed with OGRFree() or CPLFree() when no longer needed. It is the responsibility of the caller.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszResult</td><td>the resulting string is returned in this pointer.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>currently OGRERR_NONE is always returned, but the future it is possible error conditions will develop. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#a5b990672a0221115c9b54a8931554136">CPLCalloc()</a>, <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, and <a class="el" href="classOGR__SRSNode.html#a5b147bc2cad0aaafb201c559abe9cc85">exportToWkt()</a>.</p> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#a5b147bc2cad0aaafb201c559abe9cc85">exportToWkt()</a>, and <a class="el" href="classOGRSpatialReference.html#a596b8e527d66a5054408159f0006fdac">OGRSpatialReference::exportToWkt()</a>.</p> </div> </div> <a class="anchor" id="a047ce17a7a2f76ab0a6c4c7f5cab06a9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGR_SRSNode::FindChild </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszValue</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Find the index of the child matching the given string.</p> <p>Note that the node value must match pszValue with the exception of case. The comparison is case insensitive.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszValue</td><td>the node value being searched for.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the child index, or -1 on failure. </dd></dl> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">OGRSpatialReference::CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#a429b0446798982c6c19efcb7042a8cbc">OGRSpatialReference::Fixup()</a>, <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">OGRSpatialReference::GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">OGRSpatialReference::GetAuthorityName()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">OGRSpatialReference::SetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">OGRSpatialReference::SetAuthority()</a>, <a class="el" href="classOGRSpatialReference.html#a2298795cd7efad5ff24ebbefa3606c0e">OGRSpatialReference::SetAxes()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">OGRSpatialReference::SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">OGRSpatialReference::SetStatePlane()</a>, <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">OGRSpatialReference::SetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">OGRSpatialReference::SetTOWGS84()</a>, and <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">StripNodes()</a>.</p> </div> </div> <a class="anchor" id="a25b0a2db1a7a8d9b5395c75510ad3734"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGR_SRSNode::FixupOrdering </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Correct parameter ordering to match CT Specification.</p> <p>Some mechanisms to create WKT using <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>, and some imported WKT fail to maintain the order of parameters required according to the BNF definitions in the OpenGIS SF-SQL and CT Specifications. This method attempts to massage things back into the required order.</p> <p>This method will reorder the children of the node it is invoked on and then recurse to all children to fix up their children.</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code if something goes wrong. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#a5b990672a0221115c9b54a8931554136">CPLCalloc()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__string_8h.html#aadb00ff49c2d9dc32c043ca58fd9d8cd">CSLFindString()</a>, <a class="el" href="classOGR__SRSNode.html#a25b0a2db1a7a8d9b5395c75510ad3734">FixupOrdering()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#a25b0a2db1a7a8d9b5395c75510ad3734">FixupOrdering()</a>, and <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">OGRSpatialReference::FixupOrdering()</a>.</p> </div> </div> <a class="anchor" id="aad8c07e21a228cdd2e58a9944aa86d76"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * OGR_SRSNode::GetChild </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iChild</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch requested child.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iChild</td><td>the index of the child to fetch, from 0 to <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">GetChildCount()</a> - 1.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a pointer to the child <a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a>, or NULL if there is no such child. </dd></dl> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#aa6e0f8e8c7f5da9fc44d9ab103592bcf">applyRemapper()</a>, <a class="el" href="classOGRSpatialReference.html#a519cce70fd39f974c61342bf73ab01ad">OGRSpatialReference::EPSGTreatsAsLatLong()</a>, <a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878">OGRSpatialReference::EPSGTreatsAsNorthingEasting()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">OGRSpatialReference::exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">OGRSpatialReference::exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#adcab5192c705087bc9e7537f34df9f55">OGRSpatialReference::FindProjParm()</a>, <a class="el" href="classOGR__SRSNode.html#a25b0a2db1a7a8d9b5395c75510ad3734">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a98bde6d2dbe0d5cd0f29a6d62a5b3f58">OGRSpatialReference::GetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">OGRSpatialReference::GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">OGRSpatialReference::GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">OGRSpatialReference::GetAuthorityName()</a>, <a class="el" href="classOGRSpatialReference.html#a485ca347702eea566fc239782a6b74fa">OGRSpatialReference::GetAxis()</a>, <a class="el" href="classOGRSpatialReference.html#a0dac73464153c4383c6fe581af8838c7">OGRSpatialReference::GetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">OGRSpatialReference::GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#ac2a2eb4eaed918a8bca2a55147dd2275">OGRSpatialReference::GetPrimeMeridian()</a>, <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">OGRSpatialReference::GetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">OGRSpatialReference::GetSemiMajor()</a>, <a class="el" href="classOGRSpatialReference.html#aeb9a7cf8138734e5fa734283c124d62b">OGRSpatialReference::GetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#aaa947bf7c5c7240d2de30afe11086a19">OGRSpatialReference::GetTOWGS84()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">OGRSpatialReference::importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a6ca72094be024d06925d0e610c298cce">OGRSpatialReference::importFromURN()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">OGRSpatialReference::IsSame()</a>, <a class="el" href="classOGR__SRSNode.html#a1cb8176e81a89fb8e8cd8522c0785492">MakeValueSafe()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">OGRSpatialReference::morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">OGRSpatialReference::SetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a2ca469ce2caecc420cc564e661b8325d">OGRSpatialReference::SetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">OGRSpatialReference::SetFromUserInput()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">OGRSpatialReference::SetLinearUnitsAndUpdateParameters()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">OGRSpatialReference::SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">OGRSpatialReference::SetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">OGRSpatialReference::SetTargetLinearUnits()</a>, <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">StripNodes()</a>, and <a class="el" href="classOGRSpatialReference.html#aff482ab330681678d7baff602389e7fc">OGRSpatialReference::StripVertical()</a>.</p> </div> </div> <a class="anchor" id="a5edbb6ed55d8a20c3d689a4ed80a8285"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int OGR_SRSNode::GetChildCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get number of children nodes.</p> <dl class="section return"><dt>Returns</dt><dd>0 for leaf nodes, or the number of children nodes. </dd></dl> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#aa6e0f8e8c7f5da9fc44d9ab103592bcf">applyRemapper()</a>, <a class="el" href="classOGRSpatialReference.html#a519cce70fd39f974c61342bf73ab01ad">OGRSpatialReference::EPSGTreatsAsLatLong()</a>, <a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878">OGRSpatialReference::EPSGTreatsAsNorthingEasting()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">OGRSpatialReference::exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">OGRSpatialReference::exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#adcab5192c705087bc9e7537f34df9f55">OGRSpatialReference::FindProjParm()</a>, <a class="el" href="classOGR__SRSNode.html#a25b0a2db1a7a8d9b5395c75510ad3734">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a98bde6d2dbe0d5cd0f29a6d62a5b3f58">OGRSpatialReference::GetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">OGRSpatialReference::GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">OGRSpatialReference::GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">OGRSpatialReference::GetAuthorityName()</a>, <a class="el" href="classOGRSpatialReference.html#a485ca347702eea566fc239782a6b74fa">OGRSpatialReference::GetAxis()</a>, <a class="el" href="classOGRSpatialReference.html#a0dac73464153c4383c6fe581af8838c7">OGRSpatialReference::GetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">OGRSpatialReference::GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#ac2a2eb4eaed918a8bca2a55147dd2275">OGRSpatialReference::GetPrimeMeridian()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">OGRSpatialReference::GetSemiMajor()</a>, <a class="el" href="classOGRSpatialReference.html#aeb9a7cf8138734e5fa734283c124d62b">OGRSpatialReference::GetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#aaa947bf7c5c7240d2de30afe11086a19">OGRSpatialReference::GetTOWGS84()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">OGRSpatialReference::importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">OGRSpatialReference::IsSame()</a>, <a class="el" href="classOGR__SRSNode.html#a1cb8176e81a89fb8e8cd8522c0785492">MakeValueSafe()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">OGRSpatialReference::morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">OGRSpatialReference::SetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a2ca469ce2caecc420cc564e661b8325d">OGRSpatialReference::SetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">OGRSpatialReference::SetLinearUnitsAndUpdateParameters()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">OGRSpatialReference::SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">OGRSpatialReference::SetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">OGRSpatialReference::SetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">OGRSpatialReference::SetTOWGS84()</a>, and <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">StripNodes()</a>.</p> </div> </div> <a class="anchor" id="a6760a6ffee3941f9b55d184304a70b06"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * OGR_SRSNode::GetNode </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Find named node in tree.</p> <p>This method does a pre-order traversal of the node tree searching for a node with this exact value (case insensitive), and returns it. Leaf nodes are not considered, under the assumption that they are just attribute value nodes.</p> <p>If a node appears more than once in the tree (such as UNIT for instance), the first encountered will be returned. Use <a class="el" href="classOGR__SRSNode.html#a6760a6ffee3941f9b55d184304a70b06">GetNode()</a> on a subtree to be more specific.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the name of the node to search for.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a pointer to the node found, or NULL if none. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a6760a6ffee3941f9b55d184304a70b06">GetNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">OGRSpatialReference::exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">OGRSpatialReference::GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#a6760a6ffee3941f9b55d184304a70b06">GetNode()</a>, and <a class="el" href="classOGRSpatialReference.html#af909159bd41fd01ea9b42621dfd5bc18">OGRSpatialReference::SetGeocCS()</a>.</p> </div> </div> <a class="anchor" id="a49c27a55eba526197af3206ac7b7a94e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const char * OGR_SRSNode::GetValue </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Fetch value string for this node.</p> <dl class="section return"><dt>Returns</dt><dd>A non-NULL string is always returned. The returned pointer is to the internal value of this node, and should not be modified, or freed. </dd></dl> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a519cce70fd39f974c61342bf73ab01ad">OGRSpatialReference::EPSGTreatsAsLatLong()</a>, <a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878">OGRSpatialReference::EPSGTreatsAsNorthingEasting()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">OGRSpatialReference::exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">OGRSpatialReference::exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#adcab5192c705087bc9e7537f34df9f55">OGRSpatialReference::FindProjParm()</a>, <a class="el" href="classOGR__SRSNode.html#a25b0a2db1a7a8d9b5395c75510ad3734">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a98bde6d2dbe0d5cd0f29a6d62a5b3f58">OGRSpatialReference::GetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">OGRSpatialReference::GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">OGRSpatialReference::GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">OGRSpatialReference::GetAuthorityName()</a>, <a class="el" href="classOGRSpatialReference.html#a485ca347702eea566fc239782a6b74fa">OGRSpatialReference::GetAxis()</a>, <a class="el" href="classOGRSpatialReference.html#a0dac73464153c4383c6fe581af8838c7">OGRSpatialReference::GetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">OGRSpatialReference::GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#ac2a2eb4eaed918a8bca2a55147dd2275">OGRSpatialReference::GetPrimeMeridian()</a>, <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">OGRSpatialReference::GetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">OGRSpatialReference::GetSemiMajor()</a>, <a class="el" href="classOGRSpatialReference.html#aeb9a7cf8138734e5fa734283c124d62b">OGRSpatialReference::GetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#aaa947bf7c5c7240d2de30afe11086a19">OGRSpatialReference::GetTOWGS84()</a>, <a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">OGRSpatialReference::importFromCRSURL()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">OGRSpatialReference::importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a6ca72094be024d06925d0e610c298cce">OGRSpatialReference::importFromURN()</a>, <a class="el" href="classOGRSpatialReference.html#a7d8b989c98938e6c4e27eeb6f9871936">OGRSpatialReference::IsCompound()</a>, <a class="el" href="classOGRSpatialReference.html#ae65d61b89b5b8087433175344d460fd4">OGRSpatialReference::IsGeocentric()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">OGRSpatialReference::IsGeographic()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">OGRSpatialReference::IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">OGRSpatialReference::IsSame()</a>, <a class="el" href="classOGRSpatialReference.html#ac16afe94b0d129c0b47e04a6f8b78bef">OGRSpatialReference::IsVertical()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">OGRSpatialReference::morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a2ca469ce2caecc420cc564e661b8325d">OGRSpatialReference::SetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">OGRSpatialReference::SetFromUserInput()</a>, <a class="el" href="classOGRSpatialReference.html#af909159bd41fd01ea9b42621dfd5bc18">OGRSpatialReference::SetGeocCS()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">OGRSpatialReference::SetLinearUnitsAndUpdateParameters()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">OGRSpatialReference::SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#a208118581246feb29646acf2ea5d4237">OGRSpatialReference::SetProjCS()</a>, <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">OGRSpatialReference::SetProjection()</a>, <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">OGRSpatialReference::SetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a4764cca1641b045a63afa95d01922add">OGRSpatialReference::SetVertCS()</a>, and <a class="el" href="classOGRSpatialReference.html#aa3972cb59efaf55618e0a49b9af174c0">OGRSpatialReference::StripCTParms()</a>.</p> </div> </div> <a class="anchor" id="a6b8db59ea569b214a0ae163f505dc2e0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGR_SRSNode::importFromWkt </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszInput</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Import from WKT string.</p> <p>This method will wipe the existing children and value of this node, and reassign them based on the contents of the passed WKT string. Only as much of the input string as needed to construct this node, and it's children is consumed from the input string, and the input string pointer is then updated to point to the remaining (unused) input.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszInput</td><td>Pointer to pointer to input. The pointer is updated to point to remaining unused input text.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if import succeeds, or OGRERR_CORRUPT_DATA if it fails for any reason. </dd></dl> </div> </div> <a class="anchor" id="a56c84c7cfcadf8ee273eb5f265b5dcd9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGR_SRSNode::InsertChild </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td> <td class="paramname"><em>poNew</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>iChild</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Insert the passed node as a child of target node, at the indicated position.</p> <p>Note that ownership of the passed node is assumed by the node on which the method is invoked ... use the <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">Clone()</a> method if the original is to be preserved. All existing children at location iChild and beyond are push down one space to make space for the new child.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poNew</td><td>the node to add as a child. </td></tr> <tr><td class="paramname">iChild</td><td>position to insert, use 0 to insert at the beginning. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__conv_8h.html#a6861a37c19e925ee0aa8d5b10ee13147">CPLRealloc()</a>.</p> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">OGRSpatialReference::CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#af909159bd41fd01ea9b42621dfd5bc18">OGRSpatialReference::SetGeocCS()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">OGRSpatialReference::SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a208118581246feb29646acf2ea5d4237">OGRSpatialReference::SetProjCS()</a>, <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">OGRSpatialReference::SetProjection()</a>, and <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">OGRSpatialReference::SetTOWGS84()</a>.</p> </div> </div> <a class="anchor" id="a1cb8176e81a89fb8e8cd8522c0785492"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGR_SRSNode::MakeValueSafe </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Massage value string, stripping special characters so it will be a database safe string.</p> <p>The operation is also applies to all subnodes of the current node. </p> <p>References <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a1cb8176e81a89fb8e8cd8522c0785492">MakeValueSafe()</a>.</p> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#a1cb8176e81a89fb8e8cd8522c0785492">MakeValueSafe()</a>.</p> </div> </div> <a class="anchor" id="a07094ad4ae48e6760d0816ff14d2a8ad"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGR_SRSNode::SetValue </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszNewValue</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the node value.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszNewValue</td><td>the new value to assign to this node. The passed string is duplicated and remains the responsibility of the caller. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>.</p> <p>Referenced by <a class="el" href="classOGR__SRSNode.html#aa6e0f8e8c7f5da9fc44d9ab103592bcf">applyRemapper()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">OGRSpatialReference::morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">OGRSpatialReference::morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">OGRSpatialReference::SetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a2ca469ce2caecc420cc564e661b8325d">OGRSpatialReference::SetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">OGRSpatialReference::SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">OGRSpatialReference::SetProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">OGRSpatialReference::SetTargetLinearUnits()</a>.</p> </div> </div> <a class="anchor" id="a181ab5c7787769906e42ad54101e326a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGR_SRSNode::StripNodes </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Strip child nodes matching name.</p> <p>Removes any decendent nodes of this node that match the given name. Of course children of removed nodes are also discarded.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the name for nodes that should be removed. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">DestroyChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">FindChild()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">StripNodes()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a635423e09630b4d31b2fa4259667a4ec">OGRSpatialReference::exportToPrettyWkt()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">OGRSpatialReference::importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#aa3972cb59efaf55618e0a49b9af174c0">OGRSpatialReference::StripCTParms()</a>, and <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">StripNodes()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="ogr__spatialref_8h_source.html">ogr_spatialref.h</a></li> <li>ogr_srsnode.cpp</li> </ul> </div><!-- contents --> <hr> Generated for GDAL by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.8.5. </body> </html>