<!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_spatialref.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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>ogr_spatialref.h File Reference</h1><code>#include "<a class="el" href="ogr__srs__api_8h_source.html">ogr_srs_api.h</a>"</code><br/> <p><a href="ogr__spatialref_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>Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="ogr__spatialref_8h.html#aae11bd08e45cdb2e71e1d9c31f1e550f">OGRCreateCoordinateTransformation</a> (<a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *poSource, <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *poTarget)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Coordinate systems services. </p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="aae11bd08e45cdb2e71e1d9c31f1e550f"></a><!-- doxytag: member="ogr_spatialref.h::OGRCreateCoordinateTransformation" ref="aae11bd08e45cdb2e71e1d9c31f1e550f" args="(OGRSpatialReference *poSource, OGRSpatialReference *poTarget)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a>* OGRCreateCoordinateTransformation </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"> <em>poSource</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"> <em>poTarget</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create transformation object.</p> <p>This is the same as the C function OCTNewCoordinateTransformation().</p> <p>Input spatial reference system objects are assigned by copy (calling clone() method) and no ownership transfer occurs.</p> <p>The delete operator, or OCTDestroyCoordinateTransformation() should be used to destroy transformation objects.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>poSource</em> </td><td>source spatial reference system. </td></tr> <tr><td valign="top"></td><td valign="top"><em>poTarget</em> </td><td>target spatial reference system. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>NULL on failure or a ready to use transformation object. </dd></dl> <p>References <a class="el" href="ogrct_8cpp_source.html#l00290">OGRCreateCoordinateTransformation()</a>.</p> <p>Referenced by <a class="el" href="ogrct_8cpp_source.html#l00290">OGRCreateCoordinateTransformation()</a>, and <a class="el" href="ogrgeometry_8cpp_source.html#l00409">OGRGeometry::transformTo()</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>