Sophie

Sophie

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

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>GDAL: VRTDataset Class 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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>VRTDataset Class Reference</h1><!-- doxytag: class="VRTDataset" --><!-- doxytag: inherits="GDALDataset" --><div class="dynheader">
Inheritance diagram for VRTDataset:</div>
<div class="dynsection">
 <div class="center">
  <img src="classVRTDataset.png" usemap="#VRTDataset_map" alt=""/>
  <map id="VRTDataset_map" name="VRTDataset_map">
<area href="classGDALDataset.html" alt="GDALDataset" shape="rect" coords="0,56,122,80"/>
<area href="classGDALMajorObject.html" alt="GDALMajorObject" shape="rect" coords="0,0,122,24"/>
<area href="classVRTWarpedDataset.html" alt="VRTWarpedDataset" shape="rect" coords="0,168,122,192"/>
</map>
 </div>
</div>

<p><a href="classVRTDataset-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b6e59cf1bb0bc95c6d5578810b188ea"></a><!-- doxytag: member="VRTDataset::VRTDataset" ref="a0b6e59cf1bb0bc95c6d5578810b188ea" args="(int nXSize, int nYSize)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>VRTDataset</b> (int nXSize, int nYSize)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad111b238d244971ab7baa37263898fa4"></a><!-- doxytag: member="VRTDataset::SetNeedsFlush" ref="ad111b238d244971ab7baa37263898fa4" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>SetNeedsFlush</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#a6618a49d8b478b8c1d820d4369063512">FlushCache</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79030dce5e12adb1cde25090ae3c1d98"></a><!-- doxytag: member="VRTDataset::SetWritable" ref="a79030dce5e12adb1cde25090ae3c1d98" args="(int bWritable)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>SetWritable</b> (int bWritable)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#a6cfd21931bc455fe4ea94091b6d6d9ff">GetProjectionRef</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual CPLErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#a29e0841ae828bc41247f43270323ebfa">SetProjection</a> (const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual CPLErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#a1531325b71e290b90c8d9cc88bce6c2b">GetGeoTransform</a> (double *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual CPLErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#ac6152f1631f00e0301356e5fe6e76b44">SetGeoTransform</a> (double *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual CPLErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#ab40527beb0504a9a326d56bdec10599f">SetMetadata</a> (char **papszMD, const char *pszDomain=&quot;&quot;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual CPLErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#aa32453b40f3d4ba8cffe5088c70df818">SetMetadataItem</a> (const char *pszName, const char *pszValue, const char *pszDomain=&quot;&quot;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#aa1b4196cd2a55eed2b1683240fc68772">GetGCPCount</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#a8e8d03ad70f89fdd10e80e347f3ef07b">GetGCPProjection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="structGDAL__GCP.html">GDAL_GCP</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#af9bf248e72d67b71baef425e36e811c5">GetGCPs</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual CPLErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#aee853a2fad4204c5601f6d0fe4ea60d4">SetGCPs</a> (int nGCPCount, const <a class="el" href="structGDAL__GCP.html">GDAL_GCP</a> *pasGCPList, const char *pszGCPProjection)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual CPLErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVRTDataset.html#ac8f418bfa9b385e915cf6a1341de339c">AddBand</a> (<a class="el" href="gdal_8h.html#a22e22ce0a55036a96f652765793fb7a4">GDALDataType</a> eType, char **papszOptions=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a950aec7e1e863107f867fb87a5145d08"></a><!-- doxytag: member="VRTDataset::SerializeToXML" ref="a950aec7e1e863107f867fb87a5145d08" args="(const char *pszVRTPath)" -->
virtual <a class="el" href="structCPLXMLNode.html">CPLXMLNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>SerializeToXML</b> (const char *pszVRTPath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a777e31c0d984ed835c4acea535395187"></a><!-- doxytag: member="VRTDataset::XMLInit" ref="a777e31c0d984ed835c4acea535395187" args="(CPLXMLNode *, const char *)" -->
virtual CPLErr&nbsp;</td><td class="memItemRight" valign="bottom"><b>XMLInit</b> (<a class="el" href="structCPLXMLNode.html">CPLXMLNode</a> *, const char *)</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1184579c8859ada107f2038e8d05f225"></a><!-- doxytag: member="VRTDataset::Identify" ref="a1184579c8859ada107f2038e8d05f225" args="(GDALOpenInfo *)" -->
static int&nbsp;</td><td class="memItemRight" valign="bottom"><b>Identify</b> (<a class="el" href="classGDALOpenInfo.html">GDALOpenInfo</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6fe3fb5d2b560c884ebf76806903d5c4"></a><!-- doxytag: member="VRTDataset::Open" ref="a6fe3fb5d2b560c884ebf76806903d5c4" args="(GDALOpenInfo *)" -->
static <a class="el" href="classGDALDataset.html">GDALDataset</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>Open</b> (<a class="el" href="classGDALOpenInfo.html">GDALOpenInfo</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a0a676f871a7caadc8baa6151842bef"></a><!-- doxytag: member="VRTDataset::OpenXML" ref="a6a0a676f871a7caadc8baa6151842bef" args="(const char *, const char *=NULL)" -->
static <a class="el" href="classGDALDataset.html">GDALDataset</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>OpenXML</b> (const char *, const char *=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e96615ffc1bb8306827fb9b93452a6a"></a><!-- doxytag: member="VRTDataset::Create" ref="a4e96615ffc1bb8306827fb9b93452a6a" args="(const char *pszName, int nXSize, int nYSize, int nBands, GDALDataType eType, char **papszOptions)" -->
static <a class="el" href="classGDALDataset.html">GDALDataset</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>Create</b> (const char *pszName, int nXSize, int nYSize, int nBands, <a class="el" href="gdal_8h.html#a22e22ce0a55036a96f652765793fb7a4">GDALDataType</a> eType, char **papszOptions)</td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac8f418bfa9b385e915cf6a1341de339c"></a><!-- doxytag: member="VRTDataset::AddBand" ref="ac8f418bfa9b385e915cf6a1341de339c" args="(GDALDataType eType, char **papszOptions=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CPLErr VRTDataset::AddBand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="gdal_8h.html#a22e22ce0a55036a96f652765793fb7a4">GDALDataType</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> = <code>NULL</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a band to a dataset.</p>
<p>This method will add a new band to the dataset if the underlying format supports this action. Most formats do not.</p>
<p>Note that the new <a class="el" href="classGDALRasterBand.html" title="A single raster band (or channel).">GDALRasterBand</a> is not returned. It may be fetched after successful completion of the method by calling <a class="el" href="classGDALDataset.html#ad96adcf07f2979ad176e37a7f8638fb6">GDALDataset::GetRasterBand</a>(<a class="el" href="classGDALDataset.html#a01ed7cc3d711651470212dac01af69a0">GDALDataset::GetRasterCount()</a>-1) as the newest band will always be the last band.</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 data type of the pixels in the new band.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>papszOptions</em>&nbsp;</td><td>a list of NAME=VALUE option strings. The supported options are format specific. NULL may be passed by default.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>CE_None on success or CE_Failure on failure. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#a5b3704f0992f5170da34d940016fe095">GDALDataset</a>.</p>

<p>Reimplemented in <a class="el" href="classVRTWarpedDataset.html#a7bbd6dbc5f3c9c208c2a2406767b6334">VRTWarpedDataset</a>.</p>

<p>References <a class="el" href="gdal__misc_8cpp_source.html#l00214">GDALGetDataTypeSize()</a>, <a class="el" href="gdaldataset_8cpp_source.html#l00663">GDALDataset::GetRasterCount()</a>, <a class="el" href="gdaldataset_8cpp_source.html#l00541">GDALDataset::GetRasterXSize()</a>, and <a class="el" href="gdaldataset_8cpp_source.html#l00578">GDALDataset::GetRasterYSize()</a>.</p>

</div>
</div>
<a class="anchor" id="a6618a49d8b478b8c1d820d4369063512"></a><!-- doxytag: member="VRTDataset::FlushCache" ref="a6618a49d8b478b8c1d820d4369063512" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VRTDataset::FlushCache </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Flush all write cached data to disk.</p>
<p>Any raster (or other GDAL) data written via GDAL calls, but buffered internally will be written to disk.</p>
<p>This method is the same as the C function <a class="el" href="gdal_8h.html#a68383ad68c98ba0ef6c3a75637f585b9">GDALFlushCache()</a>. </p>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#ab6421c7ec7068c274a030e22aa6609e1">GDALDataset</a>.</p>

<p>References <a class="el" href="cpl__path_8cpp_source.html#l00110">CPLGetPath()</a>, <a class="el" href="gdalmajorobject_8cpp_source.html#l00074">GDALMajorObject::GetDescription()</a>, <a class="el" href="cpl__vsil_8cpp_source.html#l00301">VSIFCloseL()</a>, <a class="el" href="cpl__vsil_8cpp_source.html#l00273">VSIFOpenL()</a>, and <a class="el" href="cpl__vsil_8cpp_source.html#l00463">VSIFWriteL()</a>.</p>

</div>
</div>
<a class="anchor" id="aa1b4196cd2a55eed2b1683240fc68772"></a><!-- doxytag: member="VRTDataset::GetGCPCount" ref="aa1b4196cd2a55eed2b1683240fc68772" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int VRTDataset::GetGCPCount </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get number of GCPs.</p>
<p>This method is the same as the C function <a class="el" href="gdal_8h.html#acb5f3db440085f54402d9ba842bf1fc3">GDALGetGCPCount()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of GCPs for this dataset. Zero if there are none. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#a499a33ef83b64c38fa218c83a113bd09">GDALDataset</a>.</p>

</div>
</div>
<a class="anchor" id="a8e8d03ad70f89fdd10e80e347f3ef07b"></a><!-- doxytag: member="VRTDataset::GetGCPProjection" ref="a8e8d03ad70f89fdd10e80e347f3ef07b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * VRTDataset::GetGCPProjection </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get output projection for GCPs.</p>
<p>This method is the same as the C function <a class="el" href="gdal_8h.html#a9de50ea77a57cb6bc84afdc658288c08">GDALGetGCPProjection()</a>.</p>
<p>The projection string follows the normal rules from <a class="el" href="classVRTDataset.html#a6cfd21931bc455fe4ea94091b6d6d9ff">GetProjectionRef()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>internal projection string or "" if there are no GCPs. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#a35ea63c2f9ea12afd190ca2446d02ddb">GDALDataset</a>.</p>

</div>
</div>
<a class="anchor" id="af9bf248e72d67b71baef425e36e811c5"></a><!-- doxytag: member="VRTDataset::GetGCPs" ref="af9bf248e72d67b71baef425e36e811c5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structGDAL__GCP.html">GDAL_GCP</a> * VRTDataset::GetGCPs </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch GCPs.</p>
<p>This method is the same as the C function <a class="el" href="gdal_8h.html#ac301b5c545843cf2ef672a831153d1e3">GDALGetGCPs()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to internal GCP structure list. It should not be modified, and may change on the next GDAL call. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#ac91ea1fc26dd19f14d31baec4988d5b6">GDALDataset</a>.</p>

</div>
</div>
<a class="anchor" id="a1531325b71e290b90c8d9cc88bce6c2b"></a><!-- doxytag: member="VRTDataset::GetGeoTransform" ref="a1531325b71e290b90c8d9cc88bce6c2b" args="(double *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CPLErr VRTDataset::GetGeoTransform </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>padfTransform</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the affine transformation coefficients.</p>
<p>Fetches the coefficients for transforming between pixel/line (P,L) raster space, and projection coordinates (Xp,Yp) space.</p>
<div class="fragment"><pre class="fragment">   Xp = padfTransform[0] + P*padfTransform[1] + L*padfTransform[2];
   Yp = padfTransform[3] + P*padfTransform[4] + L*padfTransform[5];
</pre></div><p>In a north up image, padfTransform[1] is the pixel width, and padfTransform[5] is the pixel height. The upper left corner of the upper left pixel is at position (padfTransform[0],padfTransform[3]).</p>
<p>The default transform is (0,1,0,0,0,1) and should be returned even when a CE_Failure error is returned, such as for formats that don't support transformation to projection coordinates.</p>
<p>NOTE: <a class="el" href="classVRTDataset.html#a1531325b71e290b90c8d9cc88bce6c2b">GetGeoTransform()</a> isn't expressive enough to handle the variety of OGC Grid Coverages pixel/line to projection transformation schemes. Eventually this method will be depreciated in favour of a more general scheme.</p>
<p>This method does the same thing as the C <a class="el" href="gdal_8h.html#adf94718221d264fc798043e13adf8c8f">GDALGetGeoTransform()</a> 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>padfTransform</em>&nbsp;</td><td>an existing six double buffer into which the transformation will be placed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>CE_None on success, or CE_Failure if no transform can be fetched. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#af9593cc241e7d140f5f3c4798a43a668">GDALDataset</a>.</p>

</div>
</div>
<a class="anchor" id="a6cfd21931bc455fe4ea94091b6d6d9ff"></a><!-- doxytag: member="VRTDataset::GetProjectionRef" ref="a6cfd21931bc455fe4ea94091b6d6d9ff" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * VRTDataset::GetProjectionRef </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch the projection definition string for this dataset.</p>
<p>Same as the C function <a class="el" href="gdal_8h.html#a639a11014cf6c4ff30df6f21d5db9da2">GDALGetProjectionRef()</a>.</p>
<p>The returned string defines the projection coordinate system of the image in OpenGIS WKT format. It should be suitable for use with the OGRSpatialReference class.</p>
<p>When a projection definition is not available an empty (but not NULL) string is returned.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to an internal projection reference string. It should not be altered, freed or expected to last for long.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a href="http://www.gdal.org/ogr/osr_tutorial.html">http://www.gdal.org/ogr/osr_tutorial.html</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#aa42537e1062ce254d124b29ff3ebe857">GDALDataset</a>.</p>

</div>
</div>
<a class="anchor" id="aee853a2fad4204c5601f6d0fe4ea60d4"></a><!-- doxytag: member="VRTDataset::SetGCPs" ref="aee853a2fad4204c5601f6d0fe4ea60d4" args="(int nGCPCount, const GDAL_GCP *pasGCPList, const char *pszGCPProjection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CPLErr VRTDataset::SetGCPs </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nGCPCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structGDAL__GCP.html">GDAL_GCP</a> *&nbsp;</td>
          <td class="paramname"> <em>pasGCPList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszGCPProjection</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assign GCPs.</p>
<p>This method is the same as the C function <a class="el" href="gdal_8h.html#acd47aa85ca5751fbe9ea09c1a2341ef8">GDALSetGCPs()</a>.</p>
<p>This method assigns the passed set of GCPs to this dataset, as well as setting their coordinate system. Internally copies are made of the coordinate system and list of points, so the caller remains resposible for deallocating these arguments if appropriate.</p>
<p>Most formats do not support setting of GCPs, even foramts that can handle GCPs. These formats will return CE_Failure.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nGCPCount</em>&nbsp;</td><td>number of GCPs being assigned.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pasGCPList</em>&nbsp;</td><td>array of GCP structures being assign (nGCPCount in array).</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszGCPProjection</em>&nbsp;</td><td>the new OGC WKT coordinate system to assign for the GCP output coordinates. This parameter should be "" if no output coordinate system is known.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>CE_None on success, CE_Failure on failure (including if action is not supported for this format). </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#a3c812b05467213f05055c1f18438d874">GDALDataset</a>.</p>

</div>
</div>
<a class="anchor" id="ac6152f1631f00e0301356e5fe6e76b44"></a><!-- doxytag: member="VRTDataset::SetGeoTransform" ref="ac6152f1631f00e0301356e5fe6e76b44" args="(double *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CPLErr VRTDataset::SetGeoTransform </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the affine transformation coefficients.</p>
<p>See <a class="el" href="classVRTDataset.html#a1531325b71e290b90c8d9cc88bce6c2b">GetGeoTransform()</a> for details on the meaning of the padfTransform coefficients.</p>
<p>This method does the same thing as the C <a class="el" href="gdal_8h.html#ae93448112c1a7e69f2764c1aa3c6c8b5">GDALSetGeoTransform()</a> 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>padfTransform</em>&nbsp;</td><td>a six double buffer containing the transformation coefficients to be written with the dataset.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>CE_None on success, or CE_Failure if this transform cannot be written. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#a0fe0f81d65d84557b5d71ddc024faa02">GDALDataset</a>.</p>

<p>Referenced by <a class="el" href="vrtwarped_8cpp_source.html#l00216">GDALCreateWarpedVRT()</a>.</p>

</div>
</div>
<a class="anchor" id="ab40527beb0504a9a326d56bdec10599f"></a><!-- doxytag: member="VRTDataset::SetMetadata" ref="ab40527beb0504a9a326d56bdec10599f" args="(char **papszMD, const char *pszDomain=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CPLErr VRTDataset::SetMetadata </td>
          <td>(</td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>papszMetadataIn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszDomain</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set metadata.</p>
<p>The C function <a class="el" href="gdal_8h.html#ac92aec63371e9e4b0121276406f0bd8d">GDALSetMetadata()</a> does the same thing as 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>papszMetadata</em>&nbsp;</td><td>the metadata in name=value string list format to apply. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszDomain</em>&nbsp;</td><td>the domain of interest. Use "" or NULL for the default domain. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>CE_None on success, CE_Failure on failure and CE_Warning if the metadata has been accepted, but is likely not maintained persistently by the underlying object between sessions. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALMajorObject.html#a61ab7226d95b20e3e1f42461a1f62906">GDALMajorObject</a>.</p>

</div>
</div>
<a class="anchor" id="aa32453b40f3d4ba8cffe5088c70df818"></a><!-- doxytag: member="VRTDataset::SetMetadataItem" ref="aa32453b40f3d4ba8cffe5088c70df818" args="(const char *pszName, const char *pszValue, const char *pszDomain=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CPLErr VRTDataset::SetMetadataItem </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">const char *&nbsp;</td>
          <td class="paramname"> <em>pszValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>pszDomain</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set single metadata item.</p>
<p>The C function <a class="el" href="gdal_8h.html#a55f0b4c5192d18deb4dcf1a89ed59bbe">GDALSetMetadataItem()</a> does the same thing as 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>pszName</em>&nbsp;</td><td>the key for the metadata item to fetch. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszValue</em>&nbsp;</td><td>the value to assign to the key. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pszDomain</em>&nbsp;</td><td>the domain to set within, use NULL for the default domain.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>CE_None on success, or an error code on failure. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALMajorObject.html#a3e157735f6ff6e11935c2a2dbcc24c92">GDALMajorObject</a>.</p>

</div>
</div>
<a class="anchor" id="a29e0841ae828bc41247f43270323ebfa"></a><!-- doxytag: member="VRTDataset::SetProjection" ref="a29e0841ae828bc41247f43270323ebfa" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CPLErr VRTDataset::SetProjection </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the projection reference string for this dataset.</p>
<p>The string should be in OGC WKT or PROJ.4 format. An error may occur because of incorrectly specified projection strings, because the dataset is not writable, or because the dataset does not support the indicated projection. Many formats do not support writing projections.</p>
<p>This method is the same as the C <a class="el" href="gdal_8h.html#a145f2be5db1ac31a07a9d4389f4ace65">GDALSetProjection()</a> 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>pszProjection</em>&nbsp;</td><td>projection reference string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>CE_Failure if an error occurs, otherwise CE_None. </dd></dl>

<p>Reimplemented from <a class="el" href="classGDALDataset.html#ae2d2e231f6d632f8c2b2cf0078a01150">GDALDataset</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="vrtdataset_8h_source.html">vrtdataset.h</a></li>
<li>vrtdataset.cpp</li>
</ul>
</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>