Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 7fd7c575020aa78a8e2e309ea8909f43 > files > 955

gdal-1.6.2-6.fc13.i686.rpm

<!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"/>
<title>OGR: ogr_api.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>ogr_api.h File Reference</h1><code>#include &quot;<a class="el" href="ogr__core_8h_source.html">ogr_core.h</a>&quot;</code><br/>

<p><a href="ogr__api_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a3172c8e5b8a094b8ce97fa5d44bcd204">OGR_G_CreateFromWkb</a> (unsigned char *, OGRSpatialReferenceH, OGRGeometryH *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ac02c3ed5f7ebd5039dc2ae70154fd94a">OGR_G_CreateFromWkt</a> (char **, OGRSpatialReferenceH, OGRGeometryH *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ac4e665f5f9690c4fa0c190b930fe9492">OGR_G_DestroyGeometry</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRGeometryH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a4e47710cf70e5bc72216704ddfead0dd">OGR_G_CreateGeometry</a> (<a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a94b633e1acd208c258ad49f8d4fd4104">OGR_G_GetDimension</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a8a5e78b0753339d1cdd282b0e151d28f">OGR_G_GetCoordinateDimension</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRGeometryH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a1725918932da7d59f9ee72829ac171fa">OGR_G_Clone</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a617a9c9ea85157661619a1d8f0a69cf9">OGR_G_GetEnvelope</a> (OGRGeometryH, <a class="el" href="classOGREnvelope.html">OGREnvelope</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afa5a9173aa3b10a4db09ed696a92ba4a">OGR_G_ImportFromWkb</a> (OGRGeometryH, unsigned char *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad5c94ae76c09774dba8725c24daeefd6">OGR_G_ExportToWkb</a> (OGRGeometryH, OGRwkbByteOrder, unsigned char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a5f7035a933b957a9d453184c154c237c">OGR_G_WkbSize</a> (OGRGeometryH hGeom)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a4286ba243fb05a831a49f52aabcbc6f8">OGR_G_ImportFromWkt</a> (OGRGeometryH, char **)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a3bc9310302e2dbfaab1690de9e2fd2fb">OGR_G_ExportToWkt</a> (OGRGeometryH, char **)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a8fae58102f5c4a4cf2526e5ca8369a76">OGR_G_GetGeometryType</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a18121f835b2fb724a0c1a87beb1a437a">OGR_G_GetGeometryName</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a3a99330bd108940f8a33036c0f83119f">OGR_G_DumpReadable</a> (OGRGeometryH, FILE *, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afdb7354b55c7448b60b44cd9e36073b8">OGR_G_FlattenTo2D</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a4dfbd5861e1cd20b372d090539fa4536">OGR_G_AssignSpatialReference</a> (OGRGeometryH, OGRSpatialReferenceH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRSpatialReferenceH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#abc393e40282eec3801fb4a4abc9e25bf">OGR_G_GetSpatialReference</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a59a5b3f954b11cfbf6e78807c28d6090">OGR_G_Transform</a> (OGRGeometryH, OGRCoordinateTransformationH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a43af4c2127cea0a5059692a62c0feb63">OGR_G_TransformTo</a> (OGRGeometryH, OGRSpatialReferenceH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ade9f08c8d63bc0e726cb20c201c86423">OGR_G_Segmentize</a> (OGRGeometryH hGeom, double dfMaxLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#acaed6926b75cd33a42b284c10def6e87">OGR_G_Intersects</a> (OGRGeometryH, OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#abaed0c4fb6f08abc280f91619e2e47d3">OGR_G_Equals</a> (OGRGeometryH, OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a30bd8daa800c6da12c9fb4682f1ca305">OGR_G_GetArea</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a90cc83b0a3052b8fbe2ed77a86323bf2">OGR_G_Empty</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a737b0c4d73928e7406d69c658209dbbf">OGR_G_IsEmpty</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a3cb66472d7e302d16aacf0d66c01ac73">OGR_G_IsSimple</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aec43cbe83609bc7b43739d67858846c1">OGR_G_GetPointCount</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a354146161d0a087b63ab6e350bae4d86">OGR_G_GetX</a> (OGRGeometryH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a8405350c9aea2ab7d0f759f0b09b926f">OGR_G_GetY</a> (OGRGeometryH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a1d8c6aeb013325f33b8e642003fc17ad">OGR_G_GetZ</a> (OGRGeometryH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a67b897ffcd88a83832964c3735fa1dcb">OGR_G_GetPoint</a> (OGRGeometryH, int iPoint, double *, double *, double *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a303fb1a2a94363c15f9e61dc46b710e8">OGR_G_SetPoint</a> (OGRGeometryH, int iPoint, double, double, double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ab14b9730d6f9fc829fe6be9bc2a5ec48">OGR_G_SetPoint_2D</a> (OGRGeometryH, int iPoint, double, double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aa2702d812663bc767e3a8f8832fda089">OGR_G_AddPoint</a> (OGRGeometryH, double, double, double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a280275c1492d6426cfe0a918d4725374">OGR_G_AddPoint_2D</a> (OGRGeometryH, double, double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a1fa07ddf969f97f6444de6ae5128d842">OGR_G_GetGeometryCount</a> (OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRGeometryH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a6bac93150529a5c98811db29e289dd66">OGR_G_GetGeometryRef</a> (OGRGeometryH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a4a15e130614cb4c66fc99bb93dc6b3b5">OGR_G_AddGeometry</a> (OGRGeometryH, OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aff56cae8305396a9c5b690d8356e39c9">OGR_G_AddGeometryDirectly</a> (OGRGeometryH, OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a54ea024bb659e48d3297404e53800237">OGR_G_RemoveGeometry</a> (OGRGeometryH, int, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRGeometryH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a74f64386be8d675e8da33d289ccc9892">OGRBuildPolygonFromEdges</a> (OGRGeometryH hLinesAsCollection, int bBestEffort, int bAutoClose, double dfTolerance, OGRErr *peErr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFieldDefnH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afb1ffd4d1f9f68aa76f660dc4f82e492">OGR_Fld_Create</a> (const char *, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a455fa4a2c2451b1748facb6b7126a822">OGR_Fld_Destroy</a> (OGRFieldDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a6599fa42bad3aba26574ae3260c6984d">OGR_Fld_SetName</a> (OGRFieldDefnH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a8d7640a6b6a47a95d83415f9271ffe30">OGR_Fld_GetNameRef</a> (OGRFieldDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad8d150dfc678e0a2a7f5241ba38c5611">OGR_Fld_GetType</a> (OGRFieldDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a76195990f814eb93e821c01ce0599a50">OGR_Fld_SetType</a> (OGRFieldDefnH, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="ogr__core_8h.html#a701976be938cd60a2fa96454f61d3600">OGRJustification</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a0cf8a09826e47763e6bf667af0dae1a7">OGR_Fld_GetJustify</a> (OGRFieldDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ae4809f2fe957002b8e18aacc1bdca240">OGR_Fld_SetJustify</a> (OGRFieldDefnH, <a class="el" href="ogr__core_8h.html#a701976be938cd60a2fa96454f61d3600">OGRJustification</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aa6500186e3f22761a615428c55bba0ce">OGR_Fld_GetWidth</a> (OGRFieldDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a1d7bf7c14a299448efac58f7bf364326">OGR_Fld_SetWidth</a> (OGRFieldDefnH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a120dd56ee23070922e4d84ed06b06e27">OGR_Fld_GetPrecision</a> (OGRFieldDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a13890f01f7d7e57bcd07e23f3e2947da">OGR_Fld_SetPrecision</a> (OGRFieldDefnH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a5922e599fe8746b81adf251be6b5ecf0">OGR_Fld_Set</a> (OGRFieldDefnH, const char *, <a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>, int, int, <a class="el" href="ogr__core_8h.html#a701976be938cd60a2fa96454f61d3600">OGRJustification</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#af1e61b89ae2d799cf5e217d01ef7b415">OGR_GetFieldTypeName</a> (<a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFeatureDefnH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a5a8049bf2d58da5381c9350a6159ea6c">OGR_FD_Create</a> (const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a59d5cbb660cce8467a210caa4d68a011">OGR_FD_Destroy</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a0755b0360414095e15eaf2c1496f8c47">OGR_FD_Release</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a20f309bf10e5b76cc083848b710babb8">OGR_FD_GetName</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a586a14271a457387a2b5c0097a02c8da">OGR_FD_GetFieldCount</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFieldDefnH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a484456df86a01284769d0afe3beaa4f6">OGR_FD_GetFieldDefn</a> (OGRFeatureDefnH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a1e54c3271dce0562209d78ae6eaae330">OGR_FD_GetFieldIndex</a> (OGRFeatureDefnH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a2a798e8d03299403418a7c87862f1acb">OGR_FD_AddFieldDefn</a> (OGRFeatureDefnH, OGRFieldDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#add0b3a6b6062122e4f4316d194d2a1cf">OGR_FD_GetGeomType</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a11ca3a84b54ac36c5f68a03821f1fa78">OGR_FD_SetGeomType</a> (OGRFeatureDefnH, <a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a6763104e7fafcab1b52d9b0f275e19e8">OGR_FD_Reference</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a107635936c90c7f4347d7b3f9fb06e6d">OGR_FD_Dereference</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a9e4e8867edeaf1a6f98e6ff284835811">OGR_FD_GetReferenceCount</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFeatureH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a0d820fd7da6a079048c0d21e26fc9e47">OGR_F_Create</a> (OGRFeatureDefnH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a16fb8126aa932f4b4acdaca5ea99bbbb">OGR_F_Destroy</a> (OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFeatureDefnH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a123dfa431bf655aafd2dbd42247dd7be">OGR_F_GetDefnRef</a> (OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad391d3197728bb6d12a6b0c2e2661aa4">OGR_F_SetGeometryDirectly</a> (OGRFeatureH, OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a7b9c524f5c01a6a4b4e50e351d03299f">OGR_F_SetGeometry</a> (OGRFeatureH, OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRGeometryH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a1bf9596756aeacec4da502383c378f5c">OGR_F_GetGeometryRef</a> (OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFeatureH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a90c0adfd518b71571d9ce8d976fab320">OGR_F_Clone</a> (OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a8b6a502ec0b70f3de50e7184a087a264">OGR_F_Equal</a> (OGRFeatureH, OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#af6c1440956ee56c0c160394bccf96990">OGR_F_GetFieldCount</a> (OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFieldDefnH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a6f8fc7fd6ecca789ad90db6d28391623">OGR_F_GetFieldDefnRef</a> (OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a9a8a6b93ab97204b94f5c2b358f8f98e">OGR_F_GetFieldIndex</a> (OGRFeatureH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#abb018a9030ed76353ae26082deaaef11">OGR_F_IsFieldSet</a> (OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aa70b7675a003141e63f9603c752ee22e">OGR_F_UnsetField</a> (OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionOGRField.html">OGRField</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#af7043e9dfadbdeca8059ace336875d4c">OGR_F_GetRawFieldRef</a> (OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#acfb4d2c0001af379e396021ecbdaf275">OGR_F_GetFieldAsInteger</a> (OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a62252a0d4538c695d41956a96cdc6978">OGR_F_GetFieldAsDouble</a> (OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a42acfd1f4b49dddc1c308462ae800c26">OGR_F_GetFieldAsString</a> (OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ac671852e05692c584b493b2acbd6b8ce">OGR_F_GetFieldAsIntegerList</a> (OGRFeatureH, int, int *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const double *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a4a27f74a38506ac492ec8b6e00eb58c9">OGR_F_GetFieldAsDoubleList</a> (OGRFeatureH, int, int *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char **&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a3e55ba4a06d4c4a392206518b390ac38">OGR_F_GetFieldAsStringList</a> (OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GByte *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a72727f2f59d1defa01cedfb884df1a09">OGR_F_GetFieldAsBinary</a> (OGRFeatureH, int, int *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a47ca681bb6099eb8c18004d1f7112d95">OGR_F_GetFieldAsDateTime</a> (OGRFeatureH, int, int *, int *, int *, int *, int *, int *, int *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad902fb7c7fe459aacf0b2c26b8e6d1ee">OGR_F_SetFieldInteger</a> (OGRFeatureH, int, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a9d28aa13b1b7c88f07066c36286d13b9">OGR_F_SetFieldDouble</a> (OGRFeatureH, int, double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad1a3e8b4a08f9558807389bcdde85bab">OGR_F_SetFieldString</a> (OGRFeatureH, int, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a2b7dee0dc057570af68a01ec0b5d3753">OGR_F_SetFieldIntegerList</a> (OGRFeatureH, int, int, int *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a6ba075923f49a5abd6637183731cb6ab">OGR_F_SetFieldDoubleList</a> (OGRFeatureH, int, int, double *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a9f055dc02fa8f1047849f6e30b4b86d4">OGR_F_SetFieldStringList</a> (OGRFeatureH, int, char **)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#af3cfe4f766f5579f670bb651c53a99ca">OGR_F_SetFieldRaw</a> (OGRFeatureH, int, <a class="el" href="unionOGRField.html">OGRField</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a5dcaa7d3e71f078ae714831f7c5cae1d">OGR_F_SetFieldBinary</a> (OGRFeatureH, int, int, GByte *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a627970180a20e2a4b1c7ae694923fd73">OGR_F_SetFieldDateTime</a> (OGRFeatureH, int, int, int, int, int, int, int, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a95bc391bf7883a8732a523d525c26a00">OGR_F_GetFID</a> (OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a09d01eea41746751db62da123887e787">OGR_F_SetFID</a> (OGRFeatureH, long)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ae38d330f942798fcbaaf27e5807fb567">OGR_F_DumpReadable</a> (OGRFeatureH, FILE *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad7f7057a7a3764c526a4a59e2b587fba">OGR_F_SetFrom</a> (OGRFeatureH, OGRFeatureH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a10fb5f53d99ccf46280e4c38afe4a5a5">OGR_F_GetStyleString</a> (OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afbe436a7a48ad5bbfb3aa34f44791a68">OGR_F_SetStyleString</a> (OGRFeatureH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#abc1ab2f6fb7937a8b927e4c1d3fd057c">OGR_F_SetStyleStringDirectly</a> (OGRFeatureH, char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRGeometryH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a36d61f311c9f8c172ad118659358c60a">OGR_L_GetSpatialFilter</a> (OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a678d1735bc82533614ac005691d1138c">OGR_L_SetSpatialFilter</a> (OGRLayerH, OGRGeometryH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a5cba569e0779a02a95327f041d9f7a13">OGR_L_SetSpatialFilterRect</a> (OGRLayerH, double, double, double, double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a4000d426bf26ad7cc7d4012634c93f09">OGR_L_SetAttributeFilter</a> (OGRLayerH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ab0383004bf637171648a9d03a80f15a4">OGR_L_ResetReading</a> (OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFeatureH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a6708c067521ab7b7f9c4ec0ebe221b5b">OGR_L_GetNextFeature</a> (OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFeatureH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a7c628dce8939904154b50365306b06f9">OGR_L_GetFeature</a> (OGRLayerH, long)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a5b380520d0999422987f06b6e31b9b00">OGR_L_SetFeature</a> (OGRLayerH, OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a301d319111285a47fe6cda6e079214f8">OGR_L_CreateFeature</a> (OGRLayerH, OGRFeatureH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a3525cc8e47db48f8968605d3f2d9a41a">OGR_L_DeleteFeature</a> (OGRLayerH, long)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRFeatureDefnH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a7b67ea4ab5892c6720460dc7f66eca2d">OGR_L_GetLayerDefn</a> (OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRSpatialReferenceH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a8b2a10085f410aa84172eba413408c39">OGR_L_GetSpatialRef</a> (OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#abfbba8f45edd5dc44ced91f9228f9124">OGR_L_GetFeatureCount</a> (OGRLayerH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aa6c495581900c8301dff91d8cd3ee12f">OGR_L_GetExtent</a> (OGRLayerH, <a class="el" href="classOGREnvelope.html">OGREnvelope</a> *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a480adc8b839b04597f49583371d366fd">OGR_L_TestCapability</a> (OGRLayerH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aab585ef1166c61c4819f7fd46ee4a275">OGR_L_CreateField</a> (OGRLayerH, OGRFieldDefnH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a8180ea56ca7f677eb5da05c8cfcb77be">OGR_L_StartTransaction</a> (OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a6135ef3b16c3cc974682365783603cc6">OGR_L_CommitTransaction</a> (OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a823a6c351dccf751777f67801dd7f9c5">OGR_L_RollbackTransaction</a> (OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a4823e7c3513cd9d57254364de9a1d021">OGR_DS_Destroy</a> (OGRDataSourceH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aea8cc826474b55371b1b4e24a24ba1db">OGR_DS_GetName</a> (OGRDataSourceH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ac6da541cb655ab631df729e71da2e762">OGR_DS_GetLayerCount</a> (OGRDataSourceH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRLayerH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a03998029f904d1c3b12de40114e7503e">OGR_DS_GetLayer</a> (OGRDataSourceH, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRLayerH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a74af4912b67bf2a7b6e3230711a40d0e">OGR_DS_GetLayerByName</a> (OGRDataSourceH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRLayerH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a424d383a37fbeaea58acaea11717f320">OGR_DS_CreateLayer</a> (OGRDataSourceH, const char *, OGRSpatialReferenceH, <a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>, char **)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad0fefab726442fa71ab5ef74fe8549a6">OGR_DS_TestCapability</a> (OGRDataSourceH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRLayerH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a9892ecb0bf61add295bd9decdb13797a">OGR_DS_ExecuteSQL</a> (OGRDataSourceH, const char *, OGRGeometryH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afc7b521a05c1207e298a2b9dbf4a1181">OGR_DS_ReleaseResultSet</a> (OGRDataSourceH, OGRLayerH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afd11ea603491207a89c75b6b9480e091">OGR_Dr_GetName</a> (OGRSFDriverH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRDataSourceH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#abd35488a77aae79835b8b753095cebc7">OGR_Dr_Open</a> (OGRSFDriverH, const char *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a9010219bbc2e32627064ed860048d979">OGR_Dr_TestCapability</a> (OGRSFDriverH, const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRDataSourceH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a09a9c68495afce08505b8bbe36c1b96e">OGR_Dr_CreateDataSource</a> (OGRSFDriverH, const char *, char **)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRDataSourceH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a123bb02ac8c5cfe143e132f627531125">OGROpen</a> (const char *, int, OGRSFDriverH *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a7ace3e4b97b55b999e16557a75bf7226">OGRRegisterDriver</a> (OGRSFDriverH)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad0f6d2bbd269b56a61d1c1841dac2575">OGRGetDriverCount</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRSFDriverH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a3f8080605cad5aeef9519c38fe160b51">OGRGetDriver</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ae904632d0bc86ba5501921ca594e18da">OGRRegisterAll</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ae5d5a052ed1046ec85236fe4a92733e2">OGRCleanupAll</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRStyleMgrH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aacc33ed54540713271ef4dd2417fa342">OGR_SM_Create</a> (void *hStyleTable)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a474fca7d9327da916305ec1276a57443">OGR_SM_Destroy</a> (OGRStyleMgrH hSM)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afca737ee6586ce8078b52108707b0b6a">OGR_SM_InitFromFeature</a> (OGRStyleMgrH hSM, OGRFeatureH hFeat)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ade49bffec1e796ddf4419f5cbe34fda8">OGR_SM_InitStyleString</a> (OGRStyleMgrH hSM, const char *pszStyleString)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad272704a535c0fa8cfd7b097eb4968dc">OGR_SM_GetPartCount</a> (OGRStyleMgrH hSM, const char *pszStyleString)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRStyleToolH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a61d4e04abb6e3c59ed570c62dffc4164">OGR_SM_GetPart</a> (OGRStyleMgrH hSM, int nPartId, const char *pszStyleString)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#af358ec087124f355fca02bf33a1e0027">OGR_SM_AddPart</a> (OGRStyleMgrH hSM, OGRStyleToolH hST)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OGRStyleToolH&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afb15db531e15a484e7bda8e88383ea3a">OGR_ST_Create</a> (<a class="el" href="ogr__core_8h.html#a109ea92417a0152008c7c11eeec4f028">OGRSTClassId</a> eClassId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a5d1ecf398ee062f3f5a297f70244497a">OGR_ST_Destroy</a> (OGRStyleToolH hST)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="ogr__core_8h.html#a109ea92417a0152008c7c11eeec4f028">OGRSTClassId</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aae8d0ee36b82c9d1d8d1a0e9b36f2d35">OGR_ST_GetType</a> (OGRStyleToolH hST)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="ogr__core_8h.html#af945b904942ebc25abc8f685bb6b20e1">OGRSTUnitId</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#afb52e40f289848d1f228849b6dae2463">OGR_ST_GetUnit</a> (OGRStyleToolH hST)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ac9c5b94e6ca32cd53c6a7a9ebc73012c">OGR_ST_SetUnit</a> (OGRStyleToolH hST, <a class="el" href="ogr__core_8h.html#af945b904942ebc25abc8f685bb6b20e1">OGRSTUnitId</a> eUnit, double dfGroundPaperScale)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#aecadf5738c3b96093605b352a95869f1">OGR_ST_GetParamStr</a> (OGRStyleToolH hST, int eParam, int *bValueIsNull)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ad4168832561881cb75dcc7c35935cdd3">OGR_ST_GetParamNum</a> (OGRStyleToolH hST, int eParam, int *bValueIsNull)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a96082cdf432271acfa3b3777c3be853b">OGR_ST_GetParamDbl</a> (OGRStyleToolH hST, int eParam, int *bValueIsNull)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a88e9561d9a62d6f8368d526eb0468b3a">OGR_ST_SetParamStr</a> (OGRStyleToolH hST, int eParam, const char *pszValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#ac0397850aed3282865b444d65d2deb0e">OGR_ST_SetParamNum</a> (OGRStyleToolH hST, int eParam, int nValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a4089c70ce3b1cbea0e45c3375d5093f0">OGR_ST_GetStyleString</a> (OGRStyleToolH hST)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__api_8h.html#a906f5e2b901413a0ab5fa35d649847fc">OGR_ST_GetRGBFromString</a> (OGRStyleToolH hST, const char *pszColor, int *pnRed, int *pnGreen, int *pnBlue, int *pnAlpha)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>C API and defines for <a class="el" href="classOGRFeature.html">OGRFeature</a>, <a class="el" href="classOGRGeometry.html">OGRGeometry</a>, and <a class="el" href="classOGRDataSource.html">OGRDataSource</a> related classes.</p>
<p>See also: <a class="el" href="ogr__geometry_8h.html">ogr_geometry.h</a>, <a class="el" href="ogr__feature_8h.html">ogr_feature.h</a>, <a class="el" href="ogrsf__frmts_8h.html">ogrsf_frmts.h</a>, <a class="el" href="ogr__featurestyle_8h_source.html">ogr_featurestyle.h</a> </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a09a9c68495afce08505b8bbe36c1b96e"></a><!-- doxytag: member="ogr_api.h::OGR_Dr_CreateDataSource" ref="a09a9c68495afce08505b8bbe36c1b96e" args="(OGRSFDriverH, const char *, char **)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRDataSourceH OGR_Dr_CreateDataSource </td>
          <td>(</td>
          <td class="paramtype">OGRSFDriverH&nbsp;</td>
          <td class="paramname"> <em>hDriver</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>papszOptions</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function attempts to create a new data source based on the passed driver. The papszOptions argument can be used to control driver specific creation options. These options are normally documented in the format specific documentation.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRSFDriver.html#a4339101b2d0851e788b6bcfd248780f6">OGRSFDriver::CreateDataSource()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDriver</em>&nbsp;</td><td>handle to the driver on which data source creation is based. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszName</em>&nbsp;</td><td>the name for the new data source. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>papszOptions</em>&nbsp;</td><td>a StringList of name=value options. Options are driver specific, and driver information can be found at the following url: <a href="http://www.gdal.org/ogr/ogr_formats.html">http://www.gdal.org/ogr/ogr_formats.html</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>NULL is returned on failure, or a new <a class="el" href="classOGRDataSource.html">OGRDataSource</a> handle on success. </dd></dl>

<p>References <a class="el" href="ogrsfdriver_8cpp_source.html#l00049">OGRSFDriver::CreateDataSource()</a>, <a class="el" href="ogrdatasource_8cpp_source.html#l00972">OGRDataSource::GetDriver()</a>, <a class="el" href="ogrsfdriver_8cpp_source.html#l00062">OGR_Dr_CreateDataSource()</a>, and <a class="el" href="ogrdatasource_8cpp_source.html#l00994">OGRDataSource::SetDriver()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriver_8cpp_source.html#l00062">OGR_Dr_CreateDataSource()</a>.</p>

</div>
</div>
<a class="anchor" id="afd11ea603491207a89c75b6b9480e091"></a><!-- doxytag: member="ogr_api.h::OGR_Dr_GetName" ref="afd11ea603491207a89c75b6b9480e091" args="(OGRSFDriverH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * OGR_Dr_GetName </td>
          <td>(</td>
          <td class="paramtype">OGRSFDriverH&nbsp;</td>
          <td class="paramname"> <em>hDriver</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch name of driver (file format). This name should be relatively short (10-40 characters), and should reflect the underlying file format. For instance "ESRI Shapefile".</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRSFDriver.html#a0e7f90e5c390bccc9e708b75235a2735">OGRSFDriver::GetName()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDriver</em>&nbsp;</td><td>handle to the the driver to get the name from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>driver name. This is an internal string and should not be modified or freed. </dd></dl>

<p>References <a class="el" href="ogrsfdriver_8cpp_source.html#l00121">OGR_Dr_GetName()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriver_8cpp_source.html#l00121">OGR_Dr_GetName()</a>.</p>

</div>
</div>
<a class="anchor" id="abd35488a77aae79835b8b753095cebc7"></a><!-- doxytag: member="ogr_api.h::OGR_Dr_Open" ref="abd35488a77aae79835b8b753095cebc7" args="(OGRSFDriverH, const char *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRDataSourceH OGR_Dr_Open </td>
          <td>(</td>
          <td class="paramtype">OGRSFDriverH&nbsp;</td>
          <td class="paramname"> <em>hDriver</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bUpdate</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Attempt to open file with this driver.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRSFDriver.html#ada42ddbaaccb92f780899128fc8b7373">OGRSFDriver::Open()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDriver</em>&nbsp;</td><td>handle to the driver that is used to open file. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszName</em>&nbsp;</td><td>the name of the file, or data source to try and open. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bUpdate</em>&nbsp;</td><td>TRUE if update access is required, otherwise FALSE (the default).</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>NULL on error or if the pass name is not supported by this driver, otherwise an handle to an <a class="el" href="classOGRDataSource.html">OGRDataSource</a>. This <a class="el" href="classOGRDataSource.html">OGRDataSource</a> should be closed by deleting the object when it is no longer needed. </dd></dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00972">OGRDataSource::GetDriver()</a>, <a class="el" href="ogrsfdriver_8cpp_source.html#l00133">OGR_Dr_Open()</a>, and <a class="el" href="ogrdatasource_8cpp_source.html#l00994">OGRDataSource::SetDriver()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriver_8cpp_source.html#l00133">OGR_Dr_Open()</a>.</p>

</div>
</div>
<a class="anchor" id="a9010219bbc2e32627064ed860048d979"></a><!-- doxytag: member="ogr_api.h::OGR_Dr_TestCapability" ref="a9010219bbc2e32627064ed860048d979" args="(OGRSFDriverH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_Dr_TestCapability </td>
          <td>(</td>
          <td class="paramtype">OGRSFDriverH&nbsp;</td>
          <td class="paramname"> <em>hDriver</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszCap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Test if capability is available.</p>
<p>One of the following data source capability names can be passed into this function, and a TRUE or FALSE value will be returned indicating whether or not the capability is available for this object.</p>
<ul>
<li>
<p class="startli"><b>ODrCCreateDataSource</b>: True if this driver can support creating data sources.</p>
<p class="endli"></p>
</li>
<li>
<p class="startli"><b>ODrCDeleteDataSource</b>: True if this driver supports deleting data sources.</p>
<p class="endli"></p>
</li>
</ul>
<p>The #define macro forms of the capability names should be used in preference to the strings themselves to avoid mispelling.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRSFDriver.html#a6c37cb7552902cd27cd6d4b904d7c744">OGRSFDriver::TestCapability()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDriver</em>&nbsp;</td><td>handle to the driver to test the capability against. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszCap</em>&nbsp;</td><td>the capability to test.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if capability available otherwise FALSE. </dd></dl>

<p>References <a class="el" href="ogrsfdriver_8cpp_source.html#l00151">OGR_Dr_TestCapability()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriver_8cpp_source.html#l00151">OGR_Dr_TestCapability()</a>.</p>

</div>
</div>
<a class="anchor" id="a424d383a37fbeaea58acaea11717f320"></a><!-- doxytag: member="ogr_api.h::OGR_DS_CreateLayer" ref="a424d383a37fbeaea58acaea11717f320" args="(OGRDataSourceH, const char *, OGRSpatialReferenceH, OGRwkbGeometryType, char **)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRLayerH OGR_DS_CreateLayer </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRSpatialReferenceH&nbsp;</td>
          <td class="paramname"> <em>hSpatialRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>&nbsp;</td>
          <td class="paramname"> <em>eType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>papszOptions</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function attempts to create a new layer on the data source with the indicated name, coordinate system, geometry type. The papszOptions argument can be used to control driver specific creation options. These options are normally documented in the format specific documentation.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRDataSource.html#a39cfc6e0ee790506d7638b0dce03c7da">OGRDataSource::CreateLayer()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDS</em>&nbsp;</td><td>The dataset handle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszName</em>&nbsp;</td><td>the name for the new layer. This should ideally not match any existing layer on the datasource. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hSpatialRef</em>&nbsp;</td><td>handle to the coordinate system to use for the new layer, or NULL if no coordinate system is available. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eType</em>&nbsp;</td><td>the geometry type for the layer. Use wkbUnknown if there are no constraints on the types geometry to be written. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>papszOptions</em>&nbsp;</td><td>a StringList of name=value options. Options are driver specific, and driver information can be found at the following url: <a href="http://www.gdal.org/ogr/ogr_formats.html">http://www.gdal.org/ogr/ogr_formats.html</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>NULL is returned on failure, or a new <a class="el" href="classOGRLayer.html">OGRLayer</a> handle on success.</dd></dl>
<p><b>Example:</b></p>
<div class="fragment"><pre class="fragment"><span class="preprocessor">#include &quot;<a class="code" href="ogrsf__frmts_8h.html">ogrsf_frmts.h</a>&quot;</span> 
<span class="preprocessor">#include &quot;<a class="code" href="cpl__string_8h.html">cpl_string.h</a>&quot;</span>

...

        OGRLayerH *hLayer;
        <span class="keywordtype">char</span>     *papszOptions;

        <span class="keywordflow">if</span>( <a class="code" href="ogr__api_8h.html#ad0fefab726442fa71ab5ef74fe8549a6">OGR_DS_TestCapability</a>( hDS, ODsCCreateLayer ) )
        {
            ...
        }

        papszOptions = CSLSetNameValue( papszOptions, <span class="stringliteral">&quot;DIM&quot;</span>, <span class="stringliteral">&quot;2&quot;</span> );
        hLayer = <a class="code" href="ogr__api_8h.html#a424d383a37fbeaea58acaea11717f320">OGR_DS_CreateLayer</a>( hDS, <span class="stringliteral">&quot;NewLayer&quot;</span>, NULL, <a class="code" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12aa3645f782f9b9f7632d7e7cdd0451d58f">wkbUnknown</a>,
                                     papszOptions );
        CSLDestroy( papszOptions );

        <span class="keywordflow">if</span>( hLayer == NULL )
        {
            ...
        }        
</pre></div> 
<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00221">OGR_DS_CreateLayer()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00221">OGR_DS_CreateLayer()</a>.</p>

</div>
</div>
<a class="anchor" id="a4823e7c3513cd9d57254364de9a1d021"></a><!-- doxytag: member="ogr_api.h::OGR_DS_Destroy" ref="a4823e7c3513cd9d57254364de9a1d021" args="(OGRDataSourceH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_DS_Destroy </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDataSource</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Closes opened datasource and releases allocated resources.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDataSource</em>&nbsp;</td><td>handle to allocated datasource object. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00083">OGR_DS_Destroy()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00083">OGR_DS_Destroy()</a>.</p>

</div>
</div>
<a class="anchor" id="a9892ecb0bf61add295bd9decdb13797a"></a><!-- doxytag: member="ogr_api.h::OGR_DS_ExecuteSQL" ref="a9892ecb0bf61add295bd9decdb13797a" args="(OGRDataSourceH, const char *, OGRGeometryH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRLayerH OGR_DS_ExecuteSQL </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszSQLCommand</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hSpatialFilter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszDialect</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Execute an SQL statement against the data store.</p>
<p>The result of an SQL query is either NULL for statements that are in error, or that have no results set, or an <a class="el" href="classOGRLayer.html">OGRLayer</a> handle representing a results set from the query. Note that this <a class="el" href="classOGRLayer.html">OGRLayer</a> is in addition to the layers in the data store and must be destroyed with OGR_DS_ReleaseResultsSet() before the data source is closed (destroyed).</p>
<p>For more information on the SQL dialect supported internally by OGR review the <a href="ogr_sql.html">OGR SQL</a> document. Some drivers (ie. Oracle and PostGIS) pass the SQL directly through to the underlying RDBMS.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRDataSource.html#aa6acc228db6513784a56ce12334a8c33">OGRDataSource::ExecuteSQL()</a>;</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDS</em>&nbsp;</td><td>handle to the data source on which the SQL query is executed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszSQLCommand</em>&nbsp;</td><td>the SQL statement to execute. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hSpatialFilter</em>&nbsp;</td><td>handle to a geometry which represents a spatial filter. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszDialect</em>&nbsp;</td><td>allows control of the statement dialect. By default it is assumed to be "generic" SQL, whatever that is.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to a <a class="el" href="classOGRLayer.html">OGRLayer</a> containing the results of the query. Deallocate with OGR_DS_ReleaseResultsSet(). </dd></dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00846">OGR_DS_ExecuteSQL()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00846">OGR_DS_ExecuteSQL()</a>.</p>

</div>
</div>
<a class="anchor" id="a03998029f904d1c3b12de40114e7503e"></a><!-- doxytag: member="ogr_api.h::OGR_DS_GetLayer" ref="a03998029f904d1c3b12de40114e7503e" args="(OGRDataSourceH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRLayerH OGR_DS_GetLayer </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iLayer</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch a layer by index. The returned layer remains owned by the <a class="el" href="classOGRDataSource.html">OGRDataSource</a> and should not be deleted by the application.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRDataSource.html#a618c2fdb1067c9357ca2de9fa6cd5962">OGRDataSource::GetLayer()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDS</em>&nbsp;</td><td>handle to the data source from which to get the layer. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iLayer</em>&nbsp;</td><td>a layer number between 0 and <a class="el" href="ogr__api_8h.html#ac6da541cb655ab631df729e71da2e762">OGR_DS_GetLayerCount()</a>-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the layer, or NULL if iLayer is out of range or an error occurs. </dd></dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00910">OGR_DS_GetLayer()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00910">OGR_DS_GetLayer()</a>.</p>

</div>
</div>
<a class="anchor" id="a74af4912b67bf2a7b6e3230711a40d0e"></a><!-- doxytag: member="ogr_api.h::OGR_DS_GetLayerByName" ref="a74af4912b67bf2a7b6e3230711a40d0e" args="(OGRDataSourceH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRLayerH OGR_DS_GetLayerByName </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszLayerName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch a layer by name. The returned layer remains owned by the <a class="el" href="classOGRDataSource.html">OGRDataSource</a> and should not be deleted by the application.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRDataSource.html#aa0fafafc83084ad140ecdf17d9e139f9">OGRDataSource::GetLayerByName()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDS</em>&nbsp;</td><td>handle to the data source from which to get the layer. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszLayerName</em>&nbsp;</td><td>Layer the layer name of the layer to fetch.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the layer, or NULL if the layer is not found or an error occurs. </dd></dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00406">OGR_DS_GetLayerByName()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00406">OGR_DS_GetLayerByName()</a>.</p>

</div>
</div>
<a class="anchor" id="ac6da541cb655ab631df729e71da2e762"></a><!-- doxytag: member="ogr_api.h::OGR_DS_GetLayerCount" ref="ac6da541cb655ab631df729e71da2e762" args="(OGRDataSourceH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_DS_GetLayerCount </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDS</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the number of layers in this data source.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRDataSource.html#a031694429394662fd50353c5e2b68692">OGRDataSource::GetLayerCount()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDS</em>&nbsp;</td><td>handle to the data source from which to get the number of layers. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>layer count. </dd></dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00898">OGR_DS_GetLayerCount()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00898">OGR_DS_GetLayerCount()</a>.</p>

</div>
</div>
<a class="anchor" id="aea8cc826474b55371b1b4e24a24ba1db"></a><!-- doxytag: member="ogr_api.h::OGR_DS_GetName" ref="aea8cc826474b55371b1b4e24a24ba1db" args="(OGRDataSourceH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * OGR_DS_GetName </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDS</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the name of the data source. This string should be sufficient to open the data source if passed to the same <a class="el" href="classOGRSFDriver.html">OGRSFDriver</a> that this data source was opened with, but it need not be exactly the same string that was used to open the data source. Normally this is a filename.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRDataSource.html#a682c885a30cbc3a35ed59ed39f316a55">OGRDataSource::GetName()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDS</em>&nbsp;</td><td>handle to the data source to get the name from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to an internal name string which should not be modified or freed by the caller. </dd></dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00922">OGR_DS_GetName()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00922">OGR_DS_GetName()</a>.</p>

</div>
</div>
<a class="anchor" id="afc7b521a05c1207e298a2b9dbf4a1181"></a><!-- doxytag: member="ogr_api.h::OGR_DS_ReleaseResultSet" ref="afc7b521a05c1207e298a2b9dbf4a1181" args="(OGRDataSourceH, OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_DS_ReleaseResultSet </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Release results of <a class="el" href="ogr__api_8h.html#a9892ecb0bf61add295bd9decdb13797a">OGR_DS_ExecuteSQL()</a>.</p>
<p>This function should only be used to deallocate OGRLayers resulting from an <a class="el" href="ogr__api_8h.html#a9892ecb0bf61add295bd9decdb13797a">OGR_DS_ExecuteSQL()</a> call on the same <a class="el" href="classOGRDataSource.html">OGRDataSource</a>. Failure to deallocate a results set before destroying the <a class="el" href="classOGRDataSource.html">OGRDataSource</a> may cause errors.</p>
<p>This function is the same as the C++ method OGRDataSource::ReleaseResultsSet().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDS</em>&nbsp;</td><td>an handle to the data source on which was executed an SQL query. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the result of a previous <a class="el" href="ogr__api_8h.html#a9892ecb0bf61add295bd9decdb13797a">OGR_DS_ExecuteSQL()</a> call. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00874">OGR_DS_ReleaseResultSet()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00874">OGR_DS_ReleaseResultSet()</a>.</p>

</div>
</div>
<a class="anchor" id="ad0fefab726442fa71ab5ef74fe8549a6"></a><!-- doxytag: member="ogr_api.h::OGR_DS_TestCapability" ref="ad0fefab726442fa71ab5ef74fe8549a6" args="(OGRDataSourceH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_DS_TestCapability </td>
          <td>(</td>
          <td class="paramtype">OGRDataSourceH&nbsp;</td>
          <td class="paramname"> <em>hDS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszCapability</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Test if capability is available.</p>
<p>One of the following data source capability names can be passed into this function, and a TRUE or FALSE value will be returned indicating whether or not the capability is available for this object.</p>
<ul>
<li>
<p class="startli"><b>ODsCCreateLayer</b>: True if this datasource can create new layers. </p>
<p class="endli"></p>
</li>
</ul>
<p>The #define macro forms of the capability names should be used in preference to the strings themselves to avoid mispelling.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRDataSource.html#a3b7c054c376151e1a1f63861d7239c8b">OGRDataSource::TestCapability()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDS</em>&nbsp;</td><td>handle to the data source against which to test the capability. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszCapability</em>&nbsp;</td><td>the capability to test.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if capability available otherwise FALSE. </dd></dl>

<p>References <a class="el" href="ogrdatasource_8cpp_source.html#l00886">OGR_DS_TestCapability()</a>.</p>

<p>Referenced by <a class="el" href="ogrdatasource_8cpp_source.html#l00886">OGR_DS_TestCapability()</a>.</p>

</div>
</div>
<a class="anchor" id="a90c0adfd518b71571d9ce8d976fab320"></a><!-- doxytag: member="ogr_api.h::OGR_F_Clone" ref="a90c0adfd518b71571d9ce8d976fab320" args="(OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFeatureH OGR_F_Clone </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td>
          <td>&nbsp;)&nbsp;</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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a580a742ae4952c3a4a0dd25ae2afb7e5">OGRFeature::Clone()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to clone. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the new feature, exactly matching this feature. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00509">OGR_F_Clone()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00509">OGR_F_Clone()</a>.</p>

</div>
</div>
<a class="anchor" id="a0d820fd7da6a079048c0d21e26fc9e47"></a><!-- doxytag: member="ogr_api.h::OGR_F_Create" ref="a0d820fd7da6a079048c0d21e26fc9e47" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFeatureH OGR_F_Create </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Feature factory.</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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#ae6559a9f3c26274d1253e5d043b2e852">OGRFeature::OGRFeature()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature class (layer) definition to which the feature will adhere.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the new feature object with null fields and no geometry. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00099">OGR_F_Create()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00099">OGR_F_Create()</a>.</p>

</div>
</div>
<a class="anchor" id="a16fb8126aa932f4b4acdaca5ea99bbbb"></a><!-- doxytag: member="ogr_api.h::OGR_F_Destroy" ref="a16fb8126aa932f4b4acdaca5ea99bbbb" args="(OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_Destroy </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a5d2602d11f21567119da0ca6b6c5ad45">OGRFeature::DestroyFeature()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to destroy. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00175">OGR_F_Destroy()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00175">OGR_F_Destroy()</a>.</p>

</div>
</div>
<a class="anchor" id="ae38d330f942798fcbaaf27e5807fb567"></a><!-- doxytag: member="ogr_api.h::OGR_F_DumpReadable" ref="ae38d330f942798fcbaaf27e5807fb567" args="(OGRFeatureH, FILE *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_DumpReadable </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fpOut</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a6c787aeb650bd03420309ca4f52c0083">OGRFeature::DumpReadable()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to dump. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fpOut</em>&nbsp;</td><td>the stream to write to, such as strout. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02480">OGR_F_DumpReadable()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02480">OGR_F_DumpReadable()</a>.</p>

</div>
</div>
<a class="anchor" id="a8b6a502ec0b70f3de50e7184a087a264"></a><!-- doxytag: member="ogr_api.h::OGR_F_Equal" ref="a8b6a502ec0b70f3de50e7184a087a264" args="(OGRFeatureH, OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_F_Equal </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hOtherFeat</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></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 (handle equality) same <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>, have the same field values, and the same geometry (as tested by OGR_G_Equal()) as well as the same feature id.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a738dfd54ecb6fb86e294929e91f90479">OGRFeature::Equal()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to one of the feature. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hOtherFeat</em>&nbsp;</td><td>handle to the other feature to test this one against.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if they are equal, otherwise FALSE. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02637">OGR_F_Equal()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02637">OGR_F_Equal()</a>.</p>

</div>
</div>
<a class="anchor" id="a123dfa431bf655aafd2dbd42247dd7be"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetDefnRef" ref="a123dfa431bf655aafd2dbd42247dd7be" args="(OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFeatureDefnH OGR_F_GetDefnRef </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch feature definition.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a01ef8d59265a7ab7a575387a8269bf92">OGRFeature::GetDefnRef()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to get the feature definition from.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the feature definition object on which feature depends. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00259">OGR_F_GetDefnRef()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00259">OGR_F_GetDefnRef()</a>.</p>

</div>
</div>
<a class="anchor" id="a95bc391bf7883a8732a523d525c26a00"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFID" ref="a95bc391bf7883a8732a523d525c26a00" args="(OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long OGR_F_GetFID </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get feature identifier.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a23506b436ea8e88e65aaa6b57bbaa326">OGRFeature::GetFID()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature from which to get the feature identifier. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>feature id or OGRNullFID if none has been assigned. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02516">OGR_F_GetFID()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02516">OGR_F_GetFID()</a>.</p>

</div>
</div>
<a class="anchor" id="a72727f2f59d1defa01cedfb884df1a09"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldAsBinary" ref="a72727f2f59d1defa01cedfb884df1a09" args="(OGRFeatureH, int, int *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GByte* OGR_F_GetFieldAsBinary </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnBytes</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch field value as binary.</p>
<p>Currently this method only works for OFTBinary fields.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a0262d9d3f0f9e18a1e2101e1972aebae">OGRFeature::GetFieldAsBinary()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pnBytes</em>&nbsp;</td><td>location to place count of bytes returned.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field value. This list is internal, and should not be modified, or freed. It's lifetime may be very brief. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l01551">OGR_F_GetFieldAsBinary()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01551">OGR_F_GetFieldAsBinary()</a>.</p>

</div>
</div>
<a class="anchor" id="a47ca681bb6099eb8c18004d1f7112d95"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldAsDateTime" ref="a47ca681bb6099eb8c18004d1f7112d95" args="(OGRFeatureH, int, int *, int *, int *, int *, int *, int *, int *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_F_GetFieldAsDateTime </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnYear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnHour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnMinute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnSecond</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnTZFlag</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a6c5d2444407b07e07b79863c42ee7a49">OGRFeature::GetFieldAsDateTime()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>int</em>&nbsp;</td><td>pnYear (including century) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>int</em>&nbsp;</td><td>pnMonth (1-12) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>int</em>&nbsp;</td><td>pnDay (1-31) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>int</em>&nbsp;</td><td>pnHour (0-23) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>int</em>&nbsp;</td><td>pnMinute (0-59) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>int</em>&nbsp;</td><td>pnSecond (0-59) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>int</em>&nbsp;</td><td>pnTZFlag (0=unknown, 1=localtime, 100=GMT, see data model for details)</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE on success or FALSE on failure. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l01650">OGR_F_GetFieldAsDateTime()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01650">OGR_F_GetFieldAsDateTime()</a>.</p>

</div>
</div>
<a class="anchor" id="a62252a0d4538c695d41956a96cdc6978"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldAsDouble" ref="a62252a0d4538c695d41956a96cdc6978" args="(OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double OGR_F_GetFieldAsDouble </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#ab8a57c94e8bb8ffac5e7048d896254b4">OGRFeature::GetFieldAsDouble()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field value. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00949">OGR_F_GetFieldAsDouble()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00949">OGR_F_GetFieldAsDouble()</a>.</p>

</div>
</div>
<a class="anchor" id="a4a27f74a38506ac492ec8b6e00eb58c9"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldAsDoubleList" ref="a4a27f74a38506ac492ec8b6e00eb58c9" args="(OGRFeatureH, int, int *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const double* OGR_F_GetFieldAsDoubleList </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnCount</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function only works for OFTRealList fields.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a8f799b9e9e44af526659b646bbfda870">OGRFeature::GetFieldAsDoubleList()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pnCount</em>&nbsp;</td><td>an integer to put the list count (number of doubles) into.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field value. This list is internal, and should not be modified, or freed. It's 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="ogrfeature_8cpp_source.html#l01407">OGR_F_GetFieldAsDoubleList()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01407">OGR_F_GetFieldAsDoubleList()</a>.</p>

</div>
</div>
<a class="anchor" id="acfb4d2c0001af379e396021ecbdaf275"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldAsInteger" ref="acfb4d2c0001af379e396021ecbdaf275" args="(OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_F_GetFieldAsInteger </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#add319b68ea27a4ee0602d3aa460ca3b5">OGRFeature::GetFieldAsInteger()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field value. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00864">OGR_F_GetFieldAsInteger()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00864">OGR_F_GetFieldAsInteger()</a>.</p>

</div>
</div>
<a class="anchor" id="ac671852e05692c584b493b2acbd6b8ce"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldAsIntegerList" ref="ac671852e05692c584b493b2acbd6b8ce" args="(OGRFeatureH, int, int *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int* OGR_F_GetFieldAsIntegerList </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnCount</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function only works for OFTIntegerList fields.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a3f153cf4e2e6513b7df60f46ae8440bd">OGRFeature::GetFieldAsIntegerList()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pnCount</em>&nbsp;</td><td>an integer to put the list count (number of integers) into.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field value. This list is internal, and should not be modified, or freed. It's 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="ogrfeature_8cpp_source.html#l01330">OGR_F_GetFieldAsIntegerList()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01330">OGR_F_GetFieldAsIntegerList()</a>.</p>

</div>
</div>
<a class="anchor" id="a42acfd1f4b49dddc1c308462ae800c26"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldAsString" ref="a42acfd1f4b49dddc1c308462ae800c26" args="(OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_F_GetFieldAsString </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#ac7a0224e13dce1f9479a6bf2111ea766">OGRFeature::GetFieldAsString()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field value. This string is internal, and should not be modified, or freed. It's lifetime may be very brief. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l01254">OGR_F_GetFieldAsString()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01254">OGR_F_GetFieldAsString()</a>.</p>

</div>
</div>
<a class="anchor" id="a3e55ba4a06d4c4a392206518b390ac38"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldAsStringList" ref="a3e55ba4a06d4c4a392206518b390ac38" args="(OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char** OGR_F_GetFieldAsStringList </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a84af9ea0a9af247581901ec95a890571">OGRFeature::GetFieldAsStringList()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field value. This list is internal, and should not be modified, or freed. It's lifetime may be very brief. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l01480">OGR_F_GetFieldAsStringList()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01480">OGR_F_GetFieldAsStringList()</a>.</p>

</div>
</div>
<a class="anchor" id="af6c1440956ee56c0c160394bccf96990"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldCount" ref="af6c1440956ee56c0c160394bccf96990" args="(OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_F_GetFieldCount </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#ab7f4eb0c098a9456d4005828127cdde0">OGRFeature::GetFieldCount()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to get the fields count from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>count of fields. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00546">OGR_F_GetFieldCount()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00546">OGR_F_GetFieldCount()</a>.</p>

</div>
</div>
<a class="anchor" id="a6f8fc7fd6ecca789ad90db6d28391623"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldDefnRef" ref="a6f8fc7fd6ecca789ad90db6d28391623" args="(OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFieldDefnH OGR_F_GetFieldDefnRef </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch definition for this field.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a35aba5a674e9901eccf1e7d90d97d773">OGRFeature::GetFieldDefnRef()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature on which the field is found. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to 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>References <a class="el" href="ogrfeature_8cpp_source.html#l00587">OGR_F_GetFieldDefnRef()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00587">OGR_F_GetFieldDefnRef()</a>.</p>

</div>
</div>
<a class="anchor" id="a9a8a6b93ab97204b94f5c2b358f8f98e"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetFieldIndex" ref="a9a8a6b93ab97204b94f5c2b358f8f98e" args="(OGRFeatureH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_F_GetFieldIndex </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></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">OGRFeatureDefn::GetFieldIndex()</a> method.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#ab49421f777e56b7cb41169f1301a7b21">OGRFeature::GetFieldIndex()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature on which the field is found. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszName</em>&nbsp;</td><td>the name of the field to search for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field index, or -1 if no matching field is found. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00630">OGR_F_GetFieldIndex()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00630">OGR_F_GetFieldIndex()</a>.</p>

</div>
</div>
<a class="anchor" id="a1bf9596756aeacec4da502383c378f5c"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetGeometryRef" ref="a1bf9596756aeacec4da502383c378f5c" args="(OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRGeometryH OGR_F_GetGeometryRef </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch an handle to feature geometry.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#acc966ce8c10ae3ddf9f14c2736fdce9a">OGRFeature::GetGeometryRef()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to get geometry from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to internal feature geometry. This object should not be modified. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00450">OGR_F_GetGeometryRef()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00450">OGR_F_GetGeometryRef()</a>.</p>

</div>
</div>
<a class="anchor" id="af7043e9dfadbdeca8059ace336875d4c"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetRawFieldRef" ref="af7043e9dfadbdeca8059ace336875d4c" args="(OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionOGRField.html">OGRField</a>* OGR_F_GetRawFieldRef </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch an handle to the internal field value given the index.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#ae7f676d5a8e1f62d80b438c13b159ee0">OGRFeature::GetRawFieldRef()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature on which field is found. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the returned handle is to an internal data structure, and should not be freed, or modified. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00779">OGR_F_GetRawFieldRef()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00779">OGR_F_GetRawFieldRef()</a>.</p>

</div>
</div>
<a class="anchor" id="a10fb5f53d99ccf46280e4c38afe4a5a5"></a><!-- doxytag: member="ogr_api.h::OGR_F_GetStyleString" ref="a10fb5f53d99ccf46280e4c38afe4a5a5" args="(OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_F_GetStyleString </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></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_source.html">ogr_featurestyle.h</a> for services available to parse it.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a54c179e53eb6eddb657dd392a87cccab">OGRFeature::GetStyleString()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to get the style from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></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="ogrfeature_8cpp_source.html#l02849">OGR_F_GetStyleString()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02849">OGR_F_GetStyleString()</a>.</p>

</div>
</div>
<a class="anchor" id="abb018a9030ed76353ae26082deaaef11"></a><!-- doxytag: member="ogr_api.h::OGR_F_IsFieldSet" ref="abb018a9030ed76353ae26082deaaef11" args="(OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_F_IsFieldSet </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a1b777ff06798655f268275fc56fd0406">OGRFeature::IsFieldSet()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature on which the field is. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to test.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if the field has been set, otherwise false. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00669">OGR_F_IsFieldSet()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00669">OGR_F_IsFieldSet()</a>.</p>

</div>
</div>
<a class="anchor" id="a09d01eea41746751db62da123887e787"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFID" ref="a09d01eea41746751db62da123887e787" args="(OGRFeatureH, long)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_F_SetFID </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>nFID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a9abfc256b2d1758761fa54ca3395029b">OGRFeature::SetFID()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to set the feature id to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nFID</em>&nbsp;</td><td>the new feature identifier value to assign.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>On success OGRERR_NONE, or on failure some other value. </dd></dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02571">OGR_F_SetFID()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02571">OGR_F_SetFID()</a>.</p>

</div>
</div>
<a class="anchor" id="a5dcaa7d3e71f078ae714831f7c5cae1d"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldBinary" ref="a5dcaa7d3e71f078ae714831f7c5cae1d" args="(OGRFeatureH, int, int, GByte *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldBinary </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nBytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GByte *&nbsp;</td>
          <td class="paramname"> <em>pabyData</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set field to binary data.</p>
<p>This function currently on has an effect of OFTBinary fields.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">OGRFeature::SetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to set, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nBytes</em>&nbsp;</td><td>the number of bytes in pabyData array. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pabyData</em>&nbsp;</td><td>the data to apply. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02137">OGR_F_SetFieldBinary()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02137">OGR_F_SetFieldBinary()</a>.</p>

</div>
</div>
<a class="anchor" id="a627970180a20e2a4b1c7ae694923fd73"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldDateTime" ref="a627970180a20e2a4b1c7ae694923fd73" args="(OGRFeatureH, int, int, int, int, int, int, int, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldDateTime </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nYear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nHour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nMinute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nSecond</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nTZFlag</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set field to datetime.</p>
<p>This method currently only has an effect for OFTDate, OFTTime and OFTDateTime fields.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to set, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nYear</em>&nbsp;</td><td>(including century) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nMonth</em>&nbsp;</td><td>(1-12) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nDay</em>&nbsp;</td><td>(1-31) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nHour</em>&nbsp;</td><td>(0-23) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nMinute</em>&nbsp;</td><td>(0-59) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nSecond</em>&nbsp;</td><td>(0-59) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nTZFlag</em>&nbsp;</td><td>(0=unknown, 1=localtime, 100=GMT, see data model for details) </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02214">OGR_F_SetFieldDateTime()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02214">OGR_F_SetFieldDateTime()</a>.</p>

</div>
</div>
<a class="anchor" id="a9d28aa13b1b7c88f07066c36286d13b9"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldDouble" ref="a9d28aa13b1b7c88f07066c36286d13b9" args="(OGRFeatureH, int, double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldDouble </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfValue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">OGRFeature::SetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfValue</em>&nbsp;</td><td>the value to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l01812">OGR_F_SetFieldDouble()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01812">OGR_F_SetFieldDouble()</a>.</p>

</div>
</div>
<a class="anchor" id="a6ba075923f49a5abd6637183731cb6ab"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldDoubleList" ref="a6ba075923f49a5abd6637183731cb6ab" args="(OGRFeatureH, int, int, double *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldDoubleList </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>padfValues</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function currently on has an effect of OFTRealList fields.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">OGRFeature::SetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to set, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nCount</em>&nbsp;</td><td>the number of values in the list being assigned. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>padfValues</em>&nbsp;</td><td>the values to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02016">OGR_F_SetFieldDoubleList()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02016">OGR_F_SetFieldDoubleList()</a>.</p>

</div>
</div>
<a class="anchor" id="ad902fb7c7fe459aacf0b2c26b8e6d1ee"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldInteger" ref="ad902fb7c7fe459aacf0b2c26b8e6d1ee" args="(OGRFeatureH, int, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldInteger </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nValue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">OGRFeature::SetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nValue</em>&nbsp;</td><td>the value to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l01734">OGR_F_SetFieldInteger()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01734">OGR_F_SetFieldInteger()</a>.</p>

</div>
</div>
<a class="anchor" id="a2b7dee0dc057570af68a01ec0b5d3753"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldIntegerList" ref="a2b7dee0dc057570af68a01ec0b5d3753" args="(OGRFeatureH, int, int, int *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldIntegerList </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>panValues</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function currently on has an effect of OFTIntegerList fields.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">OGRFeature::SetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to set, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nCount</em>&nbsp;</td><td>the number of values in the list being assigned. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>panValues</em>&nbsp;</td><td>the values to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l01954">OGR_F_SetFieldIntegerList()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01954">OGR_F_SetFieldIntegerList()</a>.</p>

</div>
</div>
<a class="anchor" id="af3cfe4f766f5579f670bb651c53a99ca"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldRaw" ref="af3cfe4f766f5579f670bb651c53a99ca" args="(OGRFeatureH, int, OGRField *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldRaw </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</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> *&nbsp;</td>
          <td class="paramname"> <em>psValue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">OGRFeature::SetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>psValue</em>&nbsp;</td><td>handle on the value to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02388">OGR_F_SetFieldRaw()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02388">OGR_F_SetFieldRaw()</a>.</p>

</div>
</div>
<a class="anchor" id="ad1a3e8b4a08f9558807389bcdde85bab"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldString" ref="ad1a3e8b4a08f9558807389bcdde85bab" args="(OGRFeatureH, int, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldString </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszValue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function is the same as the C++ method <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">OGRFeature::SetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszValue</em>&nbsp;</td><td>the value to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l01893">OGR_F_SetFieldString()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l01893">OGR_F_SetFieldString()</a>.</p>

</div>
</div>
<a class="anchor" id="a9f055dc02fa8f1047849f6e30b4b86d4"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFieldStringList" ref="a9f055dc02fa8f1047849f6e30b4b86d4" args="(OGRFeatureH, int, char **)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetFieldStringList </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>papszValues</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 function currently on has an effect of OFTStringList fields.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a4abbe118cc2f3e48bbac7f710b71b531">OGRFeature::SetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature that owned the field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to set, from 0 to GetFieldCount()-1. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>papszValues</em>&nbsp;</td><td>the values to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02076">OGR_F_SetFieldStringList()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02076">OGR_F_SetFieldStringList()</a>.</p>

</div>
</div>
<a class="anchor" id="ad7f7057a7a3764c526a4a59e2b587fba"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetFrom" ref="ad7f7057a7a3764c526a4a59e2b587fba" args="(OGRFeatureH, OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_F_SetFrom </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hOtherFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bForgiving</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 hOtherFeature 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. OGR_F_SetField*() function conversion rules will be applied as needed.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a8ebc0999c4bce0b5073add16598dfc77">OGRFeature::SetFrom()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to set to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hOtherFeat</em>&nbsp;</td><td>handle to the feature from which geometry, and field values will be copied.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bForgiving</em>&nbsp;</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="return"><dt><b>Returns:</b></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="ogrfeature_8cpp_source.html#l02791">OGR_F_SetFrom()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02791">OGR_F_SetFrom()</a>.</p>

</div>
</div>
<a class="anchor" id="a7b9c524f5c01a6a4b4e50e351d03299f"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetGeometry" ref="a7b9c524f5c01a6a4b4e50e351d03299f" args="(OGRFeatureH, OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_F_SetGeometry </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set feature geometry.</p>
<p>This function updates the features geometry, and operate exactly as SetGeometryDirectly(), except that this function does not assume ownership of the passed geometry, but instead makes a copy of it.</p>
<p>This function is the same as the C++ <a class="el" href="classOGRFeature.html#af1181ade837a52129ea25b46dd50cf30">OGRFeature::SetGeometry()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature on which new geometry is applied to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the new geometry to apply to feature.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></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="ogrfeature_8cpp_source.html#l00388">OGR_F_SetGeometry()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00388">OGR_F_SetGeometry()</a>.</p>

</div>
</div>
<a class="anchor" id="ad391d3197728bb6d12a6b0c2e2661aa4"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetGeometryDirectly" ref="ad391d3197728bb6d12a6b0c2e2661aa4" args="(OGRFeatureH, OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_F_SetGeometryDirectly </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set feature geometry.</p>
<p>This function updates the features geometry, and operate exactly as SetGeometry(), except that this function assumes ownership of the passed geometry.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a40a4ddb33f09a5f340b9139be72e277d">OGRFeature::SetGeometryDirectly</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature on which to apply the geometry. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the new geometry to apply to feature.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></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="ogrfeature_8cpp_source.html#l00322">OGR_F_SetGeometryDirectly()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00322">OGR_F_SetGeometryDirectly()</a>.</p>

</div>
</div>
<a class="anchor" id="afbe436a7a48ad5bbfb3aa34f44791a68"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetStyleString" ref="afbe436a7a48ad5bbfb3aa34f44791a68" args="(OGRFeatureH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetStyleString </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszStyle</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set feature style string. This method operate exactly as <a class="el" href="ogr__api_8h.html#abc1ab2f6fb7937a8b927e4c1d3fd057c">OGR_F_SetStyleStringDirectly()</a> except that it does not assume ownership of the passed string, but instead makes a copy of it.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a5d2c15d00845820e6382d48227ed7ff7">OGRFeature::SetStyleString()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to set style to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszStyle</em>&nbsp;</td><td>the style string to apply to this feature, cannot be NULL. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02897">OGR_F_SetStyleString()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02897">OGR_F_SetStyleString()</a>.</p>

</div>
</div>
<a class="anchor" id="abc1ab2f6fb7937a8b927e4c1d3fd057c"></a><!-- doxytag: member="ogr_api.h::OGR_F_SetStyleStringDirectly" ref="abc1ab2f6fb7937a8b927e4c1d3fd057c" args="(OGRFeatureH, char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_SetStyleStringDirectly </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>pszStyle</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set feature style string. This method operate exactly as <a class="el" href="ogr__api_8h.html#afbe436a7a48ad5bbfb3aa34f44791a68">OGR_F_SetStyleString()</a> except that it assumes ownership of the passed string.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a7282982663cee5dd2fc18a093c3e386a">OGRFeature::SetStyleStringDirectly()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature to set style to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszStyle</em>&nbsp;</td><td>the style string to apply to this feature, cannot be NULL. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l02942">OGR_F_SetStyleStringDirectly()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l02942">OGR_F_SetStyleStringDirectly()</a>.</p>

</div>
</div>
<a class="anchor" id="aa70b7675a003141e63f9603c752ee22e"></a><!-- doxytag: member="ogr_api.h::OGR_F_UnsetField" ref="aa70b7675a003141e63f9603c752ee22e" args="(OGRFeatureH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_F_UnsetField </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clear a field, marking it as unset.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeature.html#a937b21e0137e40bc1473f354879975da">OGRFeature::UnsetField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>handle to the feature on which the field is. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to unset. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeature_8cpp_source.html#l00738">OGR_F_UnsetField()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeature_8cpp_source.html#l00738">OGR_F_UnsetField()</a>.</p>

</div>
</div>
<a class="anchor" id="a2a798e8d03299403418a7c87862f1acb"></a><!-- doxytag: member="ogr_api.h::OGR_FD_AddFieldDefn" ref="a2a798e8d03299403418a7c87862f1acb" args="(OGRFeatureDefnH, OGRFieldDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_FD_AddFieldDefn </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hNewField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a new field definition to the passed feature definition.</p>
<p>This function should only be called while there are no <a class="el" href="classOGRFeature.html">OGRFeature</a> objects in existance based on this <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>. The <a class="el" href="classOGRFieldDefn.html">OGRFieldDefn</a> passed in is copied, and remains the responsibility of the caller.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#a40e681d8464b42f1a1fac655f16ac3dd">OGRFeatureDefn::AddFieldDefn</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition to add the field definition to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hNewField</em>&nbsp;</td><td>handle to the new field definition. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00356">OGR_FD_AddFieldDefn()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00356">OGR_FD_AddFieldDefn()</a>.</p>

</div>
</div>
<a class="anchor" id="a5a8049bf2d58da5381c9350a6159ea6c"></a><!-- doxytag: member="ogr_api.h::OGR_FD_Create" ref="a5a8049bf2d58da5381c9350a6159ea6c" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFeatureDefnH OGR_FD_Create </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszName</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a new feature definition object to held the field definitions.</p>
<p>The <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> maintains a reference count, but this starts at zero, and should normally be incremented by the owner.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#ab98552e676127d847582778d70b7e27b">OGRFeatureDefn::OGRFeatureDefn()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pszName</em>&nbsp;</td><td>the name to be assigned to this layer/class. It does not need to be unique. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>handle to the newly created feature definition. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00080">OGR_FD_Create()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00080">OGR_FD_Create()</a>.</p>

</div>
</div>
<a class="anchor" id="a107635936c90c7f4347d7b3f9fb06e6d"></a><!-- doxytag: member="ogr_api.h::OGR_FD_Dereference" ref="a107635936c90c7f4347d7b3f9fb06e6d" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_FD_Dereference </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Decrements the reference count by one.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#a87a280dd42634206dfbcfc47b1ecfea4">OGRFeatureDefn::Dereference()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition on witch <a class="el" href="classOGRFeature.html">OGRFeature</a> are based on. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the updated reference count. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00518">OGR_FD_Dereference()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00518">OGR_FD_Dereference()</a>.</p>

</div>
</div>
<a class="anchor" id="a59d5cbb660cce8467a210caa4d68a011"></a><!-- doxytag: member="ogr_api.h::OGR_FD_Destroy" ref="a59d5cbb660cce8467a210caa4d68a011" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_FD_Destroy </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroy a feature definition object and release all memory associated with it.</p>
<p>This function is the same as the C++ method OGRFeatureDefn::~OGRFeatureDefn().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition to be destroyed. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00124">OGR_FD_Destroy()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00124">OGR_FD_Destroy()</a>.</p>

</div>
</div>
<a class="anchor" id="a586a14271a457387a2b5c0097a02c8da"></a><!-- doxytag: member="ogr_api.h::OGR_FD_GetFieldCount" ref="a586a14271a457387a2b5c0097a02c8da" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_FD_GetFieldCount </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch number of fields on the passed feature definition.</p>
<p>This function is the same as the C++ <a class="el" href="classOGRFeatureDefn.html#ab400f9106e7544ebafa30b1fe59869b1">OGRFeatureDefn::GetFieldCount()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition to get the fields count from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>count of fields. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00256">OGR_FD_GetFieldCount()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00256">OGR_FD_GetFieldCount()</a>.</p>

</div>
</div>
<a class="anchor" id="a484456df86a01284769d0afe3beaa4f6"></a><!-- doxytag: member="ogr_api.h::OGR_FD_GetFieldDefn" ref="a484456df86a01284769d0afe3beaa4f6" args="(OGRFeatureDefnH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFieldDefnH OGR_FD_GetFieldDefn </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch field definition of the passed feature definition.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#a43b95ce699bbca73acb453cc959378e7">OGRFeatureDefn::GetFieldDefn()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition to get the field definition from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iField</em>&nbsp;</td><td>the field to fetch, between 0 and GetFieldCount()-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to an internal field definition object. This object should not be modified or freed by the application. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00306">OGR_FD_GetFieldDefn()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00306">OGR_FD_GetFieldDefn()</a>.</p>

</div>
</div>
<a class="anchor" id="a1e54c3271dce0562209d78ae6eaae330"></a><!-- doxytag: member="ogr_api.h::OGR_FD_GetFieldIndex" ref="a1e54c3271dce0562209d78ae6eaae330" args="(OGRFeatureDefnH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_FD_GetFieldIndex </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszFieldName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Find field by name.</p>
<p>The field index of the first field matching the passed field name (case insensitively) is returned.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#a4f7111e4c818f194932795e9c9593258">OGRFeatureDefn::GetFieldIndex</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition to get field index from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszFieldName</em>&nbsp;</td><td>the field name to search for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the field index, or -1 if no match found. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00606">OGR_FD_GetFieldIndex()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00606">OGR_FD_GetFieldIndex()</a>.</p>

</div>
</div>
<a class="anchor" id="add0b3a6b6062122e4f4316d194d2a1cf"></a><!-- doxytag: member="ogr_api.h::OGR_FD_GetGeomType" ref="add0b3a6b6062122e4f4316d194d2a1cf" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> OGR_FD_GetGeomType </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the geometry base type of the passed feature definition.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#a81a7dc7ed24fe9f2634bf447d1799e84">OGRFeatureDefn::GetGeomType()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition to get the geometry type from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the base type for all geometry related to this definition. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00395">OGR_FD_GetGeomType()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00395">OGR_FD_GetGeomType()</a>.</p>

</div>
</div>
<a class="anchor" id="a20f309bf10e5b76cc083848b710babb8"></a><!-- doxytag: member="ogr_api.h::OGR_FD_GetName" ref="a20f309bf10e5b76cc083848b710babb8" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_FD_GetName </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get name of the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> passed as an argument.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#a1efe6db724bb1c5fde13e5f3896e4a01">OGRFeatureDefn::GetName()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition to get the name from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the name. This name is internal and should not be modified, or freed. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00224">OGR_FD_GetName()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00224">OGR_FD_GetName()</a>.</p>

</div>
</div>
<a class="anchor" id="a9e4e8867edeaf1a6f98e6ff284835811"></a><!-- doxytag: member="ogr_api.h::OGR_FD_GetReferenceCount" ref="a9e4e8867edeaf1a6f98e6ff284835811" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_FD_GetReferenceCount </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch current reference count.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#af28dd34d8e3ceee1cb1ba6798711b4e1">OGRFeatureDefn::GetReferenceCount()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>hanlde to the feature definition on witch <a class="el" href="classOGRFeature.html">OGRFeature</a> are based on. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the current reference count. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00553">OGR_FD_GetReferenceCount()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00553">OGR_FD_GetReferenceCount()</a>.</p>

</div>
</div>
<a class="anchor" id="a6763104e7fafcab1b52d9b0f275e19e8"></a><!-- doxytag: member="ogr_api.h::OGR_FD_Reference" ref="a6763104e7fafcab1b52d9b0f275e19e8" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_FD_Reference </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Increments the reference count by one.</p>
<p>The reference count is used keep track of the number of <a class="el" href="classOGRFeature.html">OGRFeature</a> objects referencing this definition.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#a2c58c6238242dff3d472faf5e3803922">OGRFeatureDefn::Reference()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition on witch <a class="el" href="classOGRFeature.html">OGRFeature</a> are based on. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the updated reference count. </dd></dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00484">OGR_FD_Reference()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00484">OGR_FD_Reference()</a>.</p>

</div>
</div>
<a class="anchor" id="a0755b0360414095e15eaf2c1496f8c47"></a><!-- doxytag: member="ogr_api.h::OGR_FD_Release" ref="a0755b0360414095e15eaf2c1496f8c47" args="(OGRFeatureDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_FD_Release </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Drop a reference, and destroy if unreferenced.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#a75e1424e3ce755d4393f5b42736d13ee">OGRFeatureDefn::Release()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the feature definition to be released. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00161">OGR_FD_Release()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00161">OGR_FD_Release()</a>.</p>

</div>
</div>
<a class="anchor" id="a11ca3a84b54ac36c5f68a03821f1fa78"></a><!-- doxytag: member="ogr_api.h::OGR_FD_SetGeomType" ref="a11ca3a84b54ac36c5f68a03821f1fa78" args="(OGRFeatureDefnH, OGRwkbGeometryType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_FD_SetGeomType </td>
          <td>(</td>
          <td class="paramtype">OGRFeatureDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>&nbsp;</td>
          <td class="paramname"> <em>eType</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assign the base geometry type for the passed layer (the same as the feature definition).</p>
<p>All geometry objects using this type must be of the defined type or a derived type. The default upon creation is wkbUnknown which allows for any geometry type. The geometry type should generally not be changed after any OGRFeatures have been created against this definition.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRFeatureDefn.html#aa0f50b39efbba6559a510d7afcfa5efb">OGRFeatureDefn::SetGeomType()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the layer or feature definition to set the geometry type to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eType</em>&nbsp;</td><td>the new type to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00444">OGR_FD_SetGeomType()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturedefn_8cpp_source.html#l00444">OGR_FD_SetGeomType()</a>.</p>

</div>
</div>
<a class="anchor" id="afb1ffd4d1f9f68aa76f660dc4f82e492"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_Create" ref="afb1ffd4d1f9f68aa76f660dc4f82e492" args="(const char *, OGRFieldType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFieldDefnH OGR_Fld_Create </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>&nbsp;</td>
          <td class="paramname"> <em>eType</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a new field definition.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#afc375f038b548b5a86b854c214fee114">OGRFieldDefn::OGRFieldDefn()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pszName</em>&nbsp;</td><td>the name of the new field definition. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eType</em>&nbsp;</td><td>the type of the new field definition. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>handle to the new field definition. </dd></dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00089">OGR_Fld_Create()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00089">OGR_Fld_Create()</a>.</p>

</div>
</div>
<a class="anchor" id="a455fa4a2c2451b1748facb6b7126a822"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_Destroy" ref="a455fa4a2c2451b1748facb6b7126a822" args="(OGRFieldDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_Fld_Destroy </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroy a field definition.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to destroy. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00131">OGR_Fld_Destroy()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00131">OGR_Fld_Destroy()</a>.</p>

</div>
</div>
<a class="anchor" id="a0cf8a09826e47763e6bf667af0dae1a7"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_GetJustify" ref="a0cf8a09826e47763e6bf667af0dae1a7" args="(OGRFieldDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ogr__core_8h.html#a701976be938cd60a2fa96454f61d3600">OGRJustification</a> OGR_Fld_GetJustify </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the justification for this field.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#a40f6520b0638571f8acf32b2c436231f">OGRFieldDefn::GetJustify()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to get justification from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the justification. </dd></dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00409">OGR_Fld_GetJustify()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00409">OGR_Fld_GetJustify()</a>.</p>

</div>
</div>
<a class="anchor" id="a8d7640a6b6a47a95d83415f9271ffe30"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_GetNameRef" ref="a8d7640a6b6a47a95d83415f9271ffe30" args="(OGRFieldDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_Fld_GetNameRef </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch name of this field.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#a7754d32a36e4ba854f71f511a5ca7740">OGRFieldDefn::GetNameRef()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the name of the field definition. </dd></dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00202">OGR_Fld_GetNameRef()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00202">OGR_Fld_GetNameRef()</a>.</p>

</div>
</div>
<a class="anchor" id="a120dd56ee23070922e4d84ed06b06e27"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_GetPrecision" ref="a120dd56ee23070922e4d84ed06b06e27" args="(OGRFieldDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_Fld_GetPrecision </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the formatting precision for this field. This should normally be zero for fields of types other than OFTReal.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#a704a3aa995e9ee44b369aff7f1e065a5">OGRFieldDefn::GetPrecision()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to get precision from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the precision. </dd></dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00539">OGR_Fld_GetPrecision()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00539">OGR_Fld_GetPrecision()</a>.</p>

</div>
</div>
<a class="anchor" id="ad8d150dfc678e0a2a7f5241ba38c5611"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_GetType" ref="ad8d150dfc678e0a2a7f5241ba38c5611" args="(OGRFieldDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a> OGR_Fld_GetType </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch type of this field.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#ac59789eed0b750d05f8ce8b6a8c68dfb">OGRFieldDefn::GetType()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to get type from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>field type. </dd></dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00234">OGR_Fld_GetType()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00234">OGR_Fld_GetType()</a>.</p>

</div>
</div>
<a class="anchor" id="aa6500186e3f22761a615428c55bba0ce"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_GetWidth" ref="aa6500186e3f22761a615428c55bba0ce" args="(OGRFieldDefnH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_Fld_GetWidth </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the formatting width for this field.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#a3aca8d59291beed0ccfe2e05a187bcb1">OGRFieldDefn::GetWidth()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to get width from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the width, zero means no specified width. </dd></dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00473">OGR_Fld_GetWidth()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00473">OGR_Fld_GetWidth()</a>.</p>

</div>
</div>
<a class="anchor" id="a5922e599fe8746b81adf251be6b5ecf0"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_Set" ref="a5922e599fe8746b81adf251be6b5ecf0" args="(OGRFieldDefnH, const char *, OGRFieldType, int, int, OGRJustification)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_Fld_Set </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszNameIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>&nbsp;</td>
          <td class="paramname"> <em>eTypeIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nWidthIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nPrecisionIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a701976be938cd60a2fa96454f61d3600">OGRJustification</a>&nbsp;</td>
          <td class="paramname"> <em>eJustifyIn</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set defining parameters for a field in one call.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#a9b08b348f111ecbfe2970b312d9ce54b">OGRFieldDefn::Set()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to set to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszNameIn</em>&nbsp;</td><td>the new name to assign. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eTypeIn</em>&nbsp;</td><td>the new type (one of the OFT values like OFTInteger). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nWidthIn</em>&nbsp;</td><td>the preferred formatting width. Defaults to zero indicating undefined. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nPrecisionIn</em>&nbsp;</td><td>number of decimals places for formatting, defaults to zero indicating undefined. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eJustifyIn</em>&nbsp;</td><td>the formatting justification (OJLeft or OJRight), defaults to OJUndefined. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00631">OGR_Fld_Set()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00631">OGR_Fld_Set()</a>.</p>

</div>
</div>
<a class="anchor" id="ae4809f2fe957002b8e18aacc1bdca240"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_SetJustify" ref="ae4809f2fe957002b8e18aacc1bdca240" args="(OGRFieldDefnH, OGRJustification)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_Fld_SetJustify </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a701976be938cd60a2fa96454f61d3600">OGRJustification</a>&nbsp;</td>
          <td class="paramname"> <em>eJustify</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the justification for this field.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#acbd783e3b61ab388eab3f45c25cf1bc0">OGRFieldDefn::SetJustify()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to set justification to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eJustify</em>&nbsp;</td><td>the new justification. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00441">OGR_Fld_SetJustify()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00441">OGR_Fld_SetJustify()</a>.</p>

</div>
</div>
<a class="anchor" id="a6599fa42bad3aba26574ae3260c6984d"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_SetName" ref="a6599fa42bad3aba26574ae3260c6984d" args="(OGRFieldDefnH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_Fld_SetName </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reset the name of this field.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#a241585cd66a38311aa0322f34e6d5214">OGRFieldDefn::SetName()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to apply the new name to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszName</em>&nbsp;</td><td>the new name to apply. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00168">OGR_Fld_SetName()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00168">OGR_Fld_SetName()</a>.</p>

</div>
</div>
<a class="anchor" id="a13890f01f7d7e57bcd07e23f3e2947da"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_SetPrecision" ref="a13890f01f7d7e57bcd07e23f3e2947da" args="(OGRFieldDefnH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_Fld_SetPrecision </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nPrecision</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the formatting precision for this field in characters.</p>
<p>This should normally be zero for fields of types other than OFTReal.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#abea88d3ed96c46b4f0eda415460f8664">OGRFieldDefn::SetPrecision()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to set precision to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nPrecision</em>&nbsp;</td><td>the new precision. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00575">OGR_Fld_SetPrecision()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00575">OGR_Fld_SetPrecision()</a>.</p>

</div>
</div>
<a class="anchor" id="a76195990f814eb93e821c01ce0599a50"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_SetType" ref="a76195990f814eb93e821c01ce0599a50" args="(OGRFieldDefnH, OGRFieldType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_Fld_SetType </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>&nbsp;</td>
          <td class="paramname"> <em>eType</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the type of this field. This should never be done to an <a class="el" href="classOGRFieldDefn.html">OGRFieldDefn</a> that is already part of an <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#a26bf22b7d805b9e33dd5c5fe9b4a8363">OGRFieldDefn::SetType()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to set type to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eType</em>&nbsp;</td><td>the new field type. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00268">OGR_Fld_SetType()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00268">OGR_Fld_SetType()</a>.</p>

</div>
</div>
<a class="anchor" id="a1d7bf7c14a299448efac58f7bf364326"></a><!-- doxytag: member="ogr_api.h::OGR_Fld_SetWidth" ref="a1d7bf7c14a299448efac58f7bf364326" args="(OGRFieldDefnH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_Fld_SetWidth </td>
          <td>(</td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hDefn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nNewWidth</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the formatting width for this field in characters.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#aa793194c45ccba5ec7e9f7aea49dc6f3">OGRFieldDefn::SetWidth()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDefn</em>&nbsp;</td><td>handle to the field definition to set width to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nNewWidth</em>&nbsp;</td><td>the new width. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00505">OGR_Fld_SetWidth()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00505">OGR_Fld_SetWidth()</a>.</p>

</div>
</div>
<a class="anchor" id="a4a15e130614cb4c66fc99bb93dc6b3b5"></a><!-- doxytag: member="ogr_api.h::OGR_G_AddGeometry" ref="a4a15e130614cb4c66fc99bb93dc6b3b5" args="(OGRGeometryH, OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_AddGeometry </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hNewSubGeom</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a geometry to a geometry container.</p>
<p>Some subclasses of <a class="el" href="classOGRGeometryCollection.html">OGRGeometryCollection</a> restrict the types of geometry that can be added, and may return an error. The passed geometry is cloned to make an internal copy.</p>
<p>There is no SFCOM analog to this method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometryCollection.html#a3da519655d14346e591d22a547562b0c">OGRGeometryCollection::addGeometry</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>existing geometry container. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hNewSubGeom</em>&nbsp;</td><td>geometry to add to the container.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if successful, or OGRERR_UNSUPPORTED_GEOMETRY_TYPE if the geometry type is illegal for the type of existing geometry. </dd></dl>

<p>References <a class="el" href="ogrlinestring_8cpp_source.html#l00069">OGRLineString::getGeometryType()</a>, <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00154">wkbMultiLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00153">wkbMultiPoint</a>, <a class="el" href="ogr__core_8h_source.html#l00155">wkbMultiPolygon</a>, <a class="el" href="ogr__core_8h_source.html#l00150">wkbPolygon</a>, and <a class="el" href="ogrlinearring_8cpp_source.html#l00093">OGRLinearRing::WkbSize()</a>.</p>

</div>
</div>
<a class="anchor" id="aff56cae8305396a9c5b690d8356e39c9"></a><!-- doxytag: member="ogr_api.h::OGR_G_AddGeometryDirectly" ref="aff56cae8305396a9c5b690d8356e39c9" args="(OGRGeometryH, OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_AddGeometryDirectly </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hNewSubGeom</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a geometry directly to an existing geometry container.</p>
<p>Some subclasses of <a class="el" href="classOGRGeometryCollection.html">OGRGeometryCollection</a> restrict the types of geometry that can be added, and may return an error. Ownership of the passed geometry is taken by the container rather than cloning as addGeometry() does.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometryCollection.html#a8422907a01d088ec5ef916382bea8eb3">OGRGeometryCollection::addGeometryDirectly</a>.</p>
<p>There is no SFCOM analog to this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>existing geometry. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hNewSubGeom</em>&nbsp;</td><td>geometry to add to the existing geometry.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if successful, or OGRERR_UNSUPPORTED_GEOMETRY_TYPE if the geometry type is illegal for the type of geometry container. </dd></dl>

<p>References <a class="el" href="ogrlinestring_8cpp_source.html#l00069">OGRLineString::getGeometryType()</a>, <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00154">wkbMultiLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00153">wkbMultiPoint</a>, <a class="el" href="ogr__core_8h_source.html#l00155">wkbMultiPolygon</a>, <a class="el" href="ogr__core_8h_source.html#l00150">wkbPolygon</a>, and <a class="el" href="ogrlinearring_8cpp_source.html#l00093">OGRLinearRing::WkbSize()</a>.</p>

</div>
</div>
<a class="anchor" id="aa2702d812663bc767e3a8f8832fda089"></a><!-- doxytag: member="ogr_api.h::OGR_G_AddPoint" ref="aa2702d812663bc767e3a8f8832fda089" args="(OGRGeometryH, double, double, double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_AddPoint </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfZ</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a point to a geometry (line string or point).</p>
<p>The vertex count of the line string is increased by one, and assigned from the passed location value.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry to add a point to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfX</em>&nbsp;</td><td>x coordinate of point to add. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfY</em>&nbsp;</td><td>y coordinate of point to add. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfZ</em>&nbsp;</td><td>z coordinate of point to add. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="a280275c1492d6426cfe0a918d4725374"></a><!-- doxytag: member="ogr_api.h::OGR_G_AddPoint_2D" ref="a280275c1492d6426cfe0a918d4725374" args="(OGRGeometryH, double, double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_AddPoint_2D </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfY</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a point to a geometry (line string or point).</p>
<p>The vertex count of the line string is increased by one, and assigned from the passed location value.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry to add a point to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfX</em>&nbsp;</td><td>x coordinate of point to add. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfY</em>&nbsp;</td><td>y coordinate of point to add. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="a4dfbd5861e1cd20b372d090539fa4536"></a><!-- doxytag: member="ogr_api.h::OGR_G_AssignSpatialReference" ref="a4dfbd5861e1cd20b372d090539fa4536" args="(OGRGeometryH, OGRSpatialReferenceH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_AssignSpatialReference </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRSpatialReferenceH&nbsp;</td>
          <td class="paramname"> <em>hSRS</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assign spatial reference to this object. Any existing spatial reference is replaced, but under no circumstances does this result in the object being reprojected. It is just changing the interpretation of the existing geometry. Note that assigning a spatial reference increments the reference count on the <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>, but does not copy it.</p>
<p>This is similar to the SFCOM IGeometry::put_SpatialReference() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a4308e3549c65aa12cc2ba41be15d99a0">OGRGeometry::assignSpatialReference</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to apply the new spatial reference system. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hSRS</em>&nbsp;</td><td>handle on the new spatial reference system to apply. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00259">OGR_G_AssignSpatialReference()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00259">OGR_G_AssignSpatialReference()</a>.</p>

</div>
</div>
<a class="anchor" id="a1725918932da7d59f9ee72829ac171fa"></a><!-- doxytag: member="ogr_api.h::OGR_G_Clone" ref="a1725918932da7d59f9ee72829ac171fa" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRGeometryH OGR_G_Clone </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Make a copy of this object.</p>
<p>This function relates to the SFCOM IGeometry::clone() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#af4cf9f6eee1997268a481b39401c3161">OGRGeometry::clone()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to clone from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle on the copy of the geometry with the spatial reference system as the original. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01108">OGR_G_Clone()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01108">OGR_G_Clone()</a>.</p>

</div>
</div>
<a class="anchor" id="a3172c8e5b8a094b8ce97fa5d44bcd204"></a><!-- doxytag: member="ogr_api.h::OGR_G_CreateFromWkb" ref="a3172c8e5b8a094b8ce97fa5d44bcd204" args="(unsigned char *, OGRSpatialReferenceH, OGRGeometryH *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_CreateFromWkb </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pabyData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRSpatialReferenceH&nbsp;</td>
          <td class="paramname"> <em>hSRS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH *&nbsp;</td>
          <td class="paramname"> <em>phGeometry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nBytes</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a geometry object of the appropriate type from it's well known binary representation.</p>
<p>Note that if nBytes is passed as zero, no checking can be done on whether the pabyData is sufficient. This can result in a crash if the input data is corrupt. This function returns no indication of the number of bytes from the data source actually used to represent the returned geometry object. Use <a class="el" href="ogr__api_8h.html#a5f7035a933b957a9d453184c154c237c">OGR_G_WkbSize()</a> on the returned geometry to establish the number of bytes it required in WKB format.</p>
<p>The <a class="el" href="classOGRGeometryFactory.html#a699688dba97260f2eb29f802e39cb0ec">OGRGeometryFactory::createFromWkb()</a> CPP method is the same as this function.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pabyData</em>&nbsp;</td><td>pointer to the input BLOB data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hSRS</em>&nbsp;</td><td>handle to the spatial reference to be assigned to the created geometry object. This may be NULL. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>phGeometry</em>&nbsp;</td><td>the newly created geometry object will be assigned to the indicated handle on return. This will be NULL in case of failure. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nBytes</em>&nbsp;</td><td>the number of bytes of data available in pabyData, or -1 if it is not known, but assumed to be sufficient.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if all goes well, otherwise any of OGRERR_NOT_ENOUGH_DATA, OGRERR_UNSUPPORTED_GEOMETRY_TYPE, or OGRERR_CORRUPT_DATA may be returned. </dd></dl>

<p>References <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00073">OGRGeometryFactory::createFromWkb()</a>, and <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00183">OGR_G_CreateFromWkb()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00183">OGR_G_CreateFromWkb()</a>.</p>

</div>
</div>
<a class="anchor" id="ac02c3ed5f7ebd5039dc2ae70154fd94a"></a><!-- doxytag: member="ogr_api.h::OGR_G_CreateFromWkt" ref="ac02c3ed5f7ebd5039dc2ae70154fd94a" args="(char **, OGRSpatialReferenceH, OGRGeometryH *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_CreateFromWkt </td>
          <td>(</td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>ppszData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRSpatialReferenceH&nbsp;</td>
          <td class="paramname"> <em>hSRS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH *&nbsp;</td>
          <td class="paramname"> <em>phGeometry</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a geometry object of the appropriate type from it's well known text representation.</p>
<p>The <a class="el" href="classOGRGeometryFactory.html#a9418f71bcfb1e334173882c38d89d070">OGRGeometryFactory::createFromWkt</a> CPP method is the same as this function.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ppszData</em>&nbsp;</td><td>input zero terminated string containing well known text representation of the geometry to be created. The pointer is updated to point just beyond that last character consumed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hSRS</em>&nbsp;</td><td>handle to the spatial reference to be assigned to the created geometry object. This may be NULL. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>phGeometry</em>&nbsp;</td><td>the newly created geometry object will be assigned to the indicated handle on return. This will be NULL if the method fails.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if all goes well, otherwise any of OGRERR_NOT_ENOUGH_DATA, OGRERR_UNSUPPORTED_GEOMETRY_TYPE, or OGRERR_CORRUPT_DATA may be returned. </dd></dl>

<p>References <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00233">OGRGeometryFactory::createFromWkt()</a>, and <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00340">OGR_G_CreateFromWkt()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00340">OGR_G_CreateFromWkt()</a>.</p>

</div>
</div>
<a class="anchor" id="a4e47710cf70e5bc72216704ddfead0dd"></a><!-- doxytag: member="ogr_api.h::OGR_G_CreateGeometry" ref="a4e47710cf70e5bc72216704ddfead0dd" args="(OGRwkbGeometryType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRGeometryH OGR_G_CreateGeometry </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>&nbsp;</td>
          <td class="paramname"> <em>eGeometryType</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create an empty geometry of desired type.</p>
<p>This is equivelent to allocating the desired geometry with new, but the allocation is guaranteed to take place in the context of the GDAL/OGR heap.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometryFactory.html#ae4887e270d5099357f9a19b1eda6027a">OGRGeometryFactory::createGeometry</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>eGeometryType</em>&nbsp;</td><td>the type code of the geometry to be created.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>handle to the newly create geometry or NULL on failure. </dd></dl>

<p>References <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00369">OGRGeometryFactory::createGeometry()</a>, and <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00423">OGR_G_CreateGeometry()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00423">OGR_G_CreateGeometry()</a>.</p>

</div>
</div>
<a class="anchor" id="ac4e665f5f9690c4fa0c190b930fe9492"></a><!-- doxytag: member="ogr_api.h::OGR_G_DestroyGeometry" ref="ac4e665f5f9690c4fa0c190b930fe9492" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_DestroyGeometry </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroy geometry object.</p>
<p>Equivalent to invoking delete on a geometry, but it guaranteed to take place within the context of the GDAL/OGR heap.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometryFactory.html#aae001086e26985d95c36ccd255a8c6d5">OGRGeometryFactory::destroyGeometry</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry to delete. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00445">OGRGeometryFactory::destroyGeometry()</a>, and <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00467">OGR_G_DestroyGeometry()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00467">OGR_G_DestroyGeometry()</a>.</p>

</div>
</div>
<a class="anchor" id="a3a99330bd108940f8a33036c0f83119f"></a><!-- doxytag: member="ogr_api.h::OGR_G_DumpReadable" ref="a3a99330bd108940f8a33036c0f83119f" args="(OGRGeometryH, FILE *, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_DumpReadable </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszPrefix</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Dump geometry in well known text format to indicated output file.</p>
<p>This method is the same as the CPP method <a class="el" href="classOGRGeometry.html#a2e70f05d61566a5ddaa29b44f637cfff">OGRGeometry::dumpReadable</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to dump. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fp</em>&nbsp;</td><td>the text file to write the geometry to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszPrefix</em>&nbsp;</td><td>the prefix to put on each line of output. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00202">OGR_G_DumpReadable()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00202">OGR_G_DumpReadable()</a>.</p>

</div>
</div>
<a class="anchor" id="a90cc83b0a3052b8fbe2ed77a86323bf2"></a><!-- doxytag: member="ogr_api.h::OGR_G_Empty" ref="a90cc83b0a3052b8fbe2ed77a86323bf2" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_Empty </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clear geometry information. This restores the geometry to it's initial state after construction, and before assignment of actual geometry.</p>
<p>This function relates to the SFCOM IGeometry::Empty() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a1702b5b8142abe761061a6cd44e50b05">OGRGeometry::empty()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to empty. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01174">OGR_G_Empty()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01174">OGR_G_Empty()</a>.</p>

</div>
</div>
<a class="anchor" id="abaed0c4fb6f08abc280f91619e2e47d3"></a><!-- doxytag: member="ogr_api.h::OGR_G_Equals" ref="abaed0c4fb6f08abc280f91619e2e47d3" args="(OGRGeometryH, OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_Equals </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hOther</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns two if two geometries are equivalent.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#ae751513a46c7e7b154796bfe494faf16">OGRGeometry::Equals()</a> method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the first geometry. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hOther</em>&nbsp;</td><td>handle on the other geometry to test against. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if equivalent or FALSE otherwise. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00721">OGR_G_Equals()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00721">OGR_G_Equals()</a>.</p>

</div>
</div>
<a class="anchor" id="ad5c94ae76c09774dba8725c24daeefd6"></a><!-- doxytag: member="ogr_api.h::OGR_G_ExportToWkb" ref="ad5c94ae76c09774dba8725c24daeefd6" args="(OGRGeometryH, OGRwkbByteOrder, unsigned char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_ExportToWkb </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRwkbByteOrder&nbsp;</td>
          <td class="paramname"> <em>eOrder</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pabyDstBuffer</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert a geometry into well known binary format.</p>
<p>This function relates to the SFCOM IWks::ExportToWKB() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a6fe8947602669a35136e107cd45b084d">OGRGeometry::exportToWkb()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to convert to a well know binary data from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eOrder</em>&nbsp;</td><td>One of wkbXDR or wkbNDR indicating MSB or LSB byte order respectively. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pabyDstBuffer</em>&nbsp;</td><td>a buffer into which the binary representation is written. This buffer must be at least <a class="el" href="ogr__api_8h.html#a5f7035a933b957a9d453184c154c237c">OGR_G_WkbSize()</a> byte in size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Currently OGRERR_NONE is always returned. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00915">OGR_G_ExportToWkb()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00915">OGR_G_ExportToWkb()</a>.</p>

</div>
</div>
<a class="anchor" id="a3bc9310302e2dbfaab1690de9e2fd2fb"></a><!-- doxytag: member="ogr_api.h::OGR_G_ExportToWkt" ref="a3bc9310302e2dbfaab1690de9e2fd2fb" args="(OGRGeometryH, char **)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_ExportToWkt </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>ppszSrcText</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert a geometry into well known text format.</p>
<p>This function relates to the SFCOM IWks::ExportToWKT() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a0c941d5efdff84666af5a6f6b540aafb">OGRGeometry::exportToWkt()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to convert to a text format from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ppszSrcText</em>&nbsp;</td><td>a text buffer is allocated by the program, and assigned to the passed pointer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Currently OGRERR_NONE is always returned. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01004">OGR_G_ExportToWkt()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01004">OGR_G_ExportToWkt()</a>.</p>

</div>
</div>
<a class="anchor" id="afdb7354b55c7448b60b44cd9e36073b8"></a><!-- doxytag: member="ogr_api.h::OGR_G_FlattenTo2D" ref="afdb7354b55c7448b60b44cd9e36073b8" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_FlattenTo2D </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert geometry to strictly 2D. In a sense this converts all Z coordinates to 0.0.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#aaae1a2ced937a5900b2bfeb717bad6c9">OGRGeometry::flattenTo2D()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to convert. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01543">OGR_G_FlattenTo2D()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01543">OGR_G_FlattenTo2D()</a>.</p>

</div>
</div>
<a class="anchor" id="a30bd8daa800c6da12c9fb4682f1ca305"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetArea" ref="a30bd8daa800c6da12c9fb4682f1ca305" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double OGR_G_GetArea </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Compute geometry area.</p>
<p>Computes the area for an <a class="el" href="classOGRLinearRing.html">OGRLinearRing</a>, <a class="el" href="classOGRPolygon.html">OGRPolygon</a> or <a class="el" href="classOGRMultiPolygon.html">OGRMultiPolygon</a>. Undefined for all other geometry types (returns zero).</p>
<p>This function utilizes the C++ get_Area() methods such as <a class="el" href="classOGRPolygon.html#ad8ba9b796aafc593f5bd7bcf1086bc3d">OGRPolygon::get_Area()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>the geometry to operate on. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the area or 0.0 for unsupported geometry types. </dd></dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, <a class="el" href="ogr__core_8h_source.html#l00159">wkbLinearRing</a>, <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00155">wkbMultiPolygon</a>, and <a class="el" href="ogr__core_8h_source.html#l00150">wkbPolygon</a>.</p>

</div>
</div>
<a class="anchor" id="a8a5e78b0753339d1cdd282b0e151d28f"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetCoordinateDimension" ref="a8a5e78b0753339d1cdd282b0e151d28f" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_GetCoordinateDimension </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the dimension of the coordinates in this geometry.</p>
<p>This function corresponds to the SFCOM IGeometry::GetDimension() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a2a93f43a3b66462195b46f7fd2196dfc">OGRGeometry::getCoordinateDimension()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to get the dimension of the coordinates from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>in practice this always returns 2 indicating that coordinates are specified within a two dimensional space. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00652">OGR_G_GetCoordinateDimension()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00652">OGR_G_GetCoordinateDimension()</a>.</p>

</div>
</div>
<a class="anchor" id="a94b633e1acd208c258ad49f8d4fd4104"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetDimension" ref="a94b633e1acd208c258ad49f8d4fd4104" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_GetDimension </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the dimension of this geometry.</p>
<p>This function corresponds to the SFCOM IGeometry::GetDimension() method. It indicates the dimension of the geometry, but does not indicate the dimension of the underlying space (as indicated by <a class="el" href="ogr__api_8h.html#a8a5e78b0753339d1cdd282b0e151d28f">OGR_G_GetCoordinateDimension()</a> function).</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#aadca09471fa9917452e087ba12d73eeb">OGRGeometry::getDimension()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to get the dimension from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 for points, 1 for lines and 2 for surfaces. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00608">OGR_G_GetDimension()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00608">OGR_G_GetDimension()</a>.</p>

</div>
</div>
<a class="anchor" id="a617a9c9ea85157661619a1d8f0a69cf9"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetEnvelope" ref="a617a9c9ea85157661619a1d8f0a69cf9" args="(OGRGeometryH, OGREnvelope *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_GetEnvelope </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOGREnvelope.html">OGREnvelope</a> *&nbsp;</td>
          <td class="paramname"> <em>psEnvelope</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes and returns the bounding envelope for this geometry in the passed psEnvelope structure.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#aa3d42b06ae6f7bbef6d1a2886da8d398">OGRGeometry::getEnvelope()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle of the geometry to get envelope from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>psEnvelope</em>&nbsp;</td><td>the structure in which to place the results. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00818">OGR_G_GetEnvelope()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00818">OGR_G_GetEnvelope()</a>.</p>

</div>
</div>
<a class="anchor" id="a1fa07ddf969f97f6444de6ae5128d842"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetGeometryCount" ref="a1fa07ddf969f97f6444de6ae5128d842" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_GetGeometryCount </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the number of elements in a geometry or number of geometries in container.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>single geometry or geometry container from which to get the number of elements. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of elements. </dd></dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, <a class="el" href="ogr__core_8h_source.html#l00154">wkbMultiLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00153">wkbMultiPoint</a>, <a class="el" href="ogr__core_8h_source.html#l00155">wkbMultiPolygon</a>, and <a class="el" href="ogr__core_8h_source.html#l00150">wkbPolygon</a>.</p>

</div>
</div>
<a class="anchor" id="a18121f835b2fb724a0c1a87beb1a437a"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetGeometryName" ref="a18121f835b2fb724a0c1a87beb1a437a" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_G_GetGeometryName </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch WKT name for geometry type.</p>
<p>There is no SFCOM analog to this function.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#aba109e1c53ce1452942f85eae66d88b8">OGRGeometry::getGeometryName()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to get name from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>name used for this geometry type in well known text format. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01074">OGR_G_GetGeometryName()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01074">OGR_G_GetGeometryName()</a>.</p>

</div>
</div>
<a class="anchor" id="a6bac93150529a5c98811db29e289dd66"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetGeometryRef" ref="a6bac93150529a5c98811db29e289dd66" args="(OGRGeometryH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRGeometryH OGR_G_GetGeometryRef </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iSubGeom</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch geometry from a geometry container.</p>
<p>This function returns an handle to a geometry within the container. The returned geometry remains owned by the container, and should not be modified. The handle is only valid untill the next change to the geometry container. Use <a class="el" href="ogr__api_8h.html#a1725918932da7d59f9ee72829ac171fa">OGR_G_Clone()</a> to make a copy.</p>
<p>This function relates to the SFCOM IGeometryCollection::get_Geometry() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometryCollection.html#ad609f2c7886918a766dd3d3a4fa52ec3">OGRGeometryCollection::getGeometryRef()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry container from which to get a geometry from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iSubGeom</em>&nbsp;</td><td>the index of the geometry to fetch, between 0 and getNumGeometries() - 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>handle to the requested geometry. </dd></dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, <a class="el" href="ogr__core_8h_source.html#l00154">wkbMultiLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00153">wkbMultiPoint</a>, <a class="el" href="ogr__core_8h_source.html#l00155">wkbMultiPolygon</a>, and <a class="el" href="ogr__core_8h_source.html#l00150">wkbPolygon</a>.</p>

</div>
</div>
<a class="anchor" id="a8fae58102f5c4a4cf2526e5ca8369a76"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetGeometryType" ref="a8fae58102f5c4a4cf2526e5ca8369a76" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> OGR_G_GetGeometryType </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch geometry type.</p>
<p>Note that the geometry type may include the 2.5D flag. To get a 2D flattened version of the geometry type apply the wkbFlatten() macro to the return result.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a5c6bca18682cb933e3227552d480e1a5">OGRGeometry::getGeometryType()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to get type from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the geometry type code. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01040">OGR_G_GetGeometryType()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01040">OGR_G_GetGeometryType()</a>.</p>

</div>
</div>
<a class="anchor" id="a67b897ffcd88a83832964c3735fa1dcb"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetPoint" ref="a67b897ffcd88a83832964c3735fa1dcb" args="(OGRGeometryH, int iPoint, double *, double *, double *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_GetPoint </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>pdfX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>pdfY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>pdfZ</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch a point in line string or a point geometry.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry from which to get the coordinates. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>the vertex to fetch, from 0 to getNumPoints()-1, zero for a point. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pdfX</em>&nbsp;</td><td>value of x coordinate. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pdfY</em>&nbsp;</td><td>value of y coordinate. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pdfZ</em>&nbsp;</td><td>value of z coordinate. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="aec43cbe83609bc7b43739d67858846c1"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetPointCount" ref="aec43cbe83609bc7b43739d67858846c1" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_GetPointCount </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch number of points from a geometry.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry from which to get the number of points. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of points. </dd></dl>

<p>References <a class="el" href="ogr__geometry_8h_source.html#l00273">OGRLineString::getNumPoints()</a>, <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="abc393e40282eec3801fb4a4abc9e25bf"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetSpatialReference" ref="abc393e40282eec3801fb4a4abc9e25bf" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRSpatialReferenceH OGR_G_GetSpatialReference </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns spatial reference system for geometry.</p>
<p>This function relates to the SFCOM IGeometry::get_SpatialReference() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a194f0bbdae896539852106cafbffbe87">OGRGeometry::getSpatialReference()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to get spatial reference from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a reference to the spatial reference geometry. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01142">OGR_G_GetSpatialReference()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01142">OGR_G_GetSpatialReference()</a>.</p>

</div>
</div>
<a class="anchor" id="a354146161d0a087b63ab6e350bae4d86"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetX" ref="a354146161d0a087b63ab6e350bae4d86" args="(OGRGeometryH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double OGR_G_GetX </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the x coordinate of a point from a geometry.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry from which to get the x coordinate. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>point to get the x coordinate. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the X coordinate of this point. </dd></dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="a8405350c9aea2ab7d0f759f0b09b926f"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetY" ref="a8405350c9aea2ab7d0f759f0b09b926f" args="(OGRGeometryH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double OGR_G_GetY </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the x coordinate of a point from a geometry.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry from which to get the y coordinate. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>point to get the Y coordinate. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the Y coordinate of this point. </dd></dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="a1d8c6aeb013325f33b8e642003fc17ad"></a><!-- doxytag: member="ogr_api.h::OGR_G_GetZ" ref="a1d8c6aeb013325f33b8e642003fc17ad" args="(OGRGeometryH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double OGR_G_GetZ </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the z coordinate of a point from a geometry.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry from which to get the Z coordinate. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>point to get the Z coordinate. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the Z coordinate of this point. </dd></dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="afa5a9173aa3b10a4db09ed696a92ba4a"></a><!-- doxytag: member="ogr_api.h::OGR_G_ImportFromWkb" ref="afa5a9173aa3b10a4db09ed696a92ba4a" args="(OGRGeometryH, unsigned char *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_ImportFromWkb </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pabyData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nSize</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assign geometry from well known binary data.</p>
<p>The object must have already been instantiated as the correct derived type of geometry object to match the binaries type.</p>
<p>This function relates to the SFCOM IWks::ImportFromWKB() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#ab2c6583c2b7c3e526dcfe54a61470c1f">OGRGeometry::importFromWkb()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to assign the well know binary data to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pabyData</em>&nbsp;</td><td>the binary input data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nSize</em>&nbsp;</td><td>the size of pabyData in bytes, or zero if not known.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if all goes well, otherwise any of OGRERR_NOT_ENOUGH_DATA, OGRERR_UNSUPPORTED_GEOMETRY_TYPE, or OGRERR_CORRUPT_DATA may be returned. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00868">OGR_G_ImportFromWkb()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00868">OGR_G_ImportFromWkb()</a>.</p>

</div>
</div>
<a class="anchor" id="a4286ba243fb05a831a49f52aabcbc6f8"></a><!-- doxytag: member="ogr_api.h::OGR_G_ImportFromWkt" ref="a4286ba243fb05a831a49f52aabcbc6f8" args="(OGRGeometryH, char **)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_ImportFromWkt </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>ppszSrcText</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assign geometry from well known text data.</p>
<p>The object must have already been instantiated as the correct derived type of geometry object to match the text type.</p>
<p>This function relates to the SFCOM IWks::ImportFromWKT() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a30561a301d44b1f90393ea4a78a5b0a5">OGRGeometry::importFromWkt()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to assign well know text data to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ppszSrcText</em>&nbsp;</td><td>pointer to a pointer to the source text. The pointer is updated to pointer after the consumed text.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if all goes well, otherwise any of OGRERR_NOT_ENOUGH_DATA, OGRERR_UNSUPPORTED_GEOMETRY_TYPE, or OGRERR_CORRUPT_DATA may be returned. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00966">OGR_G_ImportFromWkt()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00966">OGR_G_ImportFromWkt()</a>.</p>

</div>
</div>
<a class="anchor" id="acaed6926b75cd33a42b284c10def6e87"></a><!-- doxytag: member="ogr_api.h::OGR_G_Intersects" ref="acaed6926b75cd33a42b284c10def6e87" args="(OGRGeometryH, OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_Intersects </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hOtherGeom</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Do these features intersect?</p>
<p>Currently this is not implemented in a rigerous fashion, and generally just tests whether the envelopes of the two features intersect. Eventually this will be made rigerous.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a0829528c9ca29059f86399da954fc8ae">OGRGeometry::Intersects</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the first geometry. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hOtherGeom</em>&nbsp;</td><td>handle on the other geometry to test against.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if the geometries intersect, otherwise FALSE. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00367">OGR_G_Intersects()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00367">OGR_G_Intersects()</a>.</p>

</div>
</div>
<a class="anchor" id="a737b0c4d73928e7406d69c658209dbbf"></a><!-- doxytag: member="ogr_api.h::OGR_G_IsEmpty" ref="a737b0c4d73928e7406d69c658209dbbf" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_IsEmpty </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Test if the geometry is empty</p>
<p>This method is the same as the CPP method <a class="el" href="classOGRGeometry.html#ac8653ba97e53f3e3b041946ca2acc111">OGRGeometry::IsEmpty()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if the geometry has no points, otherwise FALSE. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01204">OGR_G_IsEmpty()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01204">OGR_G_IsEmpty()</a>.</p>

</div>
</div>
<a class="anchor" id="a3cb66472d7e302d16aacf0d66c01ac73"></a><!-- doxytag: member="ogr_api.h::OGR_G_IsSimple" ref="a3cb66472d7e302d16aacf0d66c01ac73" args="(OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_IsSimple </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns TRUE if the geometry is simple.</p>
<p>Returns TRUE if the geometry has no anomalous geometric points, such as self intersection or self tangency. The description of each instantiable geometric class will include the specific conditions that cause an instance of that class to be classified as not simple.</p>
<p>This method relates to the SFCOM IGeometry::IsSimple() method.</p>
<p>NOTE: This method is hardcoded to return TRUE at this time.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if object is simple, otherwise FALSE. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l01320">OGR_G_IsSimple()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l01320">OGR_G_IsSimple()</a>.</p>

</div>
</div>
<a class="anchor" id="a54ea024bb659e48d3297404e53800237"></a><!-- doxytag: member="ogr_api.h::OGR_G_RemoveGeometry" ref="a54ea024bb659e48d3297404e53800237" args="(OGRGeometryH, int, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_RemoveGeometry </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bDelete</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Remove a geometry from an exiting geometry container.</p>
<p>Removing a geometry will cause the geometry count to drop by one, and all "higher" geometries will shuffle down one in index.</p>
<p>There is no SFCOM analog to this method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometryCollection.html#ae37405203118eeb0430ef38668a385b7">OGRGeometryCollection::removeGeometry()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>the existing geometry to delete from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>iGeom</em>&nbsp;</td><td>the index of the geometry to delete. A value of -1 is a special flag meaning that all geometries should be removed.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bDelete</em>&nbsp;</td><td>if TRUE the geometry will be destroyed, otherwise it will not. The default is TRUE as the existing geometry is considered to own the geometries in it.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if successful, or OGRERR_FAILURE if the index is out of range. </dd></dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, <a class="el" href="ogr__core_8h_source.html#l00154">wkbMultiLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00153">wkbMultiPoint</a>, <a class="el" href="ogr__core_8h_source.html#l00155">wkbMultiPolygon</a>, and <a class="el" href="ogr__core_8h_source.html#l00150">wkbPolygon</a>.</p>

</div>
</div>
<a class="anchor" id="ade9f08c8d63bc0e726cb20c201c86423"></a><!-- doxytag: member="ogr_api.h::OGR_G_Segmentize" ref="ade9f08c8d63bc0e726cb20c201c86423" args="(OGRGeometryH hGeom, double dfMaxLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_Segmentize </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfMaxLength</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Modify the geometry such it has no segment longer then the given distance. Interpolated points will have Z and M values (if needed) set to 0. Distance computation is performed in 2d only</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#a91685bd7c0bdd67cd073a8b4da3c06a5">OGRGeometry::segmentize()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to segmentize </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfMaxLength</em>&nbsp;</td><td>the maximum distance between 2 points after segmentization </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00579">OGR_G_Segmentize()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00579">OGR_G_Segmentize()</a>.</p>

</div>
</div>
<a class="anchor" id="a303fb1a2a94363c15f9e61dc46b710e8"></a><!-- doxytag: member="ogr_api.h::OGR_G_SetPoint" ref="a303fb1a2a94363c15f9e61dc46b710e8" args="(OGRGeometryH, int iPoint, double, double, double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_SetPoint </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfZ</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the location of a vertex in a point or linestring geometry.</p>
<p>If iPoint is larger than the number of existing points in the linestring, the point count will be increased to accomodate the request.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry to add a vertex to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>the index of the vertex to assign (zero based) or zero for a point. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfX</em>&nbsp;</td><td>input X coordinate to assign. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfY</em>&nbsp;</td><td>input Y coordinate to assign. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfZ</em>&nbsp;</td><td>input Z coordinate to assign (defaults to zero). </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="ab14b9730d6f9fc829fe6be9bc2a5ec48"></a><!-- doxytag: member="ogr_api.h::OGR_G_SetPoint_2D" ref="ab14b9730d6f9fc829fe6be9bc2a5ec48" args="(OGRGeometryH, int iPoint, double, double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_G_SetPoint_2D </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfY</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the location of a vertex in a point or linestring geometry.</p>
<p>If iPoint is larger than the number of existing points in the linestring, the point count will be increased to accomodate the request.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry to add a vertex to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>the index of the vertex to assign (zero based) or zero for a point. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfX</em>&nbsp;</td><td>input X coordinate to assign. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfY</em>&nbsp;</td><td>input Y coordinate to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, and <a class="el" href="ogr__core_8h_source.html#l00147">wkbPoint</a>.</p>

</div>
</div>
<a class="anchor" id="a59a5b3f954b11cfbf6e78807c28d6090"></a><!-- doxytag: member="ogr_api.h::OGR_G_Transform" ref="a59a5b3f954b11cfbf6e78807c28d6090" args="(OGRGeometryH, OGRCoordinateTransformationH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_Transform </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRCoordinateTransformationH&nbsp;</td>
          <td class="paramname"> <em>hTransform</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Apply arbitrary coordinate transformation to geometry.</p>
<p>This function will transform the coordinates of a geometry from their current spatial reference system to a new target spatial reference system. Normally this means reprojecting the vectors, but it could include datum shifts, and changes of units.</p>
<p>Note that this function does not require that the geometry already have a spatial reference system. It will be assumed that they can be treated as having the source spatial reference system of the <a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> object, and the actual SRS of the geometry will be ignored. On successful completion the output <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> of the <a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> will be assigned to the geometry.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#aa9e8bfb3c2129f25cf622660f734e1ba">OGRGeometry::transform</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to apply the transform to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hTransform</em>&nbsp;</td><td>handle on the transformation to apply.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success or an error code. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00519">OGR_G_Transform()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00519">OGR_G_Transform()</a>.</p>

</div>
</div>
<a class="anchor" id="a43af4c2127cea0a5059692a62c0feb63"></a><!-- doxytag: member="ogr_api.h::OGR_G_TransformTo" ref="a43af4c2127cea0a5059692a62c0feb63" args="(OGRGeometryH, OGRSpatialReferenceH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_G_TransformTo </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRSpatialReferenceH&nbsp;</td>
          <td class="paramname"> <em>hSRS</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Transform geometry to new spatial reference system.</p>
<p>This function will transform the coordinates of a geometry from their current spatial reference system to a new target spatial reference system. Normally this means reprojecting the vectors, but it could include datum shifts, and changes of units.</p>
<p>This function will only work if the geometry already has an assigned spatial reference system, and if it is transformable to the target coordinate system.</p>
<p>Because this function requires internal creation and initialization of an <a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> object it is significantly more expensive to use this function to transform many geometries than it is to create the <a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> in advance, and call transform() with that transformation. This function exists primarily for convenience when only transforming a single geometry.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#ae3f0b441fbf2f66ce3ef3571268ab10f">OGRGeometry::transformTo</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to apply the transform to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hSRS</em>&nbsp;</td><td>handle on the spatial reference system to apply.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success, or an error code. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00463">OGR_G_TransformTo()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00463">OGR_G_TransformTo()</a>.</p>

</div>
</div>
<a class="anchor" id="a5f7035a933b957a9d453184c154c237c"></a><!-- doxytag: member="ogr_api.h::OGR_G_WkbSize" ref="a5f7035a933b957a9d453184c154c237c" args="(OGRGeometryH hGeom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_G_WkbSize </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns size of related binary representation.</p>
<p>This function returns the exact number of bytes required to hold the well known binary representation of this geometry object. Its computation may be slightly expensive for complex geometries.</p>
<p>This function relates to the SFCOM IWks::WkbSize() method.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRGeometry.html#acd1a8164dae2e44e50990756ed6b8b4a">OGRGeometry::WkbSize()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to get the binary size from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>size of binary representation in bytes. </dd></dl>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00788">OGR_G_WkbSize()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometry_8cpp_source.html#l00788">OGR_G_WkbSize()</a>.</p>

</div>
</div>
<a class="anchor" id="af1e61b89ae2d799cf5e217d01ef7b415"></a><!-- doxytag: member="ogr_api.h::OGR_GetFieldTypeName" ref="af1e61b89ae2d799cf5e217d01ef7b415" args="(OGRFieldType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_GetFieldTypeName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a787194bea637faf12d61643124a7c9fc">OGRFieldType</a>&nbsp;</td>
          <td class="paramname"> <em>eType</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch human readable name for a field type.</p>
<p>This function is the same as the CPP method <a class="el" href="classOGRFieldDefn.html#afc2a020f72be8296b6e09f5ab979f930">OGRFieldDefn::GetFieldTypeName()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>eType</em>&nbsp;</td><td>the field type to get name for. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the name. </dd></dl>

<p>References <a class="el" href="ogrfielddefn_8cpp_source.html#l00323">OGRFieldDefn::GetFieldTypeName()</a>, and <a class="el" href="ogrfielddefn_8cpp_source.html#l00377">OGR_GetFieldTypeName()</a>.</p>

<p>Referenced by <a class="el" href="ogrfielddefn_8cpp_source.html#l00377">OGR_GetFieldTypeName()</a>.</p>

</div>
</div>
<a class="anchor" id="a6135ef3b16c3cc974682365783603cc6"></a><!-- doxytag: member="ogr_api.h::OGR_L_CommitTransaction" ref="a6135ef3b16c3cc974682365783603cc6" args="(OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_CommitTransaction </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>For datasources which support transactions, CommitTransaction commits a transaction. If no transaction is active, or the commit fails, will return OGRERR_FAILURE. Datasources which do not support transactions will always return OGRERR_NONE.</p>
<p>This function is the same as the C++ method OGRLayer::CommitTransaction().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00521">OGR_L_CommitTransaction()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00521">OGR_L_CommitTransaction()</a>.</p>

</div>
</div>
<a class="anchor" id="a301d319111285a47fe6cda6e079214f8"></a><!-- doxytag: member="ogr_api.h::OGR_L_CreateFeature" ref="a301d319111285a47fe6cda6e079214f8" args="(OGRLayerH, OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_CreateFeature </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create and write a new feature within a layer.</p>
<p>The passed feature is written to the layer as a new feature, rather than overwriting an existing one. If the feature has a feature id other than OGRNullFID, then the native implementation may use that as the feature id of the new feature, but not necessarily. Upon successful return the passed feature will have been updated with the new feature id.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#aaa1e32016f481596a55e1d988a15a067">OGRLayer::CreateFeature()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer to write the feature to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>the handle of the feature to write to disk.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00434">OGR_L_CreateFeature()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00434">OGR_L_CreateFeature()</a>.</p>

</div>
</div>
<a class="anchor" id="aab585ef1166c61c4819f7fd46ee4a275"></a><!-- doxytag: member="ogr_api.h::OGR_L_CreateField" ref="aab585ef1166c61c4819f7fd46ee4a275" args="(OGRLayerH, OGRFieldDefnH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_CreateField </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRFieldDefnH&nbsp;</td>
          <td class="paramname"> <em>hField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bApproxOK</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create a new field on a layer. You must use this to create new fields on a real layer. Internally the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> for the layer will be updated to reflect the new field. Applications should never modify the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> used by a layer directly.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#a00b1376a1eabb1298ef278f92f6d84be">OGRLayer::CreateField()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer to write the field definition. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hField</em>&nbsp;</td><td>handle of the field definition to write to disk. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bApproxOK</em>&nbsp;</td><td>If TRUE, the field may be created in a slightly different form depending on the limitations of the format driver.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00474">OGR_L_CreateField()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00474">OGR_L_CreateField()</a>.</p>

</div>
</div>
<a class="anchor" id="a3525cc8e47db48f8968605d3f2d9a41a"></a><!-- doxytag: member="ogr_api.h::OGR_L_DeleteFeature" ref="a3525cc8e47db48f8968605d3f2d9a41a" args="(OGRLayerH, long)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_DeleteFeature </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>nFID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Delete feature from layer.</p>
<p>The feature with the indicated feature id is deleted from the layer if supported by the driver. Most drivers do not support feature deletion, and will return OGRERR_UNSUPPORTED_OPERATION. The <a class="el" href="ogr__api_8h.html#a480adc8b839b04597f49583371d366fd">OGR_L_TestCapability()</a> function may be called with OLCDeleteFeature to check if the driver supports feature deletion.</p>
<p>This method is the same as the C++ method <a class="el" href="classOGRLayer.html#a7e3d454d54a615a1b4359628bb6e7674">OGRLayer::DeleteFeature()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nFID</em>&nbsp;</td><td>the feature id to be deleted from the layer</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00885">OGR_L_DeleteFeature()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00885">OGR_L_DeleteFeature()</a>.</p>

</div>
</div>
<a class="anchor" id="aa6c495581900c8301dff91d8cd3ee12f"></a><!-- doxytag: member="ogr_api.h::OGR_L_GetExtent" ref="aa6c495581900c8301dff91d8cd3ee12f" args="(OGRLayerH, OGREnvelope *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_GetExtent </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOGREnvelope.html">OGREnvelope</a> *&nbsp;</td>
          <td class="paramname"> <em>psExtent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bForce</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the extent of this layer.</p>
<p>Returns the extent (MBR) of the data in the layer. If bForce is FALSE, and it would be expensive to establish the extent then OGRERR_FAILURE will be returned indicating that the extent isn't know. If bForce is TRUE then some implementations will actually scan the entire layer once to compute the MBR of all the features in the layer.</p>
<p>Depending on the drivers, the returned extent may or may not take the spatial filter into account. So it is safer to call <a class="el" href="ogr__api_8h.html#aa6c495581900c8301dff91d8cd3ee12f">OGR_L_GetExtent()</a> without setting a spatial filter.</p>
<p>Layers without any geometry may return OGRERR_FAILURE just indicating that no meaningful extents could be collected.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#a3be658ddb5b33d1ed95c31286774bbd2">OGRLayer::GetExtent()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer from which to get extent. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>psExtent</em>&nbsp;</td><td>the structure in which the extent value will be returned. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bForce</em>&nbsp;</td><td>Flag indicating whether the extent should be computed even if it is expensive.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success, OGRERR_FAILURE if extent not known. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00257">OGR_L_GetExtent()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00257">OGR_L_GetExtent()</a>.</p>

</div>
</div>
<a class="anchor" id="a7c628dce8939904154b50365306b06f9"></a><!-- doxytag: member="ogr_api.h::OGR_L_GetFeature" ref="a7c628dce8939904154b50365306b06f9" args="(OGRLayerH, long)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFeatureH OGR_L_GetFeature </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>nFeatureId</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch a feature by it's identifier.</p>
<p>This function will attempt to read the identified feature. The nFID value cannot be OGRNullFID. Success or failure of this operation is unaffected by the spatial or attribute filters.</p>
<p>If this function returns a non-NULL feature, it is guaranteed that it's feature id (<a class="el" href="ogr__api_8h.html#a95bc391bf7883a8732a523d525c26a00">OGR_F_GetFID()</a>) will be the same as nFID.</p>
<p>Use OGR_L_TestCapability(OLCRandomRead) to establish if this layer supports efficient random access reading via <a class="el" href="ogr__api_8h.html#a7c628dce8939904154b50365306b06f9">OGR_L_GetFeature()</a>; however, the call should always work if the feature exists as a fallback implementation just scans all the features in the layer looking for the desired feature.</p>
<p>Sequential reads are generally considered interrupted by a <a class="el" href="ogr__api_8h.html#a7c628dce8939904154b50365306b06f9">OGR_L_GetFeature()</a> call.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#acb7625383f161e5a04aeea2173dce411">OGRLayer::GetFeature( )</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer that owned the feature. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nFeatureId</em>&nbsp;</td><td>the feature id of the feature to read.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to a feature now owned by the caller, or NULL on failure. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00343">OGR_L_GetFeature()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00343">OGR_L_GetFeature()</a>.</p>

</div>
</div>
<a class="anchor" id="abfbba8f45edd5dc44ced91f9228f9124"></a><!-- doxytag: member="ogr_api.h::OGR_L_GetFeatureCount" ref="abfbba8f45edd5dc44ced91f9228f9124" args="(OGRLayerH, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_L_GetFeatureCount </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bForce</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the feature count in this layer.</p>
<p>Returns the number of features in the layer. For dynamic databases the count may not be exact. If bForce is FALSE, and it would be expensive to establish the feature count a value of -1 may be returned indicating that the count isn't know. If bForce is TRUE some implementations will actually scan the entire layer once to count objects.</p>
<p>The returned count takes the spatial filter into account.</p>
<p>This function is the same as the CPP <a class="el" href="classOGRLayer.html#a74c796d4ce712e9a78df6042eeb8a91a">OGRLayer::GetFeatureCount()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer that owned the features. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bForce</em>&nbsp;</td><td>Flag indicating whether the count should be computed even if it is expensive.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>feature count, -1 if count not known. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00181">OGR_L_GetFeatureCount()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00181">OGR_L_GetFeatureCount()</a>.</p>

</div>
</div>
<a class="anchor" id="a7b67ea4ab5892c6720460dc7f66eca2d"></a><!-- doxytag: member="ogr_api.h::OGR_L_GetLayerDefn" ref="a7b67ea4ab5892c6720460dc7f66eca2d" args="(OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFeatureDefnH OGR_L_GetLayerDefn </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the schema information for this layer.</p>
<p>The returned handle to the <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a> is owned by the <a class="el" href="classOGRLayer.html">OGRLayer</a>, and should not be modified or freed by the application. It encapsulates the attribute schema of the features of the layer.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#a80473bcfd11341e70dd35bebe94026cf">OGRLayer::GetLayerDefn()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer to get the schema information. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the feature definition. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00555">OGR_L_GetLayerDefn()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00555">OGR_L_GetLayerDefn()</a>.</p>

</div>
</div>
<a class="anchor" id="a6708c067521ab7b7f9c4ec0ebe221b5b"></a><!-- doxytag: member="ogr_api.h::OGR_L_GetNextFeature" ref="a6708c067521ab7b7f9c4ec0ebe221b5b" args="(OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRFeatureH OGR_L_GetNextFeature </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the next available feature from this layer. The returned feature becomes the responsiblity of the caller to delete. It is critical that all features associated with an <a class="el" href="classOGRLayer.html">OGRLayer</a> (more specifically an <a class="el" href="classOGRFeatureDefn.html">OGRFeatureDefn</a>) be deleted before that layer/datasource is deleted.</p>
<p>Only features matching the current spatial filter (set with SetSpatialFilter()) will be returned.</p>
<p>This function implements sequential access to the features of a layer. The <a class="el" href="ogr__api_8h.html#ab0383004bf637171648a9d03a80f15a4">OGR_L_ResetReading()</a> function can be used to start at the beginning again. Random reading, writing and spatial filtering will be added to the <a class="el" href="classOGRLayer.html">OGRLayer</a> in the future.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#a47d21ff33b32d14fa4e9885b9edecad6">OGRLayer::GetNextFeature()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer from which feature are read. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to a feature, or NULL if no more features are available. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00389">OGR_L_GetNextFeature()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00389">OGR_L_GetNextFeature()</a>.</p>

</div>
</div>
<a class="anchor" id="a36d61f311c9f8c172ad118659358c60a"></a><!-- doxytag: member="ogr_api.h::OGR_L_GetSpatialFilter" ref="a36d61f311c9f8c172ad118659358c60a" args="(OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRGeometryH OGR_L_GetSpatialFilter </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function returns the current spatial filter for this layer.</p>
<p>The returned pointer is to an internally owned object, and should not be altered or deleted by the caller.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#adc3735e444204d46f517eec251712f4d">OGRLayer::GetSpatialFilter()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer to get the spatial filter from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the spatial filter geometry. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00601">OGR_L_GetSpatialFilter()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00601">OGR_L_GetSpatialFilter()</a>.</p>

</div>
</div>
<a class="anchor" id="a8b2a10085f410aa84172eba413408c39"></a><!-- doxytag: member="ogr_api.h::OGR_L_GetSpatialRef" ref="a8b2a10085f410aa84172eba413408c39" args="(OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRSpatialReferenceH OGR_L_GetSpatialRef </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the spatial reference system for this layer.</p>
<p>The returned object is owned by the <a class="el" href="classOGRLayer.html">OGRLayer</a> and should not be modified or freed by the application.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#a75c06b4993f8eb76b569f37365cd19ab">OGRLayer::GetSpatialRef()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer to get the spatial reference from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>spatial reference, or NULL if there isn't one. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00567">OGR_L_GetSpatialRef()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00567">OGR_L_GetSpatialRef()</a>.</p>

</div>
</div>
<a class="anchor" id="ab0383004bf637171648a9d03a80f15a4"></a><!-- doxytag: member="ogr_api.h::OGR_L_ResetReading" ref="ab0383004bf637171648a9d03a80f15a4" args="(OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_L_ResetReading </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reset feature reading to start on the first feature. This affects GetNextFeature().</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#aad0f2cd7f0587584b8f382c6a913583c">OGRLayer::ResetReading()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer on which features are read. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00816">OGR_L_ResetReading()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00816">OGR_L_ResetReading()</a>.</p>

</div>
</div>
<a class="anchor" id="a823a6c351dccf751777f67801dd7f9c5"></a><!-- doxytag: member="ogr_api.h::OGR_L_RollbackTransaction" ref="a823a6c351dccf751777f67801dd7f9c5" args="(OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_RollbackTransaction </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>For datasources which support transactions, RollbackTransaction will roll back a datasource to its state before the start of the current transaction. If no transaction is active, or the rollback fails, will return OGRERR_FAILURE. Datasources which do not support transactions will always return OGRERR_NONE.</p>
<p>This function is the same as the C++ method OGRLayer::RollbackTransaction().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00543">OGR_L_RollbackTransaction()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00543">OGR_L_RollbackTransaction()</a>.</p>

</div>
</div>
<a class="anchor" id="a4000d426bf26ad7cc7d4012634c93f09"></a><!-- doxytag: member="ogr_api.h::OGR_L_SetAttributeFilter" ref="a4000d426bf26ad7cc7d4012634c93f09" args="(OGRLayerH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_SetAttributeFilter </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszQuery</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set a new attribute query.</p>
<p>This function sets the attribute query string to be used when fetching features via the <a class="el" href="ogr__api_8h.html#a6708c067521ab7b7f9c4ec0ebe221b5b">OGR_L_GetNextFeature()</a> function. Only features for which the query evaluates as true will be returned.</p>
<p>The query string should be in the format of an SQL WHERE clause. For instance "population &gt; 1000000 and population &lt; 5000000" where population is an attribute in the layer. The query format is a restricted form of SQL WHERE clause as defined "eq_format=restricted_where" about half way through this document:</p>
<p><a href="http://ogdi.sourceforge.net/prop/6.2.CapabilitiesMetadata.html">http://ogdi.sourceforge.net/prop/6.2.CapabilitiesMetadata.html</a></p>
<p>Note that installing a query string will generally result in resetting the current reading position (ala <a class="el" href="ogr__api_8h.html#ab0383004bf637171648a9d03a80f15a4">OGR_L_ResetReading()</a>).</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#acb2c6cc5fa3577df5be538284c1b0dde">OGRLayer::SetAttributeFilter()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer on which attribute query will be executed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszQuery</em>&nbsp;</td><td>query in restricted SQL WHERE format, or NULL to clear the current query.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if successfully installed, or an error code if the query expression is in error, or some other failure occurs. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00310">OGR_L_SetAttributeFilter()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00310">OGR_L_SetAttributeFilter()</a>.</p>

</div>
</div>
<a class="anchor" id="a5b380520d0999422987f06b6e31b9b00"></a><!-- doxytag: member="ogr_api.h::OGR_L_SetFeature" ref="a5b380520d0999422987f06b6e31b9b00" args="(OGRLayerH, OGRFeatureH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_SetFeature </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Rewrite an existing feature.</p>
<p>This function will write a feature to the layer, based on the feature id within the <a class="el" href="classOGRFeature.html">OGRFeature</a>.</p>
<p>Use OGR_L_TestCapability(OLCRandomWrite) to establish if this layer supports random access writing via <a class="el" href="ogr__api_8h.html#a5b380520d0999422987f06b6e31b9b00">OGR_L_SetFeature()</a>.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#a681139bfd585b74d7218e51a32144283">OGRLayer::SetFeature()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer to write the feature. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hFeat</em>&nbsp;</td><td>the feature to write.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if the operation works, otherwise an appropriate error code. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00411">OGR_L_SetFeature()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00411">OGR_L_SetFeature()</a>.</p>

</div>
</div>
<a class="anchor" id="a678d1735bc82533614ac005691d1138c"></a><!-- doxytag: member="ogr_api.h::OGR_L_SetSpatialFilter" ref="a678d1735bc82533614ac005691d1138c" args="(OGRLayerH, OGRGeometryH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_L_SetSpatialFilter </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hGeom</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set a new spatial filter.</p>
<p>This function set the geometry to be used as a spatial filter when fetching features via the <a class="el" href="ogr__api_8h.html#a6708c067521ab7b7f9c4ec0ebe221b5b">OGR_L_GetNextFeature()</a> function. Only features that geometrically intersect the filter geometry will be returned.</p>
<p>Currently this test is may be inaccurately implemented, but it is guaranteed that all features who's envelope (as returned by <a class="el" href="ogr__api_8h.html#a617a9c9ea85157661619a1d8f0a69cf9">OGR_G_GetEnvelope()</a>) overlaps the envelope of the spatial filter will be returned. This can result in more shapes being returned that should strictly be the case.</p>
<p>This function makes an internal copy of the passed geometry. The passed geometry remains the responsibility of the caller, and may be safely destroyed.</p>
<p>For the time being the passed filter geometry should be in the same SRS as the layer (as returned by <a class="el" href="ogr__api_8h.html#a8b2a10085f410aa84172eba413408c39">OGR_L_GetSpatialRef()</a>). In the future this may be generalized.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#a0b4ab45cf97cbc470f0d60474d3e4169">OGRLayer::SetSpatialFilter</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer on which to set the spatial filter. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle to the geometry to use as a filtering region. NULL may be passed indicating that the current spatial filter should be cleared, but no new one instituted. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00624">OGR_L_SetSpatialFilter()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00624">OGR_L_SetSpatialFilter()</a>.</p>

</div>
</div>
<a class="anchor" id="a5cba569e0779a02a95327f041d9f7a13"></a><!-- doxytag: member="ogr_api.h::OGR_L_SetSpatialFilterRect" ref="a5cba569e0779a02a95327f041d9f7a13" args="(OGRLayerH, double, double, double, double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_L_SetSpatialFilterRect </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfMinX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfMinY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfMaxX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfMaxY</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set a new rectangular spatial filter.</p>
<p>This method set rectangle to be used as a spatial filter when fetching features via the GetNextFeature() method. Only features that geometrically intersect the given rectangle will be returned.</p>
<p>The x/y values should be in the same coordinate system as the layer as a whole (as returned by <a class="el" href="classOGRLayer.html#a75c06b4993f8eb76b569f37365cd19ab">OGRLayer::GetSpatialRef()</a>). Internally this method is normally implemented as creating a 5 vertex closed rectangular polygon and passing it to <a class="el" href="classOGRLayer.html#a0b4ab45cf97cbc470f0d60474d3e4169">OGRLayer::SetSpatialFilter()</a>. It exists as a convenience.</p>
<p>The only way to clear a spatial filter set with this method is to call OGRLayer::SetSpatialFilter(NULL).</p>
<p>This method is the same as the C++ method <a class="el" href="classOGRLayer.html#acd16bcdb3e8f720003fb24cd68f25460">OGRLayer::SetSpatialFilterRect()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer on which to set the spatial filter. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfMinX</em>&nbsp;</td><td>the minimum X coordinate for the rectangular region. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfMinY</em>&nbsp;</td><td>the minimum Y coordinate for the rectangular region. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfMaxX</em>&nbsp;</td><td>the maximum X coordinate for the rectangular region. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfMaxY</em>&nbsp;</td><td>the maximum Y coordinate for the rectangular region. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00658">OGR_L_SetSpatialFilterRect()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00658">OGR_L_SetSpatialFilterRect()</a>.</p>

</div>
</div>
<a class="anchor" id="a8180ea56ca7f677eb5da05c8cfcb77be"></a><!-- doxytag: member="ogr_api.h::OGR_L_StartTransaction" ref="a8180ea56ca7f677eb5da05c8cfcb77be" args="(OGRLayerH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGR_L_StartTransaction </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>For datasources which support transactions, StartTransaction creates a transaction. If starting the transaction fails, will return OGRERR_FAILURE. Datasources which do not support transactions will always return OGRERR_NONE.</p>
<p>This function is the same as the C++ method OGRLayer::StartTransaction().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success. </dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00499">OGR_L_StartTransaction()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00499">OGR_L_StartTransaction()</a>.</p>

</div>
</div>
<a class="anchor" id="a480adc8b839b04597f49583371d366fd"></a><!-- doxytag: member="ogr_api.h::OGR_L_TestCapability" ref="a480adc8b839b04597f49583371d366fd" args="(OGRLayerH, const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_L_TestCapability </td>
          <td>(</td>
          <td class="paramtype">OGRLayerH&nbsp;</td>
          <td class="paramname"> <em>hLayer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszCap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Test if this layer supported the named capability.</p>
<p>The capability codes that can be tested are represented as strings, but #defined constants exists to ensure correct spelling. Specific layer types may implement class specific capabilities, but this can't generally be discovered by the caller. </p>
<ul>
<li>
<p class="startli"><b>OLCRandomRead</b> / "RandomRead": TRUE if the <a class="el" href="ogr__api_8h.html#a7c628dce8939904154b50365306b06f9">OGR_L_GetFeature()</a> function works for this layer.</p>
<p></p>
<p class="endli"></p>
</li>
<li>
<p class="startli"><b>OLCSequentialWrite</b> / "SequentialWrite": TRUE if the <a class="el" href="ogr__api_8h.html#a301d319111285a47fe6cda6e079214f8">OGR_L_CreateFeature()</a> function works for this layer. Note this means that this particular layer is writable. The same <a class="el" href="classOGRLayer.html">OGRLayer</a> class may returned FALSE for other layer instances that are effectively read-only.</p>
<p></p>
<p class="endli"></p>
</li>
<li>
<p class="startli"><b>OLCRandomWrite</b> / "RandomWrite": TRUE if the <a class="el" href="ogr__api_8h.html#a5b380520d0999422987f06b6e31b9b00">OGR_L_SetFeature()</a> function is operational on this layer. Note this means that this particular layer is writable. The same <a class="el" href="classOGRLayer.html">OGRLayer</a> class may returned FALSE for other layer instances that are effectively read-only.</p>
<p></p>
<p class="endli"></p>
</li>
<li>
<p class="startli"><b>OLCFastSpatialFilter</b> / "FastSpatialFilter": TRUE if this layer implements spatial filtering efficiently. Layers that effectively read all features, and test them with the <a class="el" href="classOGRFeature.html">OGRFeature</a> intersection methods should return FALSE. This can be used as a clue by the application whether it should build and maintain it's own spatial index for features in this layer.</p>
<p></p>
<p class="endli"></p>
</li>
<li>
<p class="startli"><b>OLCFastFeatureCount</b> / "FastFeatureCount": TRUE if this layer can return a feature count (via <a class="el" href="ogr__api_8h.html#abfbba8f45edd5dc44ced91f9228f9124">OGR_L_GetFeatureCount()</a>) efficiently ... ie. without counting the features. In some cases this will return TRUE until a spatial filter is installed after which it will return FALSE.</p>
<p></p>
<p class="endli"></p>
</li>
<li>
<p class="startli"><b>OLCFastGetExtent</b> / "FastGetExtent": TRUE if this layer can return its data extent (via <a class="el" href="ogr__api_8h.html#aa6c495581900c8301dff91d8cd3ee12f">OGR_L_GetExtent()</a>) efficiently ... ie. without scanning all the features. In some cases this will return TRUE until a spatial filter is installed after which it will return FALSE.</p>
<p></p>
<p class="endli"></p>
</li>
</ul>
<p>This function is the same as the C++ method <a class="el" href="classOGRLayer.html#aeedbda1a62f9b89b8e5f24332cf22286">OGRLayer::TestCapability()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLayer</em>&nbsp;</td><td>handle to the layer to get the capability from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszCap</em>&nbsp;</td><td>the name of the capability to test.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if the layer has the requested capability, or FALSE otherwise. OGRLayers will return FALSE for any unrecognised capabilities.</dd></dl>

<p>References <a class="el" href="ogrlayer_8cpp_source.html#l00579">OGR_L_TestCapability()</a>.</p>

<p>Referenced by <a class="el" href="ogrlayer_8cpp_source.html#l00579">OGR_L_TestCapability()</a>.</p>

</div>
</div>
<a class="anchor" id="af358ec087124f355fca02bf33a1e0027"></a><!-- doxytag: member="ogr_api.h::OGR_SM_AddPart" ref="af358ec087124f355fca02bf33a1e0027" args="(OGRStyleMgrH hSM, OGRStyleToolH hST)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_SM_AddPart </td>
          <td>(</td>
          <td class="paramtype">OGRStyleMgrH&nbsp;</td>
          <td class="paramname"> <em>hSM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a part (style tool) to the current style.</p>
<p>This function is the same as the C++ method OGRStyleMgr::AddPart().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hSM</em>&nbsp;</td><td>handle to the style manager. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>the style tool defining the part to add.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE on success, FALSE on errors. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00430">OGR_SM_AddPart()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00430">OGR_SM_AddPart()</a>.</p>

</div>
</div>
<a class="anchor" id="aacc33ed54540713271ef4dd2417fa342"></a><!-- doxytag: member="ogr_api.h::OGR_SM_Create" ref="aacc33ed54540713271ef4dd2417fa342" args="(void *hStyleTable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRStyleMgrH OGR_SM_Create </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>hStyleTable</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="classOGRStyleMgr.html">OGRStyleMgr</a> factory.</p>
<p>This function is the same as the C++ method OGRStyleMgr::OGRStyleMgr().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hStyleTable</em>&nbsp;</td><td>(currently unused, reserved for future use), pointer to <a class="el" href="classOGRStyleTable.html">OGRStyleTable</a>. Pass NULL for now.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the new style manager object. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00140">OGR_SM_Create()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00140">OGR_SM_Create()</a>.</p>

</div>
</div>
<a class="anchor" id="a474fca7d9327da916305ec1276a57443"></a><!-- doxytag: member="ogr_api.h::OGR_SM_Destroy" ref="a474fca7d9327da916305ec1276a57443" args="(OGRStyleMgrH hSM)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_SM_Destroy </td>
          <td>(</td>
          <td class="paramtype">OGRStyleMgrH&nbsp;</td>
          <td class="paramname"> <em>hSM</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroy Style Manager</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hSM</em>&nbsp;</td><td>handle to the style manager to destroy. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00166">OGR_SM_Destroy()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00166">OGR_SM_Destroy()</a>.</p>

</div>
</div>
<a class="anchor" id="a61d4e04abb6e3c59ed570c62dffc4164"></a><!-- doxytag: member="ogr_api.h::OGR_SM_GetPart" ref="a61d4e04abb6e3c59ed570c62dffc4164" args="(OGRStyleMgrH hSM, int nPartId, const char *pszStyleString)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRStyleToolH OGR_SM_GetPart </td>
          <td>(</td>
          <td class="paramtype">OGRStyleMgrH&nbsp;</td>
          <td class="paramname"> <em>hSM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nPartId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszStyleString</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch a part (style tool) from the current style.</p>
<p>This function is the same as the C++ method OGRStyleMgr::GetPart().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hSM</em>&nbsp;</td><td>handle to the style manager. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nPartId</em>&nbsp;</td><td>the part number (0-based index) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszStyleString</em>&nbsp;</td><td>(optional) the style string on which to operate. If NULL then the current style string stored in the style manager is used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRStyleToolH of the requested part (style tools) or NULL on error. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00555">OGR_SM_GetPart()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00555">OGR_SM_GetPart()</a>.</p>

</div>
</div>
<a class="anchor" id="ad272704a535c0fa8cfd7b097eb4968dc"></a><!-- doxytag: member="ogr_api.h::OGR_SM_GetPartCount" ref="ad272704a535c0fa8cfd7b097eb4968dc" args="(OGRStyleMgrH hSM, const char *pszStyleString)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_SM_GetPartCount </td>
          <td>(</td>
          <td class="paramtype">OGRStyleMgrH&nbsp;</td>
          <td class="paramname"> <em>hSM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszStyleString</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a part (style tool) to the current style.</p>
<p>This function is the same as the C++ method OGRStyleMgr::GetPartCount().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hSM</em>&nbsp;</td><td>handle to the style manager. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszStyleString</em>&nbsp;</td><td>(optional) the style string on which to operate. If NULL then the current style string stored in the style manager is used.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of parts (style tools) in the style. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00488">OGR_SM_GetPartCount()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00488">OGR_SM_GetPartCount()</a>.</p>

</div>
</div>
<a class="anchor" id="afca737ee6586ce8078b52108707b0b6a"></a><!-- doxytag: member="ogr_api.h::OGR_SM_InitFromFeature" ref="afca737ee6586ce8078b52108707b0b6a" args="(OGRStyleMgrH hSM, OGRFeatureH hFeat)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_SM_InitFromFeature </td>
          <td>(</td>
          <td class="paramtype">OGRStyleMgrH&nbsp;</td>
          <td class="paramname"> <em>hSM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRFeatureH&nbsp;</td>
          <td class="paramname"> <em>hFeat</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize style manager from the style string of a feature.</p>
<p>This function is the same as the C++ method OGRStyleMgr::InitFromFeature().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hSM</em>&nbsp;</td><td>handle to the style manager. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hFeature</em>&nbsp;</td><td>handle to the new feature from which to read the style.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a reference to the style string read from the feature, or NULL in case of error.. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00236">OGR_SM_InitFromFeature()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00236">OGR_SM_InitFromFeature()</a>.</p>

</div>
</div>
<a class="anchor" id="ade49bffec1e796ddf4419f5cbe34fda8"></a><!-- doxytag: member="ogr_api.h::OGR_SM_InitStyleString" ref="ade49bffec1e796ddf4419f5cbe34fda8" args="(OGRStyleMgrH hSM, const char *pszStyleString)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_SM_InitStyleString </td>
          <td>(</td>
          <td class="paramtype">OGRStyleMgrH&nbsp;</td>
          <td class="paramname"> <em>hSM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszStyleString</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initialize style manager from the style string.</p>
<p>This function is the same as the C++ method OGRStyleMgr::InitStyleString().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hSM</em>&nbsp;</td><td>handle to the style manager. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszStyleString</em>&nbsp;</td><td>the style string to use (can be NULL).</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE on success, FALSE on errors. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00283">OGR_SM_InitStyleString()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00283">OGR_SM_InitStyleString()</a>.</p>

</div>
</div>
<a class="anchor" id="afb15db531e15a484e7bda8e88383ea3a"></a><!-- doxytag: member="ogr_api.h::OGR_ST_Create" ref="afb15db531e15a484e7bda8e88383ea3a" args="(OGRSTClassId eClassId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRStyleToolH OGR_ST_Create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#a109ea92417a0152008c7c11eeec4f028">OGRSTClassId</a>&nbsp;</td>
          <td class="paramname"> <em>eClassId</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="classOGRStyleTool.html">OGRStyleTool</a> factory.</p>
<p>This function is a constructor for <a class="el" href="classOGRStyleTool.html">OGRStyleTool</a> derived classes.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>eClassId</em>&nbsp;</td><td>subclass of style tool to create. One of OGRSTCPen (1), OGRSTCBrush (2), OGRSTCSymbol (3) or OGRSTCLabel (4).</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the new style tool object or NULL if the creation failed. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00628">OGR_ST_Create()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00628">OGR_ST_Create()</a>.</p>

</div>
</div>
<a class="anchor" id="a5d1ecf398ee062f3f5a297f70244497a"></a><!-- doxytag: member="ogr_api.h::OGR_ST_Destroy" ref="a5d1ecf398ee062f3f5a297f70244497a" args="(OGRStyleToolH hST)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_ST_Destroy </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroy Style Tool</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool to destroy. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00664">OGR_ST_Destroy()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l00664">OGR_ST_Destroy()</a>.</p>

</div>
</div>
<a class="anchor" id="a96082cdf432271acfa3b3777c3be853b"></a><!-- doxytag: member="ogr_api.h::OGR_ST_GetParamDbl" ref="a96082cdf432271acfa3b3777c3be853b" args="(OGRStyleToolH hST, int eParam, int *bValueIsNull)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double OGR_ST_GetParamDbl </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>eParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>bValueIsNull</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get Style Tool parameter value as a double</p>
<p>Maps to the <a class="el" href="classOGRStyleTool.html">OGRStyleTool</a> subclasses' GetParamDbl() methods.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eParam</em>&nbsp;</td><td>the parameter id from the enumeration corresponding to the type of this style tool (one of the OGRSTPenParam, OGRSTBrushParam, OGRSTSymbolParam or OGRSTLabelParam enumerations) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bValueIsNull</em>&nbsp;</td><td>pointer to an integer that will be set to TRUE or FALSE to indicate whether the parameter value is NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the parameter value as double and sets bValueIsNull. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01805">OGR_ST_GetParamDbl()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01805">OGR_ST_GetParamDbl()</a>.</p>

</div>
</div>
<a class="anchor" id="ad4168832561881cb75dcc7c35935cdd3"></a><!-- doxytag: member="ogr_api.h::OGR_ST_GetParamNum" ref="ad4168832561881cb75dcc7c35935cdd3" args="(OGRStyleToolH hST, int eParam, int *bValueIsNull)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_ST_GetParamNum </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>eParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>bValueIsNull</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get Style Tool parameter value as an integer</p>
<p>Maps to the <a class="el" href="classOGRStyleTool.html">OGRStyleTool</a> subclasses' GetParamNum() methods.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eParam</em>&nbsp;</td><td>the parameter id from the enumeration corresponding to the type of this style tool (one of the OGRSTPenParam, OGRSTBrushParam, OGRSTSymbolParam or OGRSTLabelParam enumerations) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bValueIsNull</em>&nbsp;</td><td>pointer to an integer that will be set to TRUE or FALSE to indicate whether the parameter value is NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the parameter value as integer and sets bValueIsNull. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01753">OGR_ST_GetParamNum()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01753">OGR_ST_GetParamNum()</a>.</p>

</div>
</div>
<a class="anchor" id="aecadf5738c3b96093605b352a95869f1"></a><!-- doxytag: member="ogr_api.h::OGR_ST_GetParamStr" ref="aecadf5738c3b96093605b352a95869f1" args="(OGRStyleToolH hST, int eParam, int *bValueIsNull)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_ST_GetParamStr </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>eParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>bValueIsNull</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get Style Tool parameter value as string</p>
<p>Maps to the <a class="el" href="classOGRStyleTool.html">OGRStyleTool</a> subclasses' GetParamStr() methods.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eParam</em>&nbsp;</td><td>the parameter id from the enumeration corresponding to the type of this style tool (one of the OGRSTPenParam, OGRSTBrushParam, OGRSTSymbolParam or OGRSTLabelParam enumerations) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bValueIsNull</em>&nbsp;</td><td>pointer to an integer that will be set to TRUE or FALSE to indicate whether the parameter value is NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the parameter value as string and sets bValueIsNull. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01701">OGR_ST_GetParamStr()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01701">OGR_ST_GetParamStr()</a>.</p>

</div>
</div>
<a class="anchor" id="a906f5e2b901413a0ab5fa35d649847fc"></a><!-- doxytag: member="ogr_api.h::OGR_ST_GetRGBFromString" ref="a906f5e2b901413a0ab5fa35d649847fc" args="(OGRStyleToolH hST, const char *pszColor, int *pnRed, int *pnGreen, int *pnBlue, int *pnAlpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGR_ST_GetRGBFromString </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszColor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnRed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnGreen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnBlue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>pnAlpha</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the r,g,b,a components of a color encoded in RRGGBB[AA] format</p>
<p>Maps to OGRStyleTool::GetRGBFromString().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszColor</em>&nbsp;</td><td>the color to parse </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pnRed</em>&nbsp;</td><td>pointer to an int in which the red value will be returned </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pnGreen</em>&nbsp;</td><td>pointer to an int in which the green value will be returned </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pnBlue</em>&nbsp;</td><td>pointer to an int in which the blue value will be returned </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pnAlpha</em>&nbsp;</td><td>pointer to an int in which the (optional) alpha value will be returned</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if the color could be succesfully parsed, or FALSE in case of errors. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l02032">OGR_ST_GetRGBFromString()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l02032">OGR_ST_GetRGBFromString()</a>.</p>

</div>
</div>
<a class="anchor" id="a4089c70ce3b1cbea0e45c3375d5093f0"></a><!-- doxytag: member="ogr_api.h::OGR_ST_GetStyleString" ref="a4089c70ce3b1cbea0e45c3375d5093f0" args="(OGRStyleToolH hST)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* OGR_ST_GetStyleString </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the style string for this Style Tool</p>
<p>Maps to the <a class="el" href="classOGRStyleTool.html">OGRStyleTool</a> subclasses' GetStyleString() methods.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the style string for this style tool or "" if the hST is invalid. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01985">OGR_ST_GetStyleString()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01985">OGR_ST_GetStyleString()</a>.</p>

</div>
</div>
<a class="anchor" id="aae8d0ee36b82c9d1d8d1a0e9b36f2d35"></a><!-- doxytag: member="ogr_api.h::OGR_ST_GetType" ref="aae8d0ee36b82c9d1d8d1a0e9b36f2d35" args="(OGRStyleToolH hST)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ogr__core_8h.html#a109ea92417a0152008c7c11eeec4f028">OGRSTClassId</a> OGR_ST_GetType </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determine type of Style Tool</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the style tool type, one of OGRSTCPen (1), OGRSTCBrush (2), OGRSTCSymbol (3) or OGRSTCLabel (4). Returns OGRSTCNone (0) if the OGRStyleToolH is invalid. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01112">OGR_ST_GetType()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01112">OGR_ST_GetType()</a>.</p>

</div>
</div>
<a class="anchor" id="afb52e40f289848d1f228849b6dae2463"></a><!-- doxytag: member="ogr_api.h::OGR_ST_GetUnit" ref="afb52e40f289848d1f228849b6dae2463" args="(OGRStyleToolH hST)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ogr__core_8h.html#af945b904942ebc25abc8f685bb6b20e1">OGRSTUnitId</a> OGR_ST_GetUnit </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get Style Tool units</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the style tool units. </dd></dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01131">OGR_ST_GetUnit()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01131">OGR_ST_GetUnit()</a>.</p>

</div>
</div>
<a class="anchor" id="ac0397850aed3282865b444d65d2deb0e"></a><!-- doxytag: member="ogr_api.h::OGR_ST_SetParamNum" ref="ac0397850aed3282865b444d65d2deb0e" args="(OGRStyleToolH hST, int eParam, int nValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_ST_SetParamNum </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>eParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nValue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set Style Tool parameter value from an integer</p>
<p>Maps to the <a class="el" href="classOGRStyleTool.html">OGRStyleTool</a> subclasses' SetParamNum() methods.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eParam</em>&nbsp;</td><td>the parameter id from the enumeration corresponding to the type of this style tool (one of the OGRSTPenParam, OGRSTBrushParam, OGRSTSymbolParam or OGRSTLabelParam enumerations) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nValue</em>&nbsp;</td><td>the new parameter value </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01901">OGR_ST_SetParamNum()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01901">OGR_ST_SetParamNum()</a>.</p>

</div>
</div>
<a class="anchor" id="a88e9561d9a62d6f8368d526eb0468b3a"></a><!-- doxytag: member="ogr_api.h::OGR_ST_SetParamStr" ref="a88e9561d9a62d6f8368d526eb0468b3a" args="(OGRStyleToolH hST, int eParam, const char *pszValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_ST_SetParamStr </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>eParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszValue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set Style Tool parameter value from a string</p>
<p>Maps to the <a class="el" href="classOGRStyleTool.html">OGRStyleTool</a> subclasses' SetParamStr() methods.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eParam</em>&nbsp;</td><td>the parameter id from the enumeration corresponding to the type of this style tool (one of the OGRSTPenParam, OGRSTBrushParam, OGRSTSymbolParam or OGRSTLabelParam enumerations) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszValue</em>&nbsp;</td><td>the new parameter value </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01856">OGR_ST_SetParamStr()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01856">OGR_ST_SetParamStr()</a>.</p>

</div>
</div>
<a class="anchor" id="ac9c5b94e6ca32cd53c6a7a9ebc73012c"></a><!-- doxytag: member="ogr_api.h::OGR_ST_SetUnit" ref="ac9c5b94e6ca32cd53c6a7a9ebc73012c" args="(OGRStyleToolH hST, OGRSTUnitId eUnit, double dfGroundPaperScale)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGR_ST_SetUnit </td>
          <td>(</td>
          <td class="paramtype">OGRStyleToolH&nbsp;</td>
          <td class="paramname"> <em>hST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ogr__core_8h.html#af945b904942ebc25abc8f685bb6b20e1">OGRSTUnitId</a>&nbsp;</td>
          <td class="paramname"> <em>eUnit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfGroundPaperScale</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set Style Tool units</p>
<p>This function is the same as OGRStyleTool::SetUnit()</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hST</em>&nbsp;</td><td>handle to the style tool. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>eUnit</em>&nbsp;</td><td>the new unit. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfGroundPaperScale</em>&nbsp;</td><td>ground to paper scale factor. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01162">OGR_ST_SetUnit()</a>.</p>

<p>Referenced by <a class="el" href="ogrfeaturestyle_8cpp_source.html#l01162">OGR_ST_SetUnit()</a>.</p>

</div>
</div>
<a class="anchor" id="a74f64386be8d675e8da33d289ccc9892"></a><!-- doxytag: member="ogr_api.h::OGRBuildPolygonFromEdges" ref="a74f64386be8d675e8da33d289ccc9892" args="(OGRGeometryH hLinesAsCollection, int bBestEffort, int bAutoClose, double dfTolerance, OGRErr *peErr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRGeometryH OGRBuildPolygonFromEdges </td>
          <td>(</td>
          <td class="paramtype">OGRGeometryH&nbsp;</td>
          <td class="paramname"> <em>hLines</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bBestEffort</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bAutoClose</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfTolerance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRErr *&nbsp;</td>
          <td class="paramname"> <em>peErr</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Build a ring from a bunch of arcs.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hLines</em>&nbsp;</td><td>handle to an <a class="el" href="classOGRGeometryCollection.html">OGRGeometryCollection</a> (or <a class="el" href="classOGRMultiLineString.html">OGRMultiLineString</a>) containing the line string geometries to be built into rings. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bBestEffort</em>&nbsp;</td><td>not yet implemented???. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bAutoClose</em>&nbsp;</td><td>indicates if the ring should be close when first and last points of the ring are the same. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfTolerance</em>&nbsp;</td><td>tolerance into which two arcs are considered close enough to be joined. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>peErr</em>&nbsp;</td><td>OGRERR_NONE on success, or OGRERR_FAILURE on failure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>an handle to the new geometry, a polygon. </dd></dl>

<p>References <a class="el" href="ogrlinestring_8cpp_source.html#l00427">OGRLineString::addPoint()</a>, <a class="el" href="ogrpolygon_8cpp_source.html#l00292">OGRPolygon::addRingDirectly()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00186">OGRGeometryCollection::getGeometryRef()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00161">OGRGeometryCollection::getNumGeometries()</a>, <a class="el" href="ogrpolygon_8cpp_source.html#l00197">OGRPolygon::getNumInteriorRings()</a>, <a class="el" href="ogr__geometry_8h_source.html#l00273">OGRLineString::getNumPoints()</a>, <a class="el" href="ogr__geometry_8h_source.html#l00275">OGRLineString::getX()</a>, <a class="el" href="ogr__geometry_8h_source.html#l00276">OGRLineString::getY()</a>, <a class="el" href="ogrlinestring_8cpp_source.html#l00274">OGRLineString::getZ()</a>, and <a class="el" href="ograssemblepolygon_8cpp_source.html#l00132">OGRBuildPolygonFromEdges()</a>.</p>

<p>Referenced by <a class="el" href="ograssemblepolygon_8cpp_source.html#l00132">OGRBuildPolygonFromEdges()</a>.</p>

</div>
</div>
<a class="anchor" id="ae5d5a052ed1046ec85236fe4a92733e2"></a><!-- doxytag: member="ogr_api.h::OGRCleanupAll" ref="ae5d5a052ed1046ec85236fe4a92733e2" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGRCleanupAll </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Cleanup all OGR related resources.</p>
<p>This function will destroy the <a class="el" href="classOGRSFDriverRegistrar.html">OGRSFDriverRegistrar</a> along with all registered drivers, and then cleanup long lived OSR (<a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>) and CPL resources. This may be called in an application when OGR services are no longer needed. It is not normally required, but by freeing all dynamically allocated memory it can make memory leak testing easier.</p>
<p>In addition to destroying the OGRDriverRegistrar, this function also calls:</p>
<ul>
<li>OSRCleanup()</li>
<li>CPLFinderClean()</li>
<li>VSICleanupFileManager()</li>
<li>CPLFreeConfig()</li>
<li>CPLCleanupTLS() </li>
</ul>

<p>References <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00133">OGRCleanupAll()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00133">OGRCleanupAll()</a>.</p>

</div>
</div>
<a class="anchor" id="a3f8080605cad5aeef9519c38fe160b51"></a><!-- doxytag: member="ogr_api.h::OGRGetDriver" ref="a3f8080605cad5aeef9519c38fe160b51" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRSFDriverH OGRGetDriver </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iDriver</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the indicated driver.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRSFDriverRegistrar.html#a359c5bcb65b737b1c59bab9c2ff78e7e">OGRSFDriverRegistrar::GetDriver()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iDriver</em>&nbsp;</td><td>the driver index, from 0 to GetDriverCount()-1.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>handle to the driver, or NULL if iDriver is out of range. </dd></dl>

<p>References <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00596">OGRSFDriverRegistrar::GetDriver()</a>, and <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00611">OGRGetDriver()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00611">OGRGetDriver()</a>.</p>

</div>
</div>
<a class="anchor" id="ad0f6d2bbd269b56a61d1c1841dac2575"></a><!-- doxytag: member="ogr_api.h::OGRGetDriverCount" ref="ad0f6d2bbd269b56a61d1c1841dac2575" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGRGetDriverCount </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the number of registered drivers.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRSFDriverRegistrar.html#ad6e753df0c4548187f9fd7e3d5af3999">OGRSFDriverRegistrar::GetDriverCount()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the drivers count. </dd></dl>

<p>References <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00573">OGRSFDriverRegistrar::GetDriverCount()</a>, and <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00583">OGRGetDriverCount()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00583">OGRGetDriverCount()</a>.</p>

</div>
</div>
<a class="anchor" id="a123bb02ac8c5cfe143e132f627531125"></a><!-- doxytag: member="ogr_api.h::OGROpen" ref="a123bb02ac8c5cfe143e132f627531125" args="(const char *, int, OGRSFDriverH *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRDataSourceH OGROpen </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bUpdate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OGRSFDriverH *&nbsp;</td>
          <td class="paramname"> <em>pahDriverList</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Open a file / data source with one of the registered drivers.</p>
<p>This function loops through all the drivers registered with the driver manager trying each until one succeeds with the given data source. This function is static. Applications don't normally need to use any other <a class="el" href="classOGRSFDriverRegistrar.html">OGRSFDriverRegistrar</a> function, not do they normally need to have a pointer to an <a class="el" href="classOGRSFDriverRegistrar.html">OGRSFDriverRegistrar</a> instance.</p>
<p>If this function fails, <a class="el" href="cpl__error_8h.html#a7f71ade3bb0a0e9e45802975ec59ff5e">CPLGetLastErrorMsg()</a> can be used to check if there is an error message explaining why.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRSFDriverRegistrar.html#a288add074182ea565eee8254836eee85">OGRSFDriverRegistrar::Open()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pszName</em>&nbsp;</td><td>the name of the file, or data source to open. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bUpdate</em>&nbsp;</td><td>FALSE for read-only access (the default) or TRUE for read-write access. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pahDriverList</em>&nbsp;</td><td>if non-NULL, this argument will be updated with a pointer to the driver which was used to open the data source.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>NULL on error or if the pass name is not supported by this driver, otherwise an handle to an <a class="el" href="classOGRDataSource.html">OGRDataSource</a>. This <a class="el" href="classOGRDataSource.html">OGRDataSource</a> should be closed by deleting the object when it is no longer needed.</dd></dl>
<p><b>Example:</b></p>
<pre>
    OGRDataSourceH	hDS;
    OGRSFDriverH        *pahDriver;</pre><pre>    hDS = OGROpen( "polygon.shp", 0, pahDriver );
    if( hDS == NULL )
    {
        return;
    }</pre><pre>    ... use the data source ...</pre><pre>    OGRReleaseDataSource( hDS );
  </pre> 
<p>References <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00238">OGROpen()</a>, and <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00183">OGRSFDriverRegistrar::Open()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00238">OGROpen()</a>.</p>

</div>
</div>
<a class="anchor" id="ae904632d0bc86ba5501921ca594e18da"></a><!-- doxytag: member="ogr_api.h::OGRRegisterAll" ref="ae904632d0bc86ba5501921ca594e18da" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGRRegisterAll </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Register all drivers. </p>

<p>Referenced by <a class="el" href="ogrregisterall_8cpp_source.html#l00038">OGRRegisterAll()</a>.</p>

</div>
</div>
<a class="anchor" id="a7ace3e4b97b55b999e16557a75bf7226"></a><!-- doxytag: member="ogr_api.h::OGRRegisterDriver" ref="a7ace3e4b97b55b999e16557a75bf7226" args="(OGRSFDriverH)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGRRegisterDriver </td>
          <td>(</td>
          <td class="paramtype">OGRSFDriverH&nbsp;</td>
          <td class="paramname"> <em>hDriver</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a driver to the list of registered drivers.</p>
<p>If the passed driver is already registered (based on handle comparison) then the driver isn't registered. New drivers are added at the end of the list of registered drivers.</p>
<p>This function is the same as the C++ method <a class="el" href="classOGRSFDriverRegistrar.html#a56a1c4fbd9bdfd484a2132963f52de1f">OGRSFDriverRegistrar::RegisterDriver()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hDriver</em>&nbsp;</td><td>handle to the driver to add. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00168">OGRSFDriverRegistrar::GetRegistrar()</a>, <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00560">OGRRegisterDriver()</a>, and <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00524">OGRSFDriverRegistrar::RegisterDriver()</a>.</p>

<p>Referenced by <a class="el" href="ogrsfdriverregistrar_8cpp_source.html#l00560">OGRRegisterDriver()</a>.</p>

</div>
</div>
</div>
<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.6.2-20100208.
</body>
</html>