EVOLUTION-MANAGER
Edit File: classOGRFeature.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: OGRFeature 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="#pub-static-methods">Static Public Member Functions</a> | <a href="classOGRFeature-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">OGRFeature 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> <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:ae6559a9f3c26274d1253e5d043b2e852"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ae6559a9f3c26274d1253e5d043b2e852">OGRFeature</a> (<a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> *)</td></tr> <tr class="memdesc:ae6559a9f3c26274d1253e5d043b2e852"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#ae6559a9f3c26274d1253e5d043b2e852">More...</a><br/></td></tr> <tr class="separator:ae6559a9f3c26274d1253e5d043b2e852"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a01ef8d59265a7ab7a575387a8269bf92"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a01ef8d59265a7ab7a575387a8269bf92">GetDefnRef</a> ()</td></tr> <tr class="memdesc:a01ef8d59265a7ab7a575387a8269bf92"><td class="mdescLeft"> </td><td class="mdescRight">Fetch feature definition. <a href="#a01ef8d59265a7ab7a575387a8269bf92">More...</a><br/></td></tr> <tr class="separator:a01ef8d59265a7ab7a575387a8269bf92"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a40a4ddb33f09a5f340b9139be72e277d"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a40a4ddb33f09a5f340b9139be72e277d">SetGeometryDirectly</a> (<a class="el" href="classOGRGeometry.html">OGRGeometry</a> *)</td></tr> <tr class="memdesc:a40a4ddb33f09a5f340b9139be72e277d"><td class="mdescLeft"> </td><td class="mdescRight">Set feature geometry. <a href="#a40a4ddb33f09a5f340b9139be72e277d">More...</a><br/></td></tr> <tr class="separator:a40a4ddb33f09a5f340b9139be72e277d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af1181ade837a52129ea25b46dd50cf30"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#af1181ade837a52129ea25b46dd50cf30">SetGeometry</a> (<a class="el" href="classOGRGeometry.html">OGRGeometry</a> *)</td></tr> <tr class="memdesc:af1181ade837a52129ea25b46dd50cf30"><td class="mdescLeft"> </td><td class="mdescRight">Set feature geometry. <a href="#af1181ade837a52129ea25b46dd50cf30">More...</a><br/></td></tr> <tr class="separator:af1181ade837a52129ea25b46dd50cf30"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc966ce8c10ae3ddf9f14c2736fdce9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#acc966ce8c10ae3ddf9f14c2736fdce9a">GetGeometryRef</a> ()</td></tr> <tr class="memdesc:acc966ce8c10ae3ddf9f14c2736fdce9a"><td class="mdescLeft"> </td><td class="mdescRight">Fetch pointer to feature geometry. <a href="#acc966ce8c10ae3ddf9f14c2736fdce9a">More...</a><br/></td></tr> <tr class="separator:acc966ce8c10ae3ddf9f14c2736fdce9a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2f078d96bfb310664f1a95183798c0dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a2f078d96bfb310664f1a95183798c0dc">StealGeometry</a> ()</td></tr> <tr class="memdesc:a2f078d96bfb310664f1a95183798c0dc"><td class="mdescLeft"> </td><td class="mdescRight">Take away ownership of geometry. <a href="#a2f078d96bfb310664f1a95183798c0dc">More...</a><br/></td></tr> <tr class="separator:a2f078d96bfb310664f1a95183798c0dc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af673e46f318facbee14acec3d6db2caf"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount</a> ()</td></tr> <tr class="memdesc:af673e46f318facbee14acec3d6db2caf"><td class="mdescLeft"> </td><td class="mdescRight">Fetch number of geometry fields on this feature. This will always be the same as the geometry field count for the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. <a href="#af673e46f318facbee14acec3d6db2caf">More...</a><br/></td></tr> <tr class="separator:af673e46f318facbee14acec3d6db2caf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab0416401dc7d6a7634c2a24ca1f7d255"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRGeomFieldDefn.html">OGRGeomFieldDefn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ab0416401dc7d6a7634c2a24ca1f7d255">GetGeomFieldDefnRef</a> (int iField)</td></tr> <tr class="memdesc:ab0416401dc7d6a7634c2a24ca1f7d255"><td class="mdescLeft"> </td><td class="mdescRight">Fetch definition for this geometry field. <a href="#ab0416401dc7d6a7634c2a24ca1f7d255">More...</a><br/></td></tr> <tr class="separator:ab0416401dc7d6a7634c2a24ca1f7d255"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a97b0d91be90a05cf51d3e5f602a9d560"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a97b0d91be90a05cf51d3e5f602a9d560">GetGeomFieldIndex</a> (const char *pszName)</td></tr> <tr class="memdesc:a97b0d91be90a05cf51d3e5f602a9d560"><td class="mdescLeft"> </td><td class="mdescRight">Fetch the geometry field index given geometry field name. <a href="#a97b0d91be90a05cf51d3e5f602a9d560">More...</a><br/></td></tr> <tr class="separator:a97b0d91be90a05cf51d3e5f602a9d560"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae54d999d4649730d5c7b37de731e4f69"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ae54d999d4649730d5c7b37de731e4f69">GetGeomFieldRef</a> (int iField)</td></tr> <tr class="memdesc:ae54d999d4649730d5c7b37de731e4f69"><td class="mdescLeft"> </td><td class="mdescRight">Fetch pointer to feature geometry. <a href="#ae54d999d4649730d5c7b37de731e4f69">More...</a><br/></td></tr> <tr class="separator:ae54d999d4649730d5c7b37de731e4f69"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0aa844b4cae37c143d32a810c1cf76cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a0aa844b4cae37c143d32a810c1cf76cc">GetGeomFieldRef</a> (const char *pszFName)</td></tr> <tr class="memdesc:a0aa844b4cae37c143d32a810c1cf76cc"><td class="mdescLeft"> </td><td class="mdescRight">Fetch pointer to feature geometry. <a href="#a0aa844b4cae37c143d32a810c1cf76cc">More...</a><br/></td></tr> <tr class="separator:a0aa844b4cae37c143d32a810c1cf76cc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae0ddbbc910727ada3b2cd00a357222da"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ae0ddbbc910727ada3b2cd00a357222da">SetGeomFieldDirectly</a> (int iField, <a class="el" href="classOGRGeometry.html">OGRGeometry</a> *)</td></tr> <tr class="memdesc:ae0ddbbc910727ada3b2cd00a357222da"><td class="mdescLeft"> </td><td class="mdescRight">Set feature geometry of a specified geometry field. <a href="#ae0ddbbc910727ada3b2cd00a357222da">More...</a><br/></td></tr> <tr class="separator:ae0ddbbc910727ada3b2cd00a357222da"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a26d865b737d699a12f260ee0a75588b9"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a26d865b737d699a12f260ee0a75588b9">SetGeomField</a> (int iField, <a class="el" href="classOGRGeometry.html">OGRGeometry</a> *)</td></tr> <tr class="memdesc:a26d865b737d699a12f260ee0a75588b9"><td class="mdescLeft"> </td><td class="mdescRight">Set feature geometry of a specified geometry field. <a href="#a26d865b737d699a12f260ee0a75588b9">More...</a><br/></td></tr> <tr class="separator:a26d865b737d699a12f260ee0a75588b9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a580a742ae4952c3a4a0dd25ae2afb7e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRFeature.html">OGRFeature</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">Clone</a> ()</td></tr> <tr class="memdesc:a580a742ae4952c3a4a0dd25ae2afb7e5"><td class="mdescLeft"> </td><td class="mdescRight">Duplicate feature. <a href="#a580a742ae4952c3a4a0dd25ae2afb7e5">More...</a><br/></td></tr> <tr class="separator:a580a742ae4952c3a4a0dd25ae2afb7e5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a738dfd54ecb6fb86e294929e91f90479"><td class="memItemLeft" align="right" valign="top">virtual OGRBoolean </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal</a> (<a class="el" href="classOGRFeature.html">OGRFeature</a> *poFeature)</td></tr> <tr class="memdesc:a738dfd54ecb6fb86e294929e91f90479"><td class="mdescLeft"> </td><td class="mdescRight">Test if two features are the same. <a href="#a738dfd54ecb6fb86e294929e91f90479">More...</a><br/></td></tr> <tr class="separator:a738dfd54ecb6fb86e294929e91f90479"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab7f4eb0c098a9456d4005828127cdde0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0">GetFieldCount</a> ()</td></tr> <tr class="memdesc:ab7f4eb0c098a9456d4005828127cdde0"><td class="mdescLeft"> </td><td class="mdescRight">Fetch number of fields on this feature. This will always be the same as the field count for the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. <a href="#ab7f4eb0c098a9456d4005828127cdde0">More...</a><br/></td></tr> <tr class="separator:ab7f4eb0c098a9456d4005828127cdde0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a35aba5a674e9901eccf1e7d90d97d773"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRFieldDefn.html">OGRFieldDefn</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a35aba5a674e9901eccf1e7d90d97d773">GetFieldDefnRef</a> (int iField)</td></tr> <tr class="memdesc:a35aba5a674e9901eccf1e7d90d97d773"><td class="mdescLeft"> </td><td class="mdescRight">Fetch definition for this field. <a href="#a35aba5a674e9901eccf1e7d90d97d773">More...</a><br/></td></tr> <tr class="separator:a35aba5a674e9901eccf1e7d90d97d773"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab49421f777e56b7cb41169f1301a7b21"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ab49421f777e56b7cb41169f1301a7b21">GetFieldIndex</a> (const char *pszName)</td></tr> <tr class="memdesc:ab49421f777e56b7cb41169f1301a7b21"><td class="mdescLeft"> </td><td class="mdescRight">Fetch the field index given field name. <a href="#ab49421f777e56b7cb41169f1301a7b21">More...</a><br/></td></tr> <tr class="separator:ab49421f777e56b7cb41169f1301a7b21"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7ad01c76b7b13bcf9eab5092aacac5fb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet</a> (int iField)</td></tr> <tr class="memdesc:a7ad01c76b7b13bcf9eab5092aacac5fb"><td class="mdescLeft"> </td><td class="mdescRight">Test if a field has ever been assigned a value or not. <a href="#a7ad01c76b7b13bcf9eab5092aacac5fb">More...</a><br/></td></tr> <tr class="separator:a7ad01c76b7b13bcf9eab5092aacac5fb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a937b21e0137e40bc1473f354879975da"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a937b21e0137e40bc1473f354879975da">UnsetField</a> (int iField)</td></tr> <tr class="memdesc:a937b21e0137e40bc1473f354879975da"><td class="mdescLeft"> </td><td class="mdescRight">Clear a field, marking it as unset. <a href="#a937b21e0137e40bc1473f354879975da">More...</a><br/></td></tr> <tr class="separator:a937b21e0137e40bc1473f354879975da"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae7f676d5a8e1f62d80b438c13b159ee0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionOGRField.html">OGRField</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ae7f676d5a8e1f62d80b438c13b159ee0">GetRawFieldRef</a> (int i)</td></tr> <tr class="memdesc:ae7f676d5a8e1f62d80b438c13b159ee0"><td class="mdescLeft"> </td><td class="mdescRight">Fetch a pointer to the internal field value given the index. <a href="#ae7f676d5a8e1f62d80b438c13b159ee0">More...</a><br/></td></tr> <tr class="separator:ae7f676d5a8e1f62d80b438c13b159ee0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:add319b68ea27a4ee0602d3aa460ca3b5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#add319b68ea27a4ee0602d3aa460ca3b5">GetFieldAsInteger</a> (int i)</td></tr> <tr class="memdesc:add319b68ea27a4ee0602d3aa460ca3b5"><td class="mdescLeft"> </td><td class="mdescRight">Fetch field value as integer. <a href="#add319b68ea27a4ee0602d3aa460ca3b5">More...</a><br/></td></tr> <tr class="separator:add319b68ea27a4ee0602d3aa460ca3b5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab8a57c94e8bb8ffac5e7048d896254b4"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ab8a57c94e8bb8ffac5e7048d896254b4">GetFieldAsDouble</a> (int i)</td></tr> <tr class="memdesc:ab8a57c94e8bb8ffac5e7048d896254b4"><td class="mdescLeft"> </td><td class="mdescRight">Fetch field value as a double. <a href="#ab8a57c94e8bb8ffac5e7048d896254b4">More...</a><br/></td></tr> <tr class="separator:ab8a57c94e8bb8ffac5e7048d896254b4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac7a0224e13dce1f9479a6bf2111ea766"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString</a> (int i)</td></tr> <tr class="memdesc:ac7a0224e13dce1f9479a6bf2111ea766"><td class="mdescLeft"> </td><td class="mdescRight">Fetch field value as a string. <a href="#ac7a0224e13dce1f9479a6bf2111ea766">More...</a><br/></td></tr> <tr class="separator:ac7a0224e13dce1f9479a6bf2111ea766"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f153cf4e2e6513b7df60f46ae8440bd"><td class="memItemLeft" align="right" valign="top">const int * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a3f153cf4e2e6513b7df60f46ae8440bd">GetFieldAsIntegerList</a> (int i, int *pnCount)</td></tr> <tr class="memdesc:a3f153cf4e2e6513b7df60f46ae8440bd"><td class="mdescLeft"> </td><td class="mdescRight">Fetch field value as a list of integers. <a href="#a3f153cf4e2e6513b7df60f46ae8440bd">More...</a><br/></td></tr> <tr class="separator:a3f153cf4e2e6513b7df60f46ae8440bd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f799b9e9e44af526659b646bbfda870"><td class="memItemLeft" align="right" valign="top">const double * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a8f799b9e9e44af526659b646bbfda870">GetFieldAsDoubleList</a> (int i, int *pnCount)</td></tr> <tr class="memdesc:a8f799b9e9e44af526659b646bbfda870"><td class="mdescLeft"> </td><td class="mdescRight">Fetch field value as a list of doubles. <a href="#a8f799b9e9e44af526659b646bbfda870">More...</a><br/></td></tr> <tr class="separator:a8f799b9e9e44af526659b646bbfda870"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac142f8ba9929f6c89133adbcbff39945"><td class="memItemLeft" align="right" valign="top">char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#ac142f8ba9929f6c89133adbcbff39945">GetFieldAsStringList</a> (int i)</td></tr> <tr class="memdesc:ac142f8ba9929f6c89133adbcbff39945"><td class="mdescLeft"> </td><td class="mdescRight">Fetch field value as a list of strings. <a href="#ac142f8ba9929f6c89133adbcbff39945">More...</a><br/></td></tr> <tr class="separator:ac142f8ba9929f6c89133adbcbff39945"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0262d9d3f0f9e18a1e2101e1972aebae"><td class="memItemLeft" align="right" valign="top">GByte * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a0262d9d3f0f9e18a1e2101e1972aebae">GetFieldAsBinary</a> (int i, int *pnCount)</td></tr> <tr class="memdesc:a0262d9d3f0f9e18a1e2101e1972aebae"><td class="mdescLeft"> </td><td class="mdescRight">Fetch field value as binary data. <a href="#a0262d9d3f0f9e18a1e2101e1972aebae">More...</a><br/></td></tr> <tr class="separator:a0262d9d3f0f9e18a1e2101e1972aebae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6c5d2444407b07e07b79863c42ee7a49"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a6c5d2444407b07e07b79863c42ee7a49">GetFieldAsDateTime</a> (int i, int *pnYear, int *pnMonth, int *pnDay, int *pnHour, int *pnMinute, int *pnSecond, int *pnTZFlag)</td></tr> <tr class="memdesc:a6c5d2444407b07e07b79863c42ee7a49"><td class="mdescLeft"> </td><td class="mdescRight">Fetch field value as date and time. <a href="#a6c5d2444407b07e07b79863c42ee7a49">More...</a><br/></td></tr> <tr class="separator:a6c5d2444407b07e07b79863c42ee7a49"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4abbe118cc2f3e48bbac7f710b71b531"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField</a> (int i, int nValue)</td></tr> <tr class="memdesc:a4abbe118cc2f3e48bbac7f710b71b531"><td class="mdescLeft"> </td><td class="mdescRight">Set field to integer value. <a href="#a4abbe118cc2f3e48bbac7f710b71b531">More...</a><br/></td></tr> <tr class="separator:a4abbe118cc2f3e48bbac7f710b71b531"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28a29785b812cbf8df68a1069cab2892"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a28a29785b812cbf8df68a1069cab2892">SetField</a> (int i, double dfValue)</td></tr> <tr class="memdesc:a28a29785b812cbf8df68a1069cab2892"><td class="mdescLeft"> </td><td class="mdescRight">Set field to double value. <a href="#a28a29785b812cbf8df68a1069cab2892">More...</a><br/></td></tr> <tr class="separator:a28a29785b812cbf8df68a1069cab2892"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2d96b53563cf0c1ad7ada15170d9d75e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a2d96b53563cf0c1ad7ada15170d9d75e">SetField</a> (int i, const char *pszValue)</td></tr> <tr class="memdesc:a2d96b53563cf0c1ad7ada15170d9d75e"><td class="mdescLeft"> </td><td class="mdescRight">Set field to string value. <a href="#a2d96b53563cf0c1ad7ada15170d9d75e">More...</a><br/></td></tr> <tr class="separator:a2d96b53563cf0c1ad7ada15170d9d75e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9c4d7b02debcff54be9da2373ae621c9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a9c4d7b02debcff54be9da2373ae621c9">SetField</a> (int i, int nCount, int *panValues)</td></tr> <tr class="memdesc:a9c4d7b02debcff54be9da2373ae621c9"><td class="mdescLeft"> </td><td class="mdescRight">Set field to list of integers value. <a href="#a9c4d7b02debcff54be9da2373ae621c9">More...</a><br/></td></tr> <tr class="separator:a9c4d7b02debcff54be9da2373ae621c9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3ce2f723223a23a36d209eaa5ea8d358"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a3ce2f723223a23a36d209eaa5ea8d358">SetField</a> (int i, int nCount, double *padfValues)</td></tr> <tr class="memdesc:a3ce2f723223a23a36d209eaa5ea8d358"><td class="mdescLeft"> </td><td class="mdescRight">Set field to list of doubles value. <a href="#a3ce2f723223a23a36d209eaa5ea8d358">More...</a><br/></td></tr> <tr class="separator:a3ce2f723223a23a36d209eaa5ea8d358"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6e78066ea58ca9b3d3d802baa94807ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a6e78066ea58ca9b3d3d802baa94807ae">SetField</a> (int i, char **papszValues)</td></tr> <tr class="memdesc:a6e78066ea58ca9b3d3d802baa94807ae"><td class="mdescLeft"> </td><td class="mdescRight">Set field to list of strings value. <a href="#a6e78066ea58ca9b3d3d802baa94807ae">More...</a><br/></td></tr> <tr class="separator:a6e78066ea58ca9b3d3d802baa94807ae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a19c699e90eba68df4f336cde33ca51a9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a19c699e90eba68df4f336cde33ca51a9">SetField</a> (int i, <a class="el" href="unionOGRField.html">OGRField</a> *puValue)</td></tr> <tr class="memdesc:a19c699e90eba68df4f336cde33ca51a9"><td class="mdescLeft"> </td><td class="mdescRight">Set field. <a href="#a19c699e90eba68df4f336cde33ca51a9">More...</a><br/></td></tr> <tr class="separator:a19c699e90eba68df4f336cde33ca51a9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaffef1273673a04dad428e803e6d88a6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#aaffef1273673a04dad428e803e6d88a6">SetField</a> (int i, int nCount, GByte *pabyBinary)</td></tr> <tr class="memdesc:aaffef1273673a04dad428e803e6d88a6"><td class="mdescLeft"> </td><td class="mdescRight">Set field to binary data. <a href="#aaffef1273673a04dad428e803e6d88a6">More...</a><br/></td></tr> <tr class="separator:aaffef1273673a04dad428e803e6d88a6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80ca40aeda639243275e2d076301b6da"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a80ca40aeda639243275e2d076301b6da">SetField</a> (int i, int nYear, int nMonth, int nDay, int nHour=0, int nMinute=0, int nSecond=0, int nTZFlag=0)</td></tr> <tr class="memdesc:a80ca40aeda639243275e2d076301b6da"><td class="mdescLeft"> </td><td class="mdescRight">Set field to date. <a href="#a80ca40aeda639243275e2d076301b6da">More...</a><br/></td></tr> <tr class="separator:a80ca40aeda639243275e2d076301b6da"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a23506b436ea8e88e65aaa6b57bbaa326"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a23506b436ea8e88e65aaa6b57bbaa326">GetFID</a> ()</td></tr> <tr class="memdesc:a23506b436ea8e88e65aaa6b57bbaa326"><td class="mdescLeft"> </td><td class="mdescRight">Get feature identifier. <a href="#a23506b436ea8e88e65aaa6b57bbaa326">More...</a><br/></td></tr> <tr class="separator:a23506b436ea8e88e65aaa6b57bbaa326"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9abfc256b2d1758761fa54ca3395029b"><td class="memItemLeft" align="right" valign="top">virtual OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a9abfc256b2d1758761fa54ca3395029b">SetFID</a> (long nFID)</td></tr> <tr class="memdesc:a9abfc256b2d1758761fa54ca3395029b"><td class="mdescLeft"> </td><td class="mdescRight">Set the feature identifier. <a href="#a9abfc256b2d1758761fa54ca3395029b">More...</a><br/></td></tr> <tr class="separator:a9abfc256b2d1758761fa54ca3395029b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6c787aeb650bd03420309ca4f52c0083"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a6c787aeb650bd03420309ca4f52c0083">DumpReadable</a> (FILE *, char **papszOptions=NULL)</td></tr> <tr class="memdesc:a6c787aeb650bd03420309ca4f52c0083"><td class="mdescLeft"> </td><td class="mdescRight">Dump this feature in a human readable form. <a href="#a6c787aeb650bd03420309ca4f52c0083">More...</a><br/></td></tr> <tr class="separator:a6c787aeb650bd03420309ca4f52c0083"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8ebc0999c4bce0b5073add16598dfc77"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a8ebc0999c4bce0b5073add16598dfc77">SetFrom</a> (<a class="el" href="classOGRFeature.html">OGRFeature</a> *, int=TRUE)</td></tr> <tr class="memdesc:a8ebc0999c4bce0b5073add16598dfc77"><td class="mdescLeft"> </td><td class="mdescRight">Set one feature from another. <a href="#a8ebc0999c4bce0b5073add16598dfc77">More...</a><br/></td></tr> <tr class="separator:a8ebc0999c4bce0b5073add16598dfc77"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a05c7db31f9585ca8ec6d087225bffcf8"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom</a> (<a class="el" href="classOGRFeature.html">OGRFeature</a> *, int *, int=TRUE)</td></tr> <tr class="memdesc:a05c7db31f9585ca8ec6d087225bffcf8"><td class="mdescLeft"> </td><td class="mdescRight">Set one feature from another. <a href="#a05c7db31f9585ca8ec6d087225bffcf8">More...</a><br/></td></tr> <tr class="separator:a05c7db31f9585ca8ec6d087225bffcf8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6705e5ff8b1012ce4a687b973ecddf73"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom</a> (<a class="el" href="classOGRFeature.html">OGRFeature</a> *, int *, int=TRUE)</td></tr> <tr class="memdesc:a6705e5ff8b1012ce4a687b973ecddf73"><td class="mdescLeft"> </td><td class="mdescRight">Set fields from another feature. <a href="#a6705e5ff8b1012ce4a687b973ecddf73">More...</a><br/></td></tr> <tr class="separator:a6705e5ff8b1012ce4a687b973ecddf73"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a54c179e53eb6eddb657dd392a87cccab"><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a54c179e53eb6eddb657dd392a87cccab">GetStyleString</a> ()</td></tr> <tr class="memdesc:a54c179e53eb6eddb657dd392a87cccab"><td class="mdescLeft"> </td><td class="mdescRight">Fetch style string for this feature. <a href="#a54c179e53eb6eddb657dd392a87cccab">More...</a><br/></td></tr> <tr class="separator:a54c179e53eb6eddb657dd392a87cccab"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5d2c15d00845820e6382d48227ed7ff7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a5d2c15d00845820e6382d48227ed7ff7">SetStyleString</a> (const char *)</td></tr> <tr class="memdesc:a5d2c15d00845820e6382d48227ed7ff7"><td class="mdescLeft"> </td><td class="mdescRight">Set feature style string. This method operate exactly as <a class="el" href="classOGRFeature.html#a7282982663cee5dd2fc18a093c3e386a" title="Set feature style string. This method operate exactly as OGRFeature::SetStyleString() except that it ...">OGRFeature::SetStyleStringDirectly()</a> except that it does not assume ownership of the passed string, but instead makes a copy of it. <a href="#a5d2c15d00845820e6382d48227ed7ff7">More...</a><br/></td></tr> <tr class="separator:a5d2c15d00845820e6382d48227ed7ff7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7282982663cee5dd2fc18a093c3e386a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a7282982663cee5dd2fc18a093c3e386a">SetStyleStringDirectly</a> (char *)</td></tr> <tr class="memdesc:a7282982663cee5dd2fc18a093c3e386a"><td class="mdescLeft"> </td><td class="mdescRight">Set feature style string. This method operate exactly as <a class="el" href="classOGRFeature.html#a5d2c15d00845820e6382d48227ed7ff7" title="Set feature style string. This method operate exactly as OGRFeature::SetStyleStringDirectly() except ...">OGRFeature::SetStyleString()</a> except that it assumes ownership of the passed string. <a href="#a7282982663cee5dd2fc18a093c3e386a">More...</a><br/></td></tr> <tr class="separator:a7282982663cee5dd2fc18a093c3e386a"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a0ef4455f24cfbec6cf37110f9116cf15"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classOGRFeature.html">OGRFeature</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a0ef4455f24cfbec6cf37110f9116cf15">CreateFeature</a> (<a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> *)</td></tr> <tr class="memdesc:a0ef4455f24cfbec6cf37110f9116cf15"><td class="mdescLeft"> </td><td class="mdescRight">Feature factory. <a href="#a0ef4455f24cfbec6cf37110f9116cf15">More...</a><br/></td></tr> <tr class="separator:a0ef4455f24cfbec6cf37110f9116cf15"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5d2602d11f21567119da0ca6b6c5ad45"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRFeature.html#a5d2602d11f21567119da0ca6b6c5ad45">DestroyFeature</a> (<a class="el" href="classOGRFeature.html">OGRFeature</a> *)</td></tr> <tr class="memdesc:a5d2602d11f21567119da0ca6b6c5ad45"><td class="mdescLeft"> </td><td class="mdescRight">Destroy feature. <a href="#a5d2602d11f21567119da0ca6b6c5ad45">More...</a><br/></td></tr> <tr class="separator:a5d2602d11f21567119da0ca6b6c5ad45"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>A simple feature, including geometry and attributes. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="ae6559a9f3c26274d1253e5d043b2e852"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRFeature::OGRFeature </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> * </td> <td class="paramname"><em>poDefnIn</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor. </p> <p>Note that the <a class="el" href="classOGRFeature.html">OGRFeature</a> will increment the reference count of it's defining <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. Destruction of the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> before destruction of all OGRFeatures that depend on it is likely to result in a crash.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a335fbf2220d7f93437621cae723558ac" title="Feature factory. ">OGR_F_Create()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poDefnIn</td><td>feature class (layer) definition to which the feature will adhere. </td></tr> </table> </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="classOGRFeatureDefn.html#ab400f9106e7544ebafa30b1fe59869b1">OGRFeatureDefn::GetFieldCount()</a>, <a class="el" href="classOGRFeatureDefn.html#aa4a41bcd09868d325d214c28e17717eb">OGRFeatureDefn::GetGeomFieldCount()</a>, and <a class="el" href="classOGRFeatureDefn.html#a2c58c6238242dff3d472faf5e3803922">OGRFeatureDefn::Reference()</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">Clone()</a>, and <a class="el" href="classOGRFeature.html#a0ef4455f24cfbec6cf37110f9116cf15">CreateFeature()</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a580a742ae4952c3a4a0dd25ae2afb7e5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRFeature.html">OGRFeature</a> * OGRFeature::Clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Duplicate feature. </p> <p>The newly created feature is owned by the caller, and will have it's own reference to the <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#a90c0adfd518b71571d9ce8d976fab320" title="Duplicate feature. ">OGR_F_Clone()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>new feature, exactly matching this feature. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#a23506b436ea8e88e65aaa6b57bbaa326">GetFID()</a>, <a class="el" href="classOGRFeatureDefn.html#ab400f9106e7544ebafa30b1fe59869b1">OGRFeatureDefn::GetFieldCount()</a>, <a class="el" href="classOGRFeatureDefn.html#aa4a41bcd09868d325d214c28e17717eb">OGRFeatureDefn::GetGeomFieldCount()</a>, <a class="el" href="classOGRFeature.html#a54c179e53eb6eddb657dd392a87cccab">GetStyleString()</a>, <a class="el" href="classOGRFeature.html#ae6559a9f3c26274d1253e5d043b2e852">OGRFeature()</a>, <a class="el" href="classOGRFeature.html#a9abfc256b2d1758761fa54ca3395029b">SetFID()</a>, <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>, <a class="el" href="classOGRFeature.html#a26d865b737d699a12f260ee0a75588b9">SetGeomField()</a>, and <a class="el" href="classOGRFeature.html#a5d2c15d00845820e6382d48227ed7ff7">SetStyleString()</a>.</p> <p>Referenced by <a class="el" href="classOGRGenSQLResultsLayer.html#a6c318023a60caf1b681e6519c2e33ba3">OGRGenSQLResultsLayer::GetFeature()</a>.</p> </div> </div> <a class="anchor" id="a0ef4455f24cfbec6cf37110f9116cf15"></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="classOGRFeature.html">OGRFeature</a> * OGRFeature::CreateFeature </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> * </td> <td class="paramname"><em>poDefn</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Feature factory. </p> <p>This is essentially a feature factory, useful for applications creating features but wanting to ensure they are created out of the OGR/GDAL heap.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a335fbf2220d7f93437621cae723558ac" title="Feature factory. ">OGR_F_Create()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poDefn</td><td>Feature definition defining schema.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>new feature object with null fields and no geometry. May be deleted with delete. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#ae6559a9f3c26274d1253e5d043b2e852">OGRFeature()</a>.</p> <p>Referenced by <a class="el" href="classOGRDataSource.html#a42dc7f7f538cd4f083af350722fe53ae">OGRDataSource::CopyLayer()</a>.</p> </div> </div> <a class="anchor" id="a5d2602d11f21567119da0ca6b6c5ad45"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void OGRFeature::DestroyFeature </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRFeature.html">OGRFeature</a> * </td> <td class="paramname"><em>poFeature</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destroy feature. </p> <p>The feature is deleted, but within the context of the GDAL/OGR heap. This is necessary when higher level applications use GDAL/OGR from a DLL and they want to delete a feature created within the DLL. If the delete is done in the calling application the memory will be freed onto the application heap which is inappropriate.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a16fb8126aa932f4b4acdaca5ea99bbbb" title="Destroy feature. ">OGR_F_Destroy()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poFeature</td><td>the feature to delete. </td></tr> </table> </dd> </dl> <p>Referenced by <a class="el" href="classOGRDataSource.html#a42dc7f7f538cd4f083af350722fe53ae">OGRDataSource::CopyLayer()</a>.</p> </div> </div> <a class="anchor" id="a6c787aeb650bd03420309ca4f52c0083"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::DumpReadable </td> <td>(</td> <td class="paramtype">FILE * </td> <td class="paramname"><em>fpOut</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"><em>papszOptions</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Dump this feature in a human readable form. </p> <p>This dumps the attributes, and geometry; however, it doesn't definition information (other than field types and names), nor does it report the geometry spatial reference system.</p> <p>A few options can be defined to change the default dump : </p> <ul> <li> DISPLAY_FIELDS=NO : to hide the dump of the attributes </li> <li> DISPLAY_STYLE=NO : to hide the dump of the style string </li> <li> DISPLAY_GEOMETRY=NO : to hide the dump of the geometry </li> <li> DISPLAY_GEOMETRY=SUMMARY : to get only a summary of the geometry </li> </ul> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ae38d330f942798fcbaaf27e5807fb567" title="Dump this feature in a human readable form. ">OGR_F_DumpReadable()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">fpOut</td><td>the stream to write to, such as stdout. If NULL stdout will be used. </td></tr> <tr><td class="paramname">papszOptions</td><td>NULL terminated list of options (may be NULL) </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__string_8h.html#ada798bb0fafd08c7908d0f3716f341b3">CSLTestBoolean()</a>, <a class="el" href="classOGRGeometry.html#a2e70f05d61566a5ddaa29b44f637cfff">OGRGeometry::dumpReadable()</a>, <a class="el" href="classOGRFeature.html#a23506b436ea8e88e65aaa6b57bbaa326">GetFID()</a>, <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString()</a>, <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0">GetFieldCount()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#afc2a020f72be8296b6e09f5ab979f930">OGRFieldDefn::GetFieldTypeName()</a>, <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, <a class="el" href="classOGRFeatureDefn.html#acacca3de3718ae525565e5130b5474dc">OGRFeatureDefn::GetGeomFieldDefn()</a>, <a class="el" href="classOGRFeatureDefn.html#a1efe6db724bb1c5fde13e5f3896e4a01">OGRFeatureDefn::GetName()</a>, <a class="el" href="classOGRFieldDefn.html#a7754d32a36e4ba854f71f511a5ca7740">OGRFieldDefn::GetNameRef()</a>, <a class="el" href="classOGRGeomFieldDefn.html#a8dbbb2a2630752eda8702cd4196ed4c6">OGRGeomFieldDefn::GetNameRef()</a>, <a class="el" href="classOGRFeature.html#a54c179e53eb6eddb657dd392a87cccab">GetStyleString()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, and <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>.</p> </div> </div> <a class="anchor" id="a738dfd54ecb6fb86e294929e91f90479"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">OGRBoolean OGRFeature::Equal </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRFeature.html">OGRFeature</a> * </td> <td class="paramname"><em>poFeature</em></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>Test if two features are the same. </p> <p>Two features are considered equal if the share them (pointer equality) same <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>, have the same field values, and the same geometry (as tested by OGRGeometry::Equal()) as well as the same feature id.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a8b6a502ec0b70f3de50e7184a087a264" title="Test if two features are the same. ">OGR_F_Equal()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poFeature</td><td>the other feature to test this one against.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if they are equal, otherwise FALSE. </dd></dl> <p>References <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="classOGRGeometry.html#ae751513a46c7e7b154796bfe494faf16">OGRGeometry::Equals()</a>, <a class="el" href="classOGRFeature.html#a01ef8d59265a7ab7a575387a8269bf92">GetDefnRef()</a>, <a class="el" href="classOGRFeature.html#a23506b436ea8e88e65aaa6b57bbaa326">GetFID()</a>, <a class="el" href="classOGRFeature.html#a0262d9d3f0f9e18a1e2101e1972aebae">GetFieldAsBinary()</a>, <a class="el" href="classOGRFeature.html#a6c5d2444407b07e07b79863c42ee7a49">GetFieldAsDateTime()</a>, <a class="el" href="classOGRFeature.html#ab8a57c94e8bb8ffac5e7048d896254b4">GetFieldAsDouble()</a>, <a class="el" href="classOGRFeature.html#a8f799b9e9e44af526659b646bbfda870">GetFieldAsDoubleList()</a>, <a class="el" href="classOGRFeature.html#add319b68ea27a4ee0602d3aa460ca3b5">GetFieldAsInteger()</a>, <a class="el" href="classOGRFeature.html#a3f153cf4e2e6513b7df60f46ae8440bd">GetFieldAsIntegerList()</a>, <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString()</a>, <a class="el" href="classOGRFeature.html#ac142f8ba9929f6c89133adbcbff39945">GetFieldAsStringList()</a>, <a class="el" href="classOGRFeatureDefn.html#ab400f9106e7544ebafa30b1fe59869b1">OGRFeatureDefn::GetFieldCount()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, <a class="el" href="classOGRFeature.html#ae54d999d4649730d5c7b37de731e4f69">GetGeomFieldRef()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca87c732175b3e99aeebca957ada1f6a2c">OFTBinary</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca742f1a13593939558dd7f0083e78df27">OFTDate</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac88631a8d99c78b5df17f971b8304239">OFTDateTime</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac29f48b1251f60a6e6eb1bb66dc75ad2">OFTStringList</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca30c4c3e7adec85f189b4a025efa6725f">OFTTime</a>.</p> </div> </div> <a class="anchor" id="a01ef8d59265a7ab7a575387a8269bf92"></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="classOGRFeatureDefn.html">OGRFeatureDefn</a> * OGRFeature::GetDefnRef </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 feature definition. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a123dfa431bf655aafd2dbd42247dd7be" title="Fetch feature definition. ">OGR_F_GetDefnRef()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>a reference to the feature definition object. </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>.</p> </div> </div> <a class="anchor" id="a23506b436ea8e88e65aaa6b57bbaa326"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">long OGRFeature::GetFID </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>Get feature identifier. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a95bc391bf7883a8732a523d525c26a00" title="Get feature identifier. ">OGR_F_GetFID()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>feature id or OGRNullFID if none has been assigned. </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">Clone()</a>, <a class="el" href="classOGRDataSource.html#a42dc7f7f538cd4f083af350722fe53ae">OGRDataSource::CopyLayer()</a>, <a class="el" href="classOGRUnionLayer.html#a094a2f13809f0b2eaabbc572ddfc19ed">OGRUnionLayer::CreateFeature()</a>, <a class="el" href="classOGRFeature.html#a6c787aeb650bd03420309ca4f52c0083">DumpReadable()</a>, <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, <a class="el" href="classOGRLayer.html#acb7625383f161e5a04aeea2173dce411">OGRLayer::GetFeature()</a>, <a class="el" href="classOGRFeature.html#ab8a57c94e8bb8ffac5e7048d896254b4">GetFieldAsDouble()</a>, <a class="el" href="classOGRFeature.html#add319b68ea27a4ee0602d3aa460ca3b5">GetFieldAsInteger()</a>, <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString()</a>, and <a class="el" href="classOGRUnionLayer.html#ab44d7c6a95d8d6a73f906f60760c0c56">OGRUnionLayer::SetFeature()</a>.</p> </div> </div> <a class="anchor" id="a0262d9d3f0f9e18a1e2101e1972aebae"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GByte * OGRFeature::GetFieldAsBinary </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnBytes</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch field value as binary data. </p> <p>Currently this method only works for OFTBinary fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a72727f2f59d1defa01cedfb884df1a09" title="Fetch field value as binary. ">OGR_F_GetFieldAsBinary()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">pnBytes</td><td>location to put the number of bytes returned.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field value. This data is internal, and should not be modified, or freed. Its lifetime may be very brief. </dd></dl> <p>References <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca87c732175b3e99aeebca957ada1f6a2c">OFTBinary</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>.</p> </div> </div> <a class="anchor" id="a6c5d2444407b07e07b79863c42ee7a49"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRFeature::GetFieldAsDateTime </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnYear</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnDay</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnHour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnMinute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnSecond</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnTZFlag</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch field value as date and time. </p> <p>Currently this method only works for OFTDate, OFTTime and OFTDateTime fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a47ca681bb6099eb8c18004d1f7112d95" title="Fetch field value as date and time. ">OGR_F_GetFieldAsDateTime()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">pnYear</td><td>(including century) </td></tr> <tr><td class="paramname">pnMonth</td><td>(1-12) </td></tr> <tr><td class="paramname">pnDay</td><td>(1-31) </td></tr> <tr><td class="paramname">pnHour</td><td>(0-23) </td></tr> <tr><td class="paramname">pnMinute</td><td>(0-59) </td></tr> <tr><td class="paramname">pnSecond</td><td>(0-59) </td></tr> <tr><td class="paramname">pnTZFlag</td><td>(0=unknown, 1=localtime, 100=GMT, see data model for details)</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE on success or FALSE on failure. </dd></dl> <p>References <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca742f1a13593939558dd7f0083e78df27">OFTDate</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac88631a8d99c78b5df17f971b8304239">OFTDateTime</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca30c4c3e7adec85f189b4a025efa6725f">OFTTime</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>.</p> </div> </div> <a class="anchor" id="ab8a57c94e8bb8ffac5e7048d896254b4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRFeature::GetFieldAsDouble </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch field value as a double. </p> <p>OFTString features will be translated using atof(). OFTInteger fields will be cast to double. Other field types, or errors will result in a return value of zero.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a62252a0d4538c695d41956a96cdc6978" title="Fetch field value as a double. ">OGR_F_GetFieldAsDouble()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field value. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#a23506b436ea8e88e65aaa6b57bbaa326">GetFID()</a>, <a class="el" href="classOGRFeatureDefn.html#ab400f9106e7544ebafa30b1fe59869b1">OGRFeatureDefn::GetFieldCount()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, and <a class="el" href="ogr__api_8h.html#a2a849c584cd22a199bcfb9b34b9a1a8f">OGR_G_Area()</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, and <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>.</p> </div> </div> <a class="anchor" id="a8f799b9e9e44af526659b646bbfda870"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const double * OGRFeature::GetFieldAsDoubleList </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnCount</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch field value as a list of doubles. </p> <p>Currently this method only works for OFTRealList fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a4a27f74a38506ac492ec8b6e00eb58c9" title="Fetch field value as a list of doubles. ">OGR_F_GetFieldAsDoubleList()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">pnCount</td><td>an integer to put the list count (number of doubles) into.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field value. This list is internal, and should not be modified, or freed. Its lifetime may be very brief. If *pnCount is zero on return the returned pointer may be NULL or non-NULL. </dd></dl> <p>References <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, and <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>.</p> </div> </div> <a class="anchor" id="add319b68ea27a4ee0602d3aa460ca3b5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRFeature::GetFieldAsInteger </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch field value as integer. </p> <p>OFTString features will be translated using atoi(). OFTReal fields will be cast to integer. Other field types, or errors will result in a return value of zero.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#acfb4d2c0001af379e396021ecbdaf275" title="Fetch field value as integer. ">OGR_F_GetFieldAsInteger()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field value. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#a23506b436ea8e88e65aaa6b57bbaa326">GetFID()</a>, <a class="el" href="classOGRFeatureDefn.html#ab400f9106e7544ebafa30b1fe59869b1">OGRFeatureDefn::GetFieldCount()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, and <a class="el" href="ogr__api_8h.html#a2a849c584cd22a199bcfb9b34b9a1a8f">OGR_G_Area()</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, and <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>.</p> </div> </div> <a class="anchor" id="a3f153cf4e2e6513b7df60f46ae8440bd"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const int * OGRFeature::GetFieldAsIntegerList </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>pnCount</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch field value as a list of integers. </p> <p>Currently this method only works for OFTIntegerList fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ac671852e05692c584b493b2acbd6b8ce" title="Fetch field value as a list of integers. ">OGR_F_GetFieldAsIntegerList()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">pnCount</td><td>an integer to put the list count (number of integers) into.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field value. This list is internal, and should not be modified, or freed. Its lifetime may be very brief. If *pnCount is zero on return the returned pointer may be NULL or non-NULL. </dd></dl> <p>References <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, and <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>.</p> </div> </div> <a class="anchor" id="ac7a0224e13dce1f9479a6bf2111ea766"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * OGRFeature::GetFieldAsString </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch field value as a string. </p> <p>OFTReal and OFTInteger fields will be translated to string using sprintf(), but not necessarily using the established formatting rules. Other field types, or errors will result in a return value of zero.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a42acfd1f4b49dddc1c308462ae800c26" title="Fetch field value as a string. ">OGR_F_GetFieldAsString()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field value. This string is internal, and should not be modified, or freed. Its lifetime may be very brief. </dd></dl> <p>References <a class="el" href="cpl__string_8h.html#ae683e10df83274c83aefc305cbcf4cba">CPLBinaryToHex()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGRFeature.html#a23506b436ea8e88e65aaa6b57bbaa326">GetFID()</a>, <a class="el" href="classOGRFeatureDefn.html#ab400f9106e7544ebafa30b1fe59869b1">OGRFeatureDefn::GetFieldCount()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRGeometry.html#aba109e1c53ce1452942f85eae66d88b8">OGRGeometry::getGeometryName()</a>, <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, <a class="el" href="classOGRFieldDefn.html#a704a3aa995e9ee44b369aff7f1e065a5">OGRFieldDefn::GetPrecision()</a>, <a class="el" href="classOGRFeature.html#a54c179e53eb6eddb657dd392a87cccab">GetStyleString()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFieldDefn.html#a3aca8d59291beed0ccfe2e05a187bcb1">OGRFieldDefn::GetWidth()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca87c732175b3e99aeebca957ada1f6a2c">OFTBinary</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca742f1a13593939558dd7f0083e78df27">OFTDate</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac88631a8d99c78b5df17f971b8304239">OFTDateTime</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac29f48b1251f60a6e6eb1bb66dc75ad2">OFTStringList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca30c4c3e7adec85f189b4a025efa6725f">OFTTime</a>, and <a class="el" href="ogr__api_8h.html#a2a849c584cd22a199bcfb9b34b9a1a8f">OGR_G_Area()</a>.</p> <p>Referenced by <a class="el" href="classOGRUnionLayer.html#a094a2f13809f0b2eaabbc572ddfc19ed">OGRUnionLayer::CreateFeature()</a>, <a class="el" href="classOGRFeature.html#a6c787aeb650bd03420309ca4f52c0083">DumpReadable()</a>, <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, <a class="el" href="classOGRFeature.html#a54c179e53eb6eddb657dd392a87cccab">GetStyleString()</a>, <a class="el" href="classOGRUnionLayer.html#ab44d7c6a95d8d6a73f906f60760c0c56">OGRUnionLayer::SetFeature()</a>, and <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>.</p> </div> </div> <a class="anchor" id="ac142f8ba9929f6c89133adbcbff39945"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char ** OGRFeature::GetFieldAsStringList </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch field value as a list of strings. </p> <p>Currently this method only works for OFTStringList fields.</p> <p>The returned list is terminated by a NULL pointer. The number of elements can also be calculated using <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a3e55ba4a06d4c4a392206518b390ac38" title="Fetch field value as a list of strings. ">OGR_F_GetFieldAsStringList()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field value. This list is internal, and should not be modified, or freed. Its lifetime may be very brief. </dd></dl> <p>References <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac29f48b1251f60a6e6eb1bb66dc75ad2">OFTStringList</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>.</p> </div> </div> <a class="anchor" id="ab7f4eb0c098a9456d4005828127cdde0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int OGRFeature::GetFieldCount </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 number of fields on this feature. This will always be the same as the field count for the <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#af6c1440956ee56c0c160394bccf96990" title="Fetch number of fields on this feature This will always be the same as the field count for the OGRFea...">OGR_F_GetFieldCount()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>count of fields. </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a6c787aeb650bd03420309ca4f52c0083">DumpReadable()</a>, <a class="el" href="ogr__api_8h.html#abb018a9030ed76353ae26082deaaef11">OGR_F_IsFieldSet()</a>, <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>, and <a class="el" href="classOGRFeature.html#a8ebc0999c4bce0b5073add16598dfc77">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="a35aba5a674e9901eccf1e7d90d97d773"></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="classOGRFieldDefn.html">OGRFieldDefn</a> * OGRFeature::GetFieldDefnRef </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</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>Fetch definition for this field. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a6f8fc7fd6ecca789ad90db6d28391623" title="Fetch definition for this field. ">OGR_F_GetFieldDefnRef()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field definition (from the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>). This is an internal reference, and should not be deleted or modified. </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>, and <a class="el" href="classOGRFeature.html#a8ebc0999c4bce0b5073add16598dfc77">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="ab49421f777e56b7cb41169f1301a7b21"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int OGRFeature::GetFieldIndex </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</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>Fetch the field index given field name. </p> <p>This is a cover for the <a class="el" href="classOGRFeatureDefn.html#a4f7111e4c818f194932795e9c9593258" title="Find field by name. ">OGRFeatureDefn::GetFieldIndex()</a> method.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a9a8a6b93ab97204b94f5c2b358f8f98e" title="Fetch the field index given field name. ">OGR_F_GetFieldIndex()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the name of the field to search for.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field index, or -1 if no matching field is found. </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a54c179e53eb6eddb657dd392a87cccab">GetStyleString()</a>, and <a class="el" href="classOGRFeature.html#a8ebc0999c4bce0b5073add16598dfc77">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="acc966ce8c10ae3ddf9f14c2736fdce9a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * OGRFeature::GetGeometryRef </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch pointer to feature geometry. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a1bf9596756aeacec4da502383c378f5c" title="Fetch an handle to feature geometry. ">OGR_F_GetGeometryRef()</a>.</p> <p>Starting with GDAL 1.11, this is equivalent to calling OGRFeature::GetGeomFieldRef(0).</p> <dl class="section return"><dt>Returns</dt><dd>pointer to internal feature geometry. This object should not be modified. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, and <a class="el" href="classOGRFeature.html#ae54d999d4649730d5c7b37de731e4f69">GetGeomFieldRef()</a>.</p> <p>Referenced by <a class="el" href="classOGRLayer.html#a56d7ee3b2020e53c730d67ee4f1e2fb6">OGRLayer::Clip()</a>, and <a class="el" href="classOGRLayer.html#ae8fcf55ffa259f32df35edcb05274439">OGRLayer::Erase()</a>.</p> </div> </div> <a class="anchor" id="af673e46f318facbee14acec3d6db2caf"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int OGRFeature::GetGeomFieldCount </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 number of geometry fields on this feature. This will always be the same as the geometry field count for the <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#a7975076d4ab247189487c0fd50d8365c" title="Fetch number of geometry fields on this feature This will always be the same as the geometry field co...">OGR_F_GetGeomFieldCount()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>count of geometry fields.</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">DumpReadable()</a>, <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, <a class="el" href="classOGRFeature.html#ab8a57c94e8bb8ffac5e7048d896254b4">GetFieldAsDouble()</a>, <a class="el" href="classOGRFeature.html#add319b68ea27a4ee0602d3aa460ca3b5">GetFieldAsInteger()</a>, <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString()</a>, <a class="el" href="classOGRFeature.html#acc966ce8c10ae3ddf9f14c2736fdce9a">GetGeometryRef()</a>, <a class="el" href="classOGRFeature.html#ae54d999d4649730d5c7b37de731e4f69">GetGeomFieldRef()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>, <a class="el" href="classOGRFeature.html#af1181ade837a52129ea25b46dd50cf30">SetGeometry()</a>, <a class="el" href="classOGRFeature.html#a40a4ddb33f09a5f340b9139be72e277d">SetGeometryDirectly()</a>, <a class="el" href="classOGRFeature.html#a26d865b737d699a12f260ee0a75588b9">SetGeomField()</a>, <a class="el" href="classOGRFeature.html#ae0ddbbc910727ada3b2cd00a357222da">SetGeomFieldDirectly()</a>, and <a class="el" href="classOGRFeature.html#a2f078d96bfb310664f1a95183798c0dc">StealGeometry()</a>.</p> </div> </div> <a class="anchor" id="ab0416401dc7d6a7634c2a24ca1f7d255"></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="classOGRGeomFieldDefn.html">OGRGeomFieldDefn</a> * OGRFeature::GetGeomFieldDefnRef </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iGeomField</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>Fetch definition for this geometry field. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a11c3d59a3854dad80c4257e788c5d881" title="Fetch definition for this geometry field. ">OGR_F_GetGeomFieldDefnRef()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iGeomField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf" title="Fetch number of geometry fields on this feature. This will always be the same as the geometry field c...">GetGeomFieldCount()</a>-1.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the field definition (from the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>). This is an internal reference, and should not be deleted 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#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="a97b0d91be90a05cf51d3e5f602a9d560"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int OGRFeature::GetGeomFieldIndex </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</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>Fetch the geometry field index given geometry field name. </p> <p>This is a cover for the <a class="el" href="classOGRFeatureDefn.html#a2aaea18e9bcfee39cee05d616de6e12c" title="Find geometry field by name. ">OGRFeatureDefn::GetGeomFieldIndex()</a> method.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a546acd0aad47128b1f178a8d01765e63" title="Fetch the geometry field index given geometry field name. ">OGR_F_GetGeomFieldIndex()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the name of the geometry field to search for.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the geometry field index, or -1 if no matching geometry field is found.</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a0aa844b4cae37c143d32a810c1cf76cc">GetGeomFieldRef()</a>, and <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="ae54d999d4649730d5c7b37de731e4f69"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * OGRFeature::GetGeomFieldRef </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch pointer to feature geometry. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a37aa8b53b1fc8816c5b7bcbbcb6a46ca" title="Fetch an handle to feature geometry. ">OGR_F_GetGeomFieldRef()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>geometry field to get.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>pointer to internal feature geometry. This object should not be modified.</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>References <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, <a class="el" href="classOGRFeature.html#acc966ce8c10ae3ddf9f14c2736fdce9a">GetGeometryRef()</a>, <a class="el" href="classOGRWarpedLayer.html#a7d55012a49484e77ef06246597736c09">OGRWarpedLayer::GetNextFeature()</a>, <a class="el" href="classOGRGenSQLResultsLayer.html#a017e409c228f5182bd71bb0053206496">OGRGenSQLResultsLayer::GetNextFeature()</a>, <a class="el" href="classOGRUnionLayer.html#a1ff231230bc51b63952c49fbf565d2b8">OGRUnionLayer::GetNextFeature()</a>, and <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="a0aa844b4cae37c143d32a810c1cf76cc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * OGRFeature::GetGeomFieldRef </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszFName</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fetch pointer to feature geometry. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszFName</td><td>name of geometry field to get.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>pointer to internal feature geometry. This object should not be modified.</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>References <a class="el" href="classOGRFeature.html#a97b0d91be90a05cf51d3e5f602a9d560">GetGeomFieldIndex()</a>.</p> </div> </div> <a class="anchor" id="ae7f676d5a8e1f62d80b438c13b159ee0"></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="unionOGRField.html">OGRField</a> * OGRFeature::GetRawFieldRef </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</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>Fetch a pointer to the internal field value given the index. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#af7043e9dfadbdeca8059ace336875d4c" title="Fetch an handle to the internal field value given the index. ">OGR_F_GetRawFieldRef()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the returned pointer is to an internal data structure, and should not be freed, or modified. </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>.</p> </div> </div> <a class="anchor" id="a54c179e53eb6eddb657dd392a87cccab"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const char * OGRFeature::GetStyleString </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 style string for this feature. </p> <p>Set the OGR Feature Style Specification for details on the format of this string, and <a class="el" href="ogr__featurestyle_8h.html">ogr_featurestyle.h</a> for services available to parse it.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a10fb5f53d99ccf46280e4c38afe4a5a5" title="Fetch style string for this feature. ">OGR_F_GetStyleString()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>a reference to a representation in string format, or NULL if there isn't one. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString()</a>, and <a class="el" href="classOGRFeature.html#ab49421f777e56b7cb41169f1301a7b21">GetFieldIndex()</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">Clone()</a>, <a class="el" href="classOGRFeature.html#a6c787aeb650bd03420309ca4f52c0083">DumpReadable()</a>, <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString()</a>, <a class="el" href="classOGRStyleMgr.html#adadbb0a44c3ca3bd11801ee64568d2a6">OGRStyleMgr::InitFromFeature()</a>, and <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="a7ad01c76b7b13bcf9eab5092aacac5fb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRFeature::IsFieldSet </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Test if a field has ever been assigned a value or not. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#abb018a9030ed76353ae26082deaaef11" title="Test if a field has ever been assigned a value or not. ">OGR_F_IsFieldSet()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to test.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if the field has been set, otherwise false. </dd></dl> <p>References <a class="el" href="classOGRFeatureDefn.html#ab400f9106e7544ebafa30b1fe59869b1">OGRFeatureDefn::GetFieldCount()</a>, <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, and <a class="el" href="ogr__api_8h.html#a2a849c584cd22a199bcfb9b34b9a1a8f">OGR_G_Area()</a>.</p> <p>Referenced by <a class="el" href="classOGRUnionLayer.html#a094a2f13809f0b2eaabbc572ddfc19ed">OGRUnionLayer::CreateFeature()</a>, <a class="el" href="classOGRFeature.html#a6c787aeb650bd03420309ca4f52c0083">DumpReadable()</a>, <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">Equal()</a>, <a class="el" href="classOGRFeature.html#a0262d9d3f0f9e18a1e2101e1972aebae">GetFieldAsBinary()</a>, <a class="el" href="classOGRFeature.html#a6c5d2444407b07e07b79863c42ee7a49">GetFieldAsDateTime()</a>, <a class="el" href="classOGRFeature.html#ab8a57c94e8bb8ffac5e7048d896254b4">GetFieldAsDouble()</a>, <a class="el" href="classOGRFeature.html#a8f799b9e9e44af526659b646bbfda870">GetFieldAsDoubleList()</a>, <a class="el" href="classOGRFeature.html#add319b68ea27a4ee0602d3aa460ca3b5">GetFieldAsInteger()</a>, <a class="el" href="classOGRFeature.html#a3f153cf4e2e6513b7df60f46ae8440bd">GetFieldAsIntegerList()</a>, <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString()</a>, <a class="el" href="classOGRFeature.html#ac142f8ba9929f6c89133adbcbff39945">GetFieldAsStringList()</a>, <a class="el" href="ogr__api_8h.html#abb018a9030ed76353ae26082deaaef11">OGR_F_IsFieldSet()</a>, <a class="el" href="classOGRUnionLayer.html#ab44d7c6a95d8d6a73f906f60760c0c56">OGRUnionLayer::SetFeature()</a>, <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>, <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>, and <a class="el" href="classOGRFeature.html#a937b21e0137e40bc1473f354879975da">UnsetField()</a>.</p> </div> </div> <a class="anchor" id="a9abfc256b2d1758761fa54ca3395029b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">OGRErr OGRFeature::SetFID </td> <td>(</td> <td class="paramtype">long </td> <td class="paramname"><em>nFID</em></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>Set the feature identifier. </p> <p>For specific types of features this operation may fail on illegal features ids. Generally it always succeeds. Feature ids should be greater than or equal to zero, with the exception of OGRNullFID (-1) indicating that the feature id is unknown.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a09d01eea41746751db62da123887e787" title="Set the feature identifier. ">OGR_F_SetFID()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">nFID</td><td>the new feature identifier value to assign.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>On success OGRERR_NONE, or on failure some other value. </dd></dl> <p>Referenced by <a class="el" href="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">Clone()</a>, <a class="el" href="classOGRDataSource.html#a42dc7f7f538cd4f083af350722fe53ae">OGRDataSource::CopyLayer()</a>, <a class="el" href="classOGRUnionLayer.html#a094a2f13809f0b2eaabbc572ddfc19ed">OGRUnionLayer::CreateFeature()</a>, <a class="el" href="classOGRGenSQLResultsLayer.html#a6c318023a60caf1b681e6519c2e33ba3">OGRGenSQLResultsLayer::GetFeature()</a>, <a class="el" href="classOGRUnionLayer.html#ab44d7c6a95d8d6a73f906f60760c0c56">OGRUnionLayer::SetFeature()</a>, and <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="a4abbe118cc2f3e48bbac7f710b71b531"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field to integer value. </p> <p>OFTInteger and OFTReal fields will be set directly. OFTString fields will be assigned a string representation of the value, but not necessarily taking into account formatting constraints on this field. Other field types may be unaffected.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ad902fb7c7fe459aacf0b2c26b8e6d1ee" title="Set field to integer value. ">OGR_F_SetFieldInteger()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">nValue</td><td>the value to assign. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">Clone()</a>, <a class="el" href="classOGRGenSQLResultsLayer.html#a6c318023a60caf1b681e6519c2e33ba3">OGRGenSQLResultsLayer::GetFeature()</a>, <a class="el" href="classOGRFeature.html#a28a29785b812cbf8df68a1069cab2892">SetField()</a>, and <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>.</p> </div> </div> <a class="anchor" id="a28a29785b812cbf8df68a1069cab2892"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field to double value. </p> <p>OFTInteger and OFTReal fields will be set directly. OFTString fields will be assigned a string representation of the value, but not necessarily taking into account formatting constraints on this field. Other field types may be unaffected.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a9d28aa13b1b7c88f07066c36286d13b9" title="Set field to double value. ">OGR_F_SetFieldDouble()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">dfValue</td><td>the value to assign. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, and <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>.</p> </div> </div> <a class="anchor" id="a2d96b53563cf0c1ad7ada15170d9d75e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field to string value. </p> <p>OFTInteger fields will be set based on an atoi() conversion of the string. OFTReal fields will be set based on an atof() conversion of the string. Other field types may be unaffected.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ad1a3e8b4a08f9558807389bcdde85bab" title="Set field to string value. ">OGR_F_SetFieldString()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">pszValue</td><td>the value to assign. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__conv_8h.html#a8b249211d68e4b6b1844004891e5ca5a">CPLGetConfigOption()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="cpl__conv_8h.html#a2388e43fb089a354eb3583016b2a3b00">CPLStrtod()</a>, <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="cpl__string_8h.html#ada798bb0fafd08c7908d0f3716f341b3">CSLTestBoolean()</a>, <a class="el" href="cpl__string_8h.html#a36f1e4efb0da65e3d900d3a0ce8cbaab">CSLTokenizeString2()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFeatureDefn.html#a1efe6db724bb1c5fde13e5f3896e4a01">OGRFeatureDefn::GetName()</a>, <a class="el" href="classOGRFieldDefn.html#a7754d32a36e4ba854f71f511a5ca7740">OGRFieldDefn::GetNameRef()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca742f1a13593939558dd7f0083e78df27">OFTDate</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac88631a8d99c78b5df17f971b8304239">OFTDateTime</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac29f48b1251f60a6e6eb1bb66dc75ad2">OFTStringList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca30c4c3e7adec85f189b4a025efa6725f">OFTTime</a>, and <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>.</p> </div> </div> <a class="anchor" id="a9c4d7b02debcff54be9da2373ae621c9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nCount</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>panValues</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field to list of integers value. </p> <p>This method currently on has an effect of OFTIntegerList fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a2b7dee0dc057570af68a01ec0b5d3753" title="Set field to list of integers value. ">OGR_F_SetFieldIntegerList()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to set, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">nCount</td><td>the number of values in the list being assigned. </td></tr> <tr><td class="paramname">panValues</td><td>the values to assign. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, and <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>.</p> </div> </div> <a class="anchor" id="a3ce2f723223a23a36d209eaa5ea8d358"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nCount</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"><em>padfValues</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field to list of doubles value. </p> <p>This method currently on has an effect of OFTRealList fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a6ba075923f49a5abd6637183731cb6ab" title="Set field to list of doubles value. ">OGR_F_SetFieldDoubleList()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to set, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">nCount</td><td>the number of values in the list being assigned. </td></tr> <tr><td class="paramname">padfValues</td><td>the values to assign. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, and <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>.</p> </div> </div> <a class="anchor" id="a6e78066ea58ca9b3d3d802baa94807ae"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"><em>papszValues</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field to list of strings value. </p> <p>This method currently on has an effect of OFTStringList fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a9f055dc02fa8f1047849f6e30b4b86d4" title="Set field to list of strings value. ">OGR_F_SetFieldStringList()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to set, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">papszValues</td><td>the values to assign. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac29f48b1251f60a6e6eb1bb66dc75ad2">OFTStringList</a>, and <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>.</p> </div> </div> <a class="anchor" id="a19c699e90eba68df4f336cde33ca51a9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="unionOGRField.html">OGRField</a> * </td> <td class="paramname"><em>puValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field. </p> <p>The passed value <a class="el" href="unionOGRField.html">OGRField</a> must be of exactly the same type as the target field, or an application crash may occur. The passed value is copied, and will not be affected. It remains the responsibility of the caller.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#af3cfe4f766f5579f670bb651c53a99ca" title="Set field. ">OGR_F_SetFieldRaw()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to fetch, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">puValue</td><td>the value to assign. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="cpl__string_8h.html#a8b9c9ad6c5a416c91f1fca55d9a91701">CSLDuplicate()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca87c732175b3e99aeebca957ada1f6a2c">OFTBinary</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca742f1a13593939558dd7f0083e78df27">OFTDate</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac88631a8d99c78b5df17f971b8304239">OFTDateTime</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac29f48b1251f60a6e6eb1bb66dc75ad2">OFTStringList</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca30c4c3e7adec85f189b4a025efa6725f">OFTTime</a>.</p> </div> </div> <a class="anchor" id="aaffef1273673a04dad428e803e6d88a6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nBytes</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">GByte * </td> <td class="paramname"><em>pabyData</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field to binary data. </p> <p>This method currently on has an effect of OFTBinary fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a5dcaa7d3e71f078ae714831f7c5cae1d" title="Set field to binary data. ">OGR_F_SetFieldBinary()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to set, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">nBytes</td><td>bytes of data being set. </td></tr> <tr><td class="paramname">pabyData</td><td>the raw data being applied. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca87c732175b3e99aeebca957ada1f6a2c">OFTBinary</a>, and <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>.</p> </div> </div> <a class="anchor" id="a80ca40aeda639243275e2d076301b6da"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nYear</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nMonth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nDay</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nHour</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nMinute</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nSecond</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nTZFlag</em> = <code>0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set field to date. </p> <p>This method currently only has an effect for OFTDate, OFTTime and OFTDateTime fields.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a627970180a20e2a4b1c7ae694923fd73" title="Set field to datetime. ">OGR_F_SetFieldDateTime()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to set, from 0 to <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0" title="Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...">GetFieldCount()</a>-1. </td></tr> <tr><td class="paramname">nYear</td><td>(including century) </td></tr> <tr><td class="paramname">nMonth</td><td>(1-12) </td></tr> <tr><td class="paramname">nDay</td><td>(1-31) </td></tr> <tr><td class="paramname">nHour</td><td>(0-23) </td></tr> <tr><td class="paramname">nMinute</td><td>(0-59) </td></tr> <tr><td class="paramname">nSecond</td><td>(0-59) </td></tr> <tr><td class="paramname">nTZFlag</td><td>(0=unknown, 1=localtime, 100=GMT, see data model for details) </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca742f1a13593939558dd7f0083e78df27">OFTDate</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac88631a8d99c78b5df17f971b8304239">OFTDateTime</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca30c4c3e7adec85f189b4a025efa6725f">OFTTime</a>.</p> </div> </div> <a class="anchor" id="a6705e5ff8b1012ce4a687b973ecddf73"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRFeature::SetFieldsFrom </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRFeature.html">OGRFeature</a> * </td> <td class="paramname"><em>poSrcFeature</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>panMap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bForgiving</em> = <code>TRUE</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set fields from another feature. </p> <p>Overwrite the fields of this feature from the attributes of another. The FID and the style string are not set. The poSrcFeature does not need to have the same <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. Field values are copied according to the provided indices map. Field types do not have to exactly match. <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531" title="Set field to integer value. ">SetField()</a> method conversion rules will be applied as needed. This is more efficient than <a class="el" href="ogr__api_8h.html#ad7f7057a7a3764c526a4a59e2b587fba" title="Set one feature from another. ">OGR_F_SetFrom()</a> in that this doesn't lookup the fields by their names. Particularly useful when the field names don't match.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poSrcFeature</td><td>the feature from which geometry, and field values will be copied.</td></tr> <tr><td class="paramname">panMap</td><td>Array of the indices of the feature's fields stored at the corresponding index of the source feature's fields. A value of -1 should be used to ignore the source's field. The array should not be NULL and be as long as the number of fields in the source feature.</td></tr> <tr><td class="paramname">bForgiving</td><td>TRUE if the operation should continue despite lacking output fields matching some of the source fields.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if the operation succeeds, even if some values are not transferred, otherwise an error code. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#ab8a57c94e8bb8ffac5e7048d896254b4">GetFieldAsDouble()</a>, <a class="el" href="classOGRFeature.html#a8f799b9e9e44af526659b646bbfda870">GetFieldAsDoubleList()</a>, <a class="el" href="classOGRFeature.html#add319b68ea27a4ee0602d3aa460ca3b5">GetFieldAsInteger()</a>, <a class="el" href="classOGRFeature.html#a3f153cf4e2e6513b7df60f46ae8440bd">GetFieldAsIntegerList()</a>, <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">GetFieldAsString()</a>, <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0">GetFieldCount()</a>, <a class="el" href="classOGRFeature.html#a35aba5a674e9901eccf1e7d90d97d773">GetFieldDefnRef()</a>, <a class="el" href="classOGRFeature.html#ae7f676d5a8e1f62d80b438c13b159ee0">GetRawFieldRef()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca742f1a13593939558dd7f0083e78df27">OFTDate</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac88631a8d99c78b5df17f971b8304239">OFTDateTime</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca81294535b47252b1da0274f178420ae4">OFTInteger</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca99520e47d9e26303f7c0127c1254c962">OFTReal</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca30c4c3e7adec85f189b4a025efa6725f">OFTTime</a>, <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">SetField()</a>, and <a class="el" href="classOGRFeature.html#a937b21e0137e40bc1473f354879975da">UnsetField()</a>.</p> <p>Referenced by <a class="el" href="classOGRLayer.html#a56d7ee3b2020e53c730d67ee4f1e2fb6">OGRLayer::Clip()</a>, <a class="el" href="classOGRLayer.html#ae8fcf55ffa259f32df35edcb05274439">OGRLayer::Erase()</a>, <a class="el" href="classOGRLayer.html#acac6a0bde9737555b22c6ac7fa967431">OGRLayer::Identity()</a>, <a class="el" href="classOGRLayer.html#ac189f54996c2d6fd769889ec99e0f48a">OGRLayer::Intersection()</a>, <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>, <a class="el" href="classOGRLayer.html#a781aa76c6b44b19de09f61816e32245b">OGRLayer::SymDifference()</a>, <a class="el" href="classOGRLayer.html#aeb8ab475561f2aca2c0e605cfb810b22">OGRLayer::Union()</a>, and <a class="el" href="classOGRLayer.html#aa1c5dc5ca195956c46d35a85b0b21d9b">OGRLayer::Update()</a>.</p> </div> </div> <a class="anchor" id="a8ebc0999c4bce0b5073add16598dfc77"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRFeature::SetFrom </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRFeature.html">OGRFeature</a> * </td> <td class="paramname"><em>poSrcFeature</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bForgiving</em> = <code>TRUE</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set one feature from another. </p> <p>Overwrite the contents of this feature from the geometry and attributes of another. The poSrcFeature does not need to have the same <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. Field values are copied by corresponding field names. Field types do not have to exactly match. <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531" title="Set field to integer value. ">SetField()</a> method conversion rules will be applied as needed.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ad7f7057a7a3764c526a4a59e2b587fba" title="Set one feature from another. ">OGR_F_SetFrom()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poSrcFeature</td><td>the feature from which geometry, and field values will be copied.</td></tr> <tr><td class="paramname">bForgiving</td><td>TRUE if the operation should continue despite lacking output fields matching some of the source fields.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if the operation succeeds, even if some values are not transferred, otherwise an error code. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0">GetFieldCount()</a>, <a class="el" href="classOGRFeature.html#a35aba5a674e9901eccf1e7d90d97d773">GetFieldDefnRef()</a>, <a class="el" href="classOGRFeature.html#ab49421f777e56b7cb41169f1301a7b21">GetFieldIndex()</a>, and <a class="el" href="classOGRFieldDefn.html#a7754d32a36e4ba854f71f511a5ca7740">OGRFieldDefn::GetNameRef()</a>.</p> <p>Referenced by <a class="el" href="classOGRDataSource.html#a42dc7f7f538cd4f083af350722fe53ae">OGRDataSource::CopyLayer()</a>, <a class="el" href="classOGRUnionLayer.html#a094a2f13809f0b2eaabbc572ddfc19ed">OGRUnionLayer::CreateFeature()</a>, and <a class="el" href="classOGRUnionLayer.html#ab44d7c6a95d8d6a73f906f60760c0c56">OGRUnionLayer::SetFeature()</a>.</p> </div> </div> <a class="anchor" id="a05c7db31f9585ca8ec6d087225bffcf8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRFeature::SetFrom </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRFeature.html">OGRFeature</a> * </td> <td class="paramname"><em>poSrcFeature</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int * </td> <td class="paramname"><em>panMap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bForgiving</em> = <code>TRUE</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set one feature from another. </p> <p>Overwrite the contents of this feature from the geometry and attributes of another. The poSrcFeature does not need to have the same <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. Field values are copied according to the provided indices map. Field types do not have to exactly match. <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531" title="Set field to integer value. ">SetField()</a> method conversion rules will be applied as needed. This is more efficient than <a class="el" href="ogr__api_8h.html#ad7f7057a7a3764c526a4a59e2b587fba" title="Set one feature from another. ">OGR_F_SetFrom()</a> in that this doesn't lookup the fields by their names. Particularly useful when the field names don't match.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a0f36f1fba9d148f467c8156a31bdd9be" title="Set one feature from another. ">OGR_F_SetFromWithMap()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poSrcFeature</td><td>the feature from which geometry, and field values will be copied.</td></tr> <tr><td class="paramname">panMap</td><td>Array of the indices of the feature's fields stored at the corresponding index of the source feature's fields. A value of -1 should be used to ignore the source's field. The array should not be NULL and be as long as the number of fields in the source feature.</td></tr> <tr><td class="paramname">bForgiving</td><td>TRUE if the operation should continue despite lacking output fields matching some of the source fields.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if the operation succeeds, even if some values are not transferred, otherwise an error code. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, <a class="el" href="classOGRFeature.html#ab0416401dc7d6a7634c2a24ca1f7d255">GetGeomFieldDefnRef()</a>, <a class="el" href="classOGRFeature.html#a97b0d91be90a05cf51d3e5f602a9d560">GetGeomFieldIndex()</a>, <a class="el" href="classOGRFeature.html#ae54d999d4649730d5c7b37de731e4f69">GetGeomFieldRef()</a>, <a class="el" href="classOGRGeomFieldDefn.html#a8dbbb2a2630752eda8702cd4196ed4c6">OGRGeomFieldDefn::GetNameRef()</a>, <a class="el" href="classOGRFeature.html#a54c179e53eb6eddb657dd392a87cccab">GetStyleString()</a>, <a class="el" href="classOGRFeature.html#a9abfc256b2d1758761fa54ca3395029b">SetFID()</a>, <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</a>, <a class="el" href="classOGRFeature.html#a26d865b737d699a12f260ee0a75588b9">SetGeomField()</a>, and <a class="el" href="classOGRFeature.html#a5d2c15d00845820e6382d48227ed7ff7">SetStyleString()</a>.</p> </div> </div> <a class="anchor" id="af1181ade837a52129ea25b46dd50cf30"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRFeature::SetGeometry </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * </td> <td class="paramname"><em>poGeomIn</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set feature geometry. </p> <p>This method updates the features geometry, and operate exactly as <a class="el" href="classOGRFeature.html#a40a4ddb33f09a5f340b9139be72e277d" title="Set feature geometry. ">SetGeometryDirectly()</a>, except that this method does not assume ownership of the passed geometry, but instead makes a copy of it.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a7b9c524f5c01a6a4b4e50e351d03299f" title="Set feature geometry. ">OGR_F_SetGeometry()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poGeomIn</td><td>new geometry to apply to feature. Passing NULL value here is correct and it will result in deallocation of currently assigned geometry without assigning new one.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if successful, or OGR_UNSUPPORTED_GEOMETRY_TYPE if the geometry type is illegal for the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> (checking not yet implemented). </dd></dl> <p>References <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, and <a class="el" href="classOGRFeature.html#a26d865b737d699a12f260ee0a75588b9">SetGeomField()</a>.</p> <p>Referenced by <a class="el" href="classOGRLayer.html#aa1c5dc5ca195956c46d35a85b0b21d9b">OGRLayer::Update()</a>.</p> </div> </div> <a class="anchor" id="a40a4ddb33f09a5f340b9139be72e277d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRFeature::SetGeometryDirectly </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * </td> <td class="paramname"><em>poGeomIn</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set feature geometry. </p> <p>This method updates the features geometry, and operate exactly as <a class="el" href="classOGRFeature.html#af1181ade837a52129ea25b46dd50cf30" title="Set feature geometry. ">SetGeometry()</a>, except that this method assumes ownership of the passed geometry (even in case of failure of that function).</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ad391d3197728bb6d12a6b0c2e2661aa4" title="Set feature geometry. ">OGR_F_SetGeometryDirectly()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poGeomIn</td><td>new geometry to apply to feature. Passing NULL value here is correct and it will result in deallocation of currently assigned geometry without assigning new one.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if successful, or OGR_UNSUPPORTED_GEOMETRY_TYPE if the geometry type is illegal for the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> (checking not yet implemented). </dd></dl> <p>References <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>, and <a class="el" href="classOGRFeature.html#ae0ddbbc910727ada3b2cd00a357222da">SetGeomFieldDirectly()</a>.</p> <p>Referenced by <a class="el" href="classOGRLayer.html#a56d7ee3b2020e53c730d67ee4f1e2fb6">OGRLayer::Clip()</a>, <a class="el" href="classOGRLayer.html#ae8fcf55ffa259f32df35edcb05274439">OGRLayer::Erase()</a>, <a class="el" href="classOGRLayer.html#acac6a0bde9737555b22c6ac7fa967431">OGRLayer::Identity()</a>, <a class="el" href="classOGRLayer.html#ac189f54996c2d6fd769889ec99e0f48a">OGRLayer::Intersection()</a>, <a class="el" href="classOGRLayer.html#a781aa76c6b44b19de09f61816e32245b">OGRLayer::SymDifference()</a>, <a class="el" href="classOGRLayer.html#aeb8ab475561f2aca2c0e605cfb810b22">OGRLayer::Union()</a>, and <a class="el" href="classOGRLayer.html#aa1c5dc5ca195956c46d35a85b0b21d9b">OGRLayer::Update()</a>.</p> </div> </div> <a class="anchor" id="a26d865b737d699a12f260ee0a75588b9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRFeature::SetGeomField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * </td> <td class="paramname"><em>poGeomIn</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set feature geometry of a specified geometry field. </p> <p>This method updates the features geometry, and operate exactly as <a class="el" href="classOGRFeature.html#ae0ddbbc910727ada3b2cd00a357222da" title="Set feature geometry of a specified geometry field. ">SetGeomFieldDirectly()</a>, except that this method does not assume ownership of the passed geometry, but instead makes a copy of it.</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ad75b18930385432110aa8d3461854cce" title="Set feature geometry of a specified geometry field. ">OGR_F_SetGeomField()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>geometry field to set. </td></tr> <tr><td class="paramname">poGeomIn</td><td>new geometry to apply to feature. Passing NULL value here is correct and it will result in deallocation of currently assigned geometry without assigning new one.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if successful, or OGRERR_FAILURE if the index is invalid, or OGR_UNSUPPORTED_GEOMETRY_TYPE if the geometry type is illegal for the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> (checking not yet implemented).</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>References <a class="el" href="classOGRGeometry.html#af4cf9f6eee1997268a481b39401c3161">OGRGeometry::clone()</a>, and <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">Clone()</a>, <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>, and <a class="el" href="classOGRFeature.html#af1181ade837a52129ea25b46dd50cf30">SetGeometry()</a>.</p> </div> </div> <a class="anchor" id="ae0ddbbc910727ada3b2cd00a357222da"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRFeature::SetGeomFieldDirectly </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * </td> <td class="paramname"><em>poGeomIn</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set feature geometry of a specified geometry field. </p> <p>This method updates the features geometry, and operate exactly as <a class="el" href="classOGRFeature.html#a26d865b737d699a12f260ee0a75588b9" title="Set feature geometry of a specified geometry field. ">SetGeomField()</a>, except that this method assumes ownership of the passed geometry (even in case of failure of that function).</p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a01530e163973979cfd8248e3ecbf2640" title="Set feature geometry of a specified geometry field. ">OGR_F_SetGeomFieldDirectly()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>geometry field to set. </td></tr> <tr><td class="paramname">poGeomIn</td><td>new geometry to apply to feature. Passing NULL value here is correct and it will result in deallocation of currently assigned geometry without assigning new one.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if successful, or OGRERR_FAILURE if the index is invalid, or OGR_UNSUPPORTED_GEOMETRY_TYPE if the geometry type is illegal for the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> (checking not yet implemented).</dd></dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.11 </dd></dl> <p>References <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>.</p> <p>Referenced by <a class="el" href="classOGRFeature.html#a40a4ddb33f09a5f340b9139be72e277d">SetGeometryDirectly()</a>.</p> </div> </div> <a class="anchor" id="a5d2c15d00845820e6382d48227ed7ff7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetStyleString </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszString</em></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>Set feature style string. This method operate exactly as <a class="el" href="classOGRFeature.html#a7282982663cee5dd2fc18a093c3e386a" title="Set feature style string. This method operate exactly as OGRFeature::SetStyleString() except that it ...">OGRFeature::SetStyleStringDirectly()</a> except that it does not assume ownership of the passed string, but instead makes a copy of it. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#afbe436a7a48ad5bbfb3aa34f44791a68" title="Set feature style string. This method operate exactly as OGR_F_SetStyleStringDirectly() except that i...">OGR_F_SetStyleString()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszString</td><td>the style string to apply to this feature, cannot be NULL. </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="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">Clone()</a>, <a class="el" href="classOGRStyleMgr.html#a22060a3fce80f8b7cb30702f388af335">OGRStyleMgr::SetFeatureStyleString()</a>, and <a class="el" href="classOGRFeature.html#a05c7db31f9585ca8ec6d087225bffcf8">SetFrom()</a>.</p> </div> </div> <a class="anchor" id="a7282982663cee5dd2fc18a093c3e386a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void OGRFeature::SetStyleStringDirectly </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"><em>pszString</em></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>Set feature style string. This method operate exactly as <a class="el" href="classOGRFeature.html#a5d2c15d00845820e6382d48227ed7ff7" title="Set feature style string. This method operate exactly as OGRFeature::SetStyleStringDirectly() except ...">OGRFeature::SetStyleString()</a> except that it assumes ownership of the passed string. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#abc1ab2f6fb7937a8b927e4c1d3fd057c" title="Set feature style string. This method operate exactly as OGR_F_SetStyleString() except that it assume...">OGR_F_SetStyleStringDirectly()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszString</td><td>the style string to apply to this feature, cannot be NULL. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a2f078d96bfb310664f1a95183798c0dc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * OGRFeature::StealGeometry </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Take away ownership of geometry. </p> <p>Fetch the geometry from this feature, and clear the reference to the geometry on the feature. This is a mechanism for the application to take over ownship of the geometry from the feature without copying. Sort of an inverse to <a class="el" href="classOGRFeature.html#a40a4ddb33f09a5f340b9139be72e277d" title="Set feature geometry. ">SetGeometryDirectly()</a>.</p> <p>After this call the <a class="el" href="classOGRFeature.html">OGRFeature</a> will have a NULL geometry.</p> <dl class="section return"><dt>Returns</dt><dd>the pointer to the geometry. </dd></dl> <p>References <a class="el" href="classOGRFeature.html#af673e46f318facbee14acec3d6db2caf">GetGeomFieldCount()</a>.</p> </div> </div> <a class="anchor" id="a937b21e0137e40bc1473f354879975da"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRFeature::UnsetField </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>iField</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Clear a field, marking it as unset. </p> <p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#aa70b7675a003141e63f9603c752ee22e" title="Clear a field, marking it as unset. ">OGR_F_UnsetField()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iField</td><td>the field to unset. </td></tr> </table> </dd> </dl> <p>References <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>, <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>, <a class="el" href="classOGRFeature.html#a7ad01c76b7b13bcf9eab5092aacac5fb">IsFieldSet()</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca87c732175b3e99aeebca957ada1f6a2c">OFTBinary</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca6406fce5e1937d3092f587ed83aff009">OFTIntegerList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca8d1dd6b4ecafa6fdc552de07a2e612a7">OFTRealList</a>, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fca862a7b8506c67c5390c2e0860c4edf45">OFTString</a>, and <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fcac29f48b1251f60a6e6eb1bb66dc75ad2">OFTStringList</a>.</p> <p>Referenced by <a class="el" href="classOGRGenSQLResultsLayer.html#a6c318023a60caf1b681e6519c2e33ba3">OGRGenSQLResultsLayer::GetFeature()</a>, and <a class="el" href="classOGRFeature.html#a6705e5ff8b1012ce4a687b973ecddf73">SetFieldsFrom()</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>ogrfeature.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>