EVOLUTION-MANAGER
Edit File: classOGRGeomFieldDefn.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: OGRGeomFieldDefn 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="classOGRGeomFieldDefn-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">OGRGeomFieldDefn Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="ogr__feature_8h_source.html">ogr_feature.h</a>></code></p> <div class="dynheader"> Inheritance diagram for OGRGeomFieldDefn:</div> <div class="dyncontent"> <div class="center"> <img src="classOGRGeomFieldDefn.png" usemap="#OGRGeomFieldDefn_map" alt=""/> <map id="OGRGeomFieldDefn_map" name="OGRGeomFieldDefn_map"> <area href="classOGRGenSQLGeomFieldDefn.html" alt="OGRGenSQLGeomFieldDefn" shape="rect" coords="0,56,191,80"/> <area href="classOGRUnionLayerGeomFieldDefn.html" alt="OGRUnionLayerGeomFieldDefn" shape="rect" coords="201,56,392,80"/> </map> </div></div> <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:ac69cdfca5b480465569b88bc4f9f7765"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#ac69cdfca5b480465569b88bc4f9f7765">OGRGeomFieldDefn</a> (const char *pszNameIn, <a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> eGeomTypeIn)</td></tr> <tr class="memdesc:ac69cdfca5b480465569b88bc4f9f7765"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#ac69cdfca5b480465569b88bc4f9f7765">More...</a><br/></td></tr> <tr class="separator:ac69cdfca5b480465569b88bc4f9f7765"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a44c491d2f91eecf1bcc5dc56e2f8eda4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#a44c491d2f91eecf1bcc5dc56e2f8eda4">OGRGeomFieldDefn</a> (<a class="el" href="classOGRGeomFieldDefn.html">OGRGeomFieldDefn</a> *)</td></tr> <tr class="memdesc:a44c491d2f91eecf1bcc5dc56e2f8eda4"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a44c491d2f91eecf1bcc5dc56e2f8eda4">More...</a><br/></td></tr> <tr class="separator:a44c491d2f91eecf1bcc5dc56e2f8eda4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae3ca3a2ccdea222a2675cd0f7eeb57f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#ae3ca3a2ccdea222a2675cd0f7eeb57f7">SetName</a> (const char *)</td></tr> <tr class="memdesc:ae3ca3a2ccdea222a2675cd0f7eeb57f7"><td class="mdescLeft"> </td><td class="mdescRight">Reset the name of this field. <a href="#ae3ca3a2ccdea222a2675cd0f7eeb57f7">More...</a><br/></td></tr> <tr class="separator:ae3ca3a2ccdea222a2675cd0f7eeb57f7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8dbbb2a2630752eda8702cd4196ed4c6"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#a8dbbb2a2630752eda8702cd4196ed4c6">GetNameRef</a> ()</td></tr> <tr class="memdesc:a8dbbb2a2630752eda8702cd4196ed4c6"><td class="mdescLeft"> </td><td class="mdescRight">Fetch name of this field. <a href="#a8dbbb2a2630752eda8702cd4196ed4c6">More...</a><br/></td></tr> <tr class="separator:a8dbbb2a2630752eda8702cd4196ed4c6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1b628044cd6d2142a1732f5c5ef41bd6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#a1b628044cd6d2142a1732f5c5ef41bd6">GetType</a> ()</td></tr> <tr class="memdesc:a1b628044cd6d2142a1732f5c5ef41bd6"><td class="mdescLeft"> </td><td class="mdescRight">Fetch geometry type of this field. <a href="#a1b628044cd6d2142a1732f5c5ef41bd6">More...</a><br/></td></tr> <tr class="separator:a1b628044cd6d2142a1732f5c5ef41bd6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b030e08d01a09b1917c1d01638a4ac8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#a9b030e08d01a09b1917c1d01638a4ac8">SetType</a> (<a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> eTypeIn)</td></tr> <tr class="memdesc:a9b030e08d01a09b1917c1d01638a4ac8"><td class="mdescLeft"> </td><td class="mdescRight">Set the geometry type of this field. This should never be done to an <a class="el" href="classOGRGeomFieldDefn.html">OGRGeomFieldDefn</a> that is already part of an <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. <a href="#a9b030e08d01a09b1917c1d01638a4ac8">More...</a><br/></td></tr> <tr class="separator:a9b030e08d01a09b1917c1d01638a4ac8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae043691f36413950ea2ec0c3495ac959"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#ae043691f36413950ea2ec0c3495ac959">GetSpatialRef</a> ()</td></tr> <tr class="memdesc:ae043691f36413950ea2ec0c3495ac959"><td class="mdescLeft"> </td><td class="mdescRight">Fetch spatial reference system of this field. <a href="#ae043691f36413950ea2ec0c3495ac959">More...</a><br/></td></tr> <tr class="separator:ae043691f36413950ea2ec0c3495ac959"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeae0b00cc5a55b49aa51262d0a736bae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#aeae0b00cc5a55b49aa51262d0a736bae">SetSpatialRef</a> (<a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *poSRS)</td></tr> <tr class="memdesc:aeae0b00cc5a55b49aa51262d0a736bae"><td class="mdescLeft"> </td><td class="mdescRight">Set the spatial reference of this field. <a href="#aeae0b00cc5a55b49aa51262d0a736bae">More...</a><br/></td></tr> <tr class="separator:aeae0b00cc5a55b49aa51262d0a736bae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4ccd20966ad367adc7e16ee628056689"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#a4ccd20966ad367adc7e16ee628056689">IsIgnored</a> ()</td></tr> <tr class="memdesc:a4ccd20966ad367adc7e16ee628056689"><td class="mdescLeft"> </td><td class="mdescRight">Return whether this field should be omitted when fetching features. <a href="#a4ccd20966ad367adc7e16ee628056689">More...</a><br/></td></tr> <tr class="separator:a4ccd20966ad367adc7e16ee628056689"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a387cedc1973472c54237944bfb530b25"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#a387cedc1973472c54237944bfb530b25">SetIgnored</a> (int bIgnore)</td></tr> <tr class="memdesc:a387cedc1973472c54237944bfb530b25"><td class="mdescLeft"> </td><td class="mdescRight">Set whether this field should be omitted when fetching features. <a href="#a387cedc1973472c54237944bfb530b25">More...</a><br/></td></tr> <tr class="separator:a387cedc1973472c54237944bfb530b25"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acbb2d6135b4053f5ac23ccfab63183df"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeomFieldDefn.html#acbb2d6135b4053f5ac23ccfab63183df">IsSame</a> (<a class="el" href="classOGRGeomFieldDefn.html">OGRGeomFieldDefn</a> *)</td></tr> <tr class="memdesc:acbb2d6135b4053f5ac23ccfab63183df"><td class="mdescLeft"> </td><td class="mdescRight">Test if the geometry field definition is identical to the other one. <a href="#acbb2d6135b4053f5ac23ccfab63183df">More...</a><br/></td></tr> <tr class="separator:acbb2d6135b4053f5ac23ccfab63183df"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Definition of a geometry field of an <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. A geometry field is described by a name, a geometry type and a spatial reference system.</p> <dl class="section since"><dt>Since</dt><dd>OGR 2.0 </dd></dl> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="ac69cdfca5b480465569b88bc4f9f7765"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRGeomFieldDefn::OGRGeomFieldDefn </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszNameIn</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> </td> <td class="paramname"><em>eGeomTypeIn</em> </td> </tr> <tr> <td></td> <td>)</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">pszNameIn</td><td>the name of the new field. </td></tr> <tr><td class="paramname">eGeomTypeIn</td><td>the type of the new field.</td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> </div> </div> <a class="anchor" id="a44c491d2f91eecf1bcc5dc56e2f8eda4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRGeomFieldDefn::OGRGeomFieldDefn </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRGeomFieldDefn.html">OGRGeomFieldDefn</a> * </td> <td class="paramname"><em>poPrototype</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor. </p> <p>Create by cloning an existing geometry field definition.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poPrototype</td><td>the geometry field definition to clone.</td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>References <a class="el" href="classOGRGeomFieldDefn.html#a8dbbb2a2630752eda8702cd4196ed4c6">GetNameRef()</a>, <a class="el" href="classOGRGeomFieldDefn.html#ae043691f36413950ea2ec0c3495ac959">GetSpatialRef()</a>, <a class="el" href="classOGRGeomFieldDefn.html#a1b628044cd6d2142a1732f5c5ef41bd6">GetType()</a>, and <a class="el" href="classOGRGeomFieldDefn.html#aeae0b00cc5a55b49aa51262d0a736bae">SetSpatialRef()</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a8dbbb2a2630752eda8702cd4196ed4c6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const char * OGRGeomFieldDefn::GetNameRef </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></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 name of this field. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ad9914366a6cc3b4169a3359c2b1ef614" title="Fetch name of this field. ">OGR_GFld_GetNameRef()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>pointer to an internal name string that should not be freed or modified.</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a6c787aeb650bd03420309ca4f52c0083">OGRFeature::DumpReadable()</a>, <a class="el" href="classOGRLayer.html#af68036c23622c954ce3a91861f22b724">OGRLayer::GetGeometryColumn()</a>, <a class="el" href="classOGRUnionLayer.html#a4c680d7e5c02454ea7361f341d6d54e9">OGRUnionLayer::GetLayerDefn()</a>, <a class="el" href="classOGRGeomFieldDefn.html#acbb2d6135b4053f5ac23ccfab63183df">IsSame()</a>, <a class="el" href="classOGRGeomFieldDefn.html#a44c491d2f91eecf1bcc5dc56e2f8eda4">OGRGeomFieldDefn()</a>, and <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">OGRFeature::SetFrom()</a>.</p> </div> </div> <a class="anchor" id="ae043691f36413950ea2ec0c3495ac959"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * OGRGeomFieldDefn::GetSpatialRef </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Fetch spatial reference system of this field. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a7927b11a85659d8ce6da8857f52b05c4" title="Fetch spatial reference system of this field. ">OGR_GFld_GetSpatialRef()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>field spatial reference system.</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>Referenced by <a class="el" href="classOGRUnionLayer.html#a4c680d7e5c02454ea7361f341d6d54e9">OGRUnionLayer::GetLayerDefn()</a>, <a class="el" href="classOGRLayer.html#a75c06b4993f8eb76b569f37365cd19ab">OGRLayer::GetSpatialRef()</a>, <a class="el" href="classOGRUnionLayer.html#a8223e23c723151ef11fba997ab4fc605">OGRUnionLayer::GetSpatialRef()</a>, <a class="el" href="classOGRGeomFieldDefn.html#acbb2d6135b4053f5ac23ccfab63183df">IsSame()</a>, and <a class="el" href="classOGRGeomFieldDefn.html#a44c491d2f91eecf1bcc5dc56e2f8eda4">OGRGeomFieldDefn()</a>.</p> </div> </div> <a class="anchor" id="a1b628044cd6d2142a1732f5c5ef41bd6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> OGRGeomFieldDefn::GetType </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></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 geometry type of this field. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a323f4350c2e90c6e67df37f68d244a0d" title="Fetch geometry type of this field. ">OGR_GFld_GetType()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>field geometry type.</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>Referenced by <a class="el" href="classOGRGenSQLResultsLayer.html#ae87f2d161fbaf14f684a3baeef95e187">OGRGenSQLResultsLayer::GetExtent()</a>, <a class="el" href="classOGRUnionLayer.html#a11d7365a8f7264b0cc0bfc3cd371aac7">OGRUnionLayer::GetGeomType()</a>, <a class="el" href="classOGRFeatureDefn.html#a81a7dc7ed24fe9f2634bf447d1799e84">OGRFeatureDefn::GetGeomType()</a>, <a class="el" href="classOGRUnionLayer.html#a4c680d7e5c02454ea7361f341d6d54e9">OGRUnionLayer::GetLayerDefn()</a>, <a class="el" href="classOGRGeomFieldDefn.html#acbb2d6135b4053f5ac23ccfab63183df">IsSame()</a>, and <a class="el" href="classOGRGeomFieldDefn.html#a44c491d2f91eecf1bcc5dc56e2f8eda4">OGRGeomFieldDefn()</a>.</p> </div> </div> <a class="anchor" id="a4ccd20966ad367adc7e16ee628056689"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int OGRGeomFieldDefn::IsIgnored </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></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>Return whether this field should be omitted when fetching features. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ab232798830d8dcae0742d83948e33d1a" title="Return whether this field should be omitted when fetching features. ">OGR_GFld_IsIgnored()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>ignore state</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>Referenced by <a class="el" href="classOGRFeatureDefn.html#a2a4888bec939c586e01f870bea1c09a6">OGRFeatureDefn::IsGeometryIgnored()</a>.</p> </div> </div> <a class="anchor" id="acbb2d6135b4053f5ac23ccfab63183df"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRGeomFieldDefn::IsSame </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRGeomFieldDefn.html">OGRGeomFieldDefn</a> * </td> <td class="paramname"><em>poOtherFieldDefn</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Test if the geometry field definition is identical to the other one. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poOtherFieldDefn</td><td>the other field definition to compare to. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if the geometry field definition is identical to the other one.</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>References <a class="el" href="classOGRGeomFieldDefn.html#a8dbbb2a2630752eda8702cd4196ed4c6">GetNameRef()</a>, <a class="el" href="classOGRGeomFieldDefn.html#ae043691f36413950ea2ec0c3495ac959">GetSpatialRef()</a>, <a class="el" href="classOGRGeomFieldDefn.html#a1b628044cd6d2142a1732f5c5ef41bd6">GetType()</a>, and <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">OGRSpatialReference::IsSame()</a>.</p> <p>Referenced by <a class="el" href="classOGRFeatureDefn.html#a89662e5a2e89edbce422b5e05c4ecfde">OGRFeatureDefn::IsSame()</a>.</p> </div> </div> <a class="anchor" id="a387cedc1973472c54237944bfb530b25"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void OGRGeomFieldDefn::SetIgnored </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>ignore</em></td><td>)</td> <td></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>Set whether this field should be omitted when fetching features. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#af3a4e5e2af01140209e9d2814869eb41" title="Set whether this field should be omitted when fetching features. ">OGR_GFld_SetIgnored()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ignore</td><td>ignore state</td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>Referenced by <a class="el" href="classOGRFeatureDefn.html#a539b87cd1587dc928b246a211839e22a">OGRFeatureDefn::SetGeometryIgnored()</a>, and <a class="el" href="classOGRLayer.html#a5e0c3427f64249d1c35cefb487546b10">OGRLayer::SetIgnoredFields()</a>.</p> </div> </div> <a class="anchor" id="ae3ca3a2ccdea222a2675cd0f7eeb57f7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRGeomFieldDefn::SetName </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszNameIn</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Reset the name of this field. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a6c9b9d56381cae346c5129943641f628" title="Reset the name of this field. ">OGR_GFld_SetName()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszNameIn</td><td>the new name to apply.</td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>.</p> </div> </div> <a class="anchor" id="aeae0b00cc5a55b49aa51262d0a736bae"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRGeomFieldDefn::SetSpatialRef </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"><em>poSRSIn</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the spatial reference of this field. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#aa717acc8f4f5f33825334fe72edc2be9" title="Set the spatial reference of this field. ">OGR_GFld_SetSpatialRef()</a>.</p> <p>This method drops the reference of the previously set SRS object and acquires a new reference on the passed object (if non-NULL).</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poSRSIn</td><td>the new SRS to apply.</td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a4b638c33c0a2b53e59fe694f26f8f89c">OGRSpatialReference::Reference()</a>, and <a class="el" href="classOGRSpatialReference.html#aef9a8378c266604b9cd09042597a649f">OGRSpatialReference::Release()</a>.</p> <p>Referenced by <a class="el" href="classOGRWarpedLayer.html#aba232ed7807f305b9ed4e56af9e370ec">OGRWarpedLayer::GetLayerDefn()</a>, <a class="el" href="classOGRUnionLayer.html#a4c680d7e5c02454ea7361f341d6d54e9">OGRUnionLayer::GetLayerDefn()</a>, and <a class="el" href="classOGRGeomFieldDefn.html#a44c491d2f91eecf1bcc5dc56e2f8eda4">OGRGeomFieldDefn()</a>.</p> </div> </div> <a class="anchor" id="a9b030e08d01a09b1917c1d01638a4ac8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRGeomFieldDefn::SetType </td> <td>(</td> <td class="paramtype"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> </td> <td class="paramname"><em>eType</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the geometry type of this field. This should never be done to an <a class="el" href="classOGRGeomFieldDefn.html">OGRGeomFieldDefn</a> that is already part of an <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#affb3691474967ca5f0c9789e0626d55f" title="Set the geometry type of this field. This should never be done to an OGRGeomFieldDefn that is already...">OGR_GFld_SetType()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">eType</td><td>the new field geometry type.</td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>Referenced by <a class="el" href="classOGRUnionLayer.html#a4c680d7e5c02454ea7361f341d6d54e9">OGRUnionLayer::GetLayerDefn()</a>, and <a class="el" href="classOGRFeatureDefn.html#aa0f50b39efbba6559a510d7afcfa5efb">OGRFeatureDefn::SetGeomType()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="ogr__feature_8h_source.html">ogr_feature.h</a></li> <li>ogrgeomfielddefn.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>