EVOLUTION-MANAGER
Edit File: classOGRSpatialReference.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>OGR: OGRSpatialReference Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">OGR </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="classOGRSpatialReference-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">OGRSpatialReference Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="ogr__spatialref_8h_source.html">ogr_spatialref.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a10e93344649a380d75b9925ad53d86ac"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a10e93344649a380d75b9925ad53d86ac">OGRSpatialReference</a> (const char *=NULL)</td></tr> <tr class="memdesc:a10e93344649a380d75b9925ad53d86ac"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a10e93344649a380d75b9925ad53d86ac">More...</a><br/></td></tr> <tr class="separator:a10e93344649a380d75b9925ad53d86ac"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af1bb4c483a6b7bf1c3fe9de0b7b00e1e"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#af1bb4c483a6b7bf1c3fe9de0b7b00e1e">~OGRSpatialReference</a> ()</td></tr> <tr class="memdesc:af1bb4c483a6b7bf1c3fe9de0b7b00e1e"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> destructor. <a href="#af1bb4c483a6b7bf1c3fe9de0b7b00e1e">More...</a><br/></td></tr> <tr class="separator:af1bb4c483a6b7bf1c3fe9de0b7b00e1e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4b638c33c0a2b53e59fe694f26f8f89c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a4b638c33c0a2b53e59fe694f26f8f89c">Reference</a> ()</td></tr> <tr class="memdesc:a4b638c33c0a2b53e59fe694f26f8f89c"><td class="mdescLeft"> </td><td class="mdescRight">Increments the reference count by one. <a href="#a4b638c33c0a2b53e59fe694f26f8f89c">More...</a><br/></td></tr> <tr class="separator:a4b638c33c0a2b53e59fe694f26f8f89c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ade185ac8ef1724fea5ec3c0e68eaae81"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ade185ac8ef1724fea5ec3c0e68eaae81">Dereference</a> ()</td></tr> <tr class="memdesc:ade185ac8ef1724fea5ec3c0e68eaae81"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count by one. <a href="#ade185ac8ef1724fea5ec3c0e68eaae81">More...</a><br/></td></tr> <tr class="separator:ade185ac8ef1724fea5ec3c0e68eaae81"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b4e29e50d8591aa2c75620367eb2123"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a0b4e29e50d8591aa2c75620367eb2123">GetReferenceCount</a> () const </td></tr> <tr class="memdesc:a0b4e29e50d8591aa2c75620367eb2123"><td class="mdescLeft"> </td><td class="mdescRight">Fetch current reference count. <a href="#a0b4e29e50d8591aa2c75620367eb2123">More...</a><br/></td></tr> <tr class="separator:a0b4e29e50d8591aa2c75620367eb2123"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aef9a8378c266604b9cd09042597a649f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aef9a8378c266604b9cd09042597a649f">Release</a> ()</td></tr> <tr class="memdesc:aef9a8378c266604b9cd09042597a649f"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count by one, and destroy if zero. <a href="#aef9a8378c266604b9cd09042597a649f">More...</a><br/></td></tr> <tr class="separator:aef9a8378c266604b9cd09042597a649f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a859adfd14d3a050337dcda7d5bdd5a79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a859adfd14d3a050337dcda7d5bdd5a79">Clone</a> () const </td></tr> <tr class="memdesc:a859adfd14d3a050337dcda7d5bdd5a79"><td class="mdescLeft"> </td><td class="mdescRight">Make a duplicate of this <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>. <a href="#a859adfd14d3a050337dcda7d5bdd5a79">More...</a><br/></td></tr> <tr class="separator:a859adfd14d3a050337dcda7d5bdd5a79"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0c1e2b108255487f91ae448f5c11f67c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a0c1e2b108255487f91ae448f5c11f67c">CloneGeogCS</a> () const </td></tr> <tr class="memdesc:a0c1e2b108255487f91ae448f5c11f67c"><td class="mdescLeft"> </td><td class="mdescRight">Make a duplicate of the GEOGCS node of this <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> object. <a href="#a0c1e2b108255487f91ae448f5c11f67c">More...</a><br/></td></tr> <tr class="separator:a0c1e2b108255487f91ae448f5c11f67c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a596b8e527d66a5054408159f0006fdac"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a596b8e527d66a5054408159f0006fdac">exportToWkt</a> (char **) const </td></tr> <tr class="memdesc:a596b8e527d66a5054408159f0006fdac"><td class="mdescLeft"> </td><td class="mdescRight">Convert this SRS into WKT format. <a href="#a596b8e527d66a5054408159f0006fdac">More...</a><br/></td></tr> <tr class="separator:a596b8e527d66a5054408159f0006fdac"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a635423e09630b4d31b2fa4259667a4ec"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a635423e09630b4d31b2fa4259667a4ec">exportToPrettyWkt</a> (char **, int=FALSE) const </td></tr> <tr class="separator:a635423e09630b4d31b2fa4259667a4ec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28bd9b81856b6a93861576fff0933bb9"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4</a> (char **) const </td></tr> <tr class="memdesc:a28bd9b81856b6a93861576fff0933bb9"><td class="mdescLeft"> </td><td class="mdescRight">Export coordinate system in PROJ.4 format. <a href="#a28bd9b81856b6a93861576fff0933bb9">More...</a><br/></td></tr> <tr class="separator:a28bd9b81856b6a93861576fff0933bb9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad91c0f34ebfe6fd08001ced4d805b201"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI</a> (char **, char **, double **) const </td></tr> <tr class="memdesc:ad91c0f34ebfe6fd08001ced4d805b201"><td class="mdescLeft"> </td><td class="mdescRight">Export coordinate system in PCI projection definition. <a href="#ad91c0f34ebfe6fd08001ced4d805b201">More...</a><br/></td></tr> <tr class="separator:ad91c0f34ebfe6fd08001ced4d805b201"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a04ab13a2ec4ceffd6f802422f95e8f15"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a04ab13a2ec4ceffd6f802422f95e8f15">exportToUSGS</a> (long *, long *, double **, long *) const </td></tr> <tr class="memdesc:a04ab13a2ec4ceffd6f802422f95e8f15"><td class="mdescLeft"> </td><td class="mdescRight">Export coordinate system in USGS GCTP projection definition. <a href="#a04ab13a2ec4ceffd6f802422f95e8f15">More...</a><br/></td></tr> <tr class="separator:a04ab13a2ec4ceffd6f802422f95e8f15"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acfcddbb8bf50bfe3de4913c5b7aff228"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#acfcddbb8bf50bfe3de4913c5b7aff228">exportToXML</a> (char **, const char *=NULL) const </td></tr> <tr class="memdesc:acfcddbb8bf50bfe3de4913c5b7aff228"><td class="mdescLeft"> </td><td class="mdescRight">Export coordinate system in XML format. <a href="#acfcddbb8bf50bfe3de4913c5b7aff228">More...</a><br/></td></tr> <tr class="separator:acfcddbb8bf50bfe3de4913c5b7aff228"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2172f6cf2ea15a417474ef114f91397c"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a2172f6cf2ea15a417474ef114f91397c">exportToPanorama</a> (long *, long *, long *, long *, double *) const </td></tr> <tr class="separator:a2172f6cf2ea15a417474ef114f91397c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a574b5f221ae0b41bc4f82baeb8ab2f1c"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM</a> (char *pszProj, char *pszDatum, char *pszUnits)</td></tr> <tr class="separator:a574b5f221ae0b41bc4f82baeb8ab2f1c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1f2908cd5ca33609844ef0c0ff2186ea"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a1f2908cd5ca33609844ef0c0ff2186ea">exportToMICoordSys</a> (char **) const </td></tr> <tr class="memdesc:a1f2908cd5ca33609844ef0c0ff2186ea"><td class="mdescLeft"> </td><td class="mdescRight">Export coordinate system in Mapinfo style CoordSys format. <a href="#a1f2908cd5ca33609844ef0c0ff2186ea">More...</a><br/></td></tr> <tr class="separator:a1f2908cd5ca33609844ef0c0ff2186ea"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab74cfc985bd05404a4c61d2d633a6343"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343">importFromWkt</a> (char **)</td></tr> <tr class="memdesc:ab74cfc985bd05404a4c61d2d633a6343"><td class="mdescLeft"> </td><td class="mdescRight">Import from WKT string. <a href="#ab74cfc985bd05404a4c61d2d633a6343">More...</a><br/></td></tr> <tr class="separator:ab74cfc985bd05404a4c61d2d633a6343"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af1a29550373c2c14bd11514641e58e7c"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4</a> (const char *)</td></tr> <tr class="memdesc:af1a29550373c2c14bd11514641e58e7c"><td class="mdescLeft"> </td><td class="mdescRight">Import PROJ.4 coordinate string. <a href="#af1a29550373c2c14bd11514641e58e7c">More...</a><br/></td></tr> <tr class="separator:af1a29550373c2c14bd11514641e58e7c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8a5b8c9a205eedc6b88a14aa0c219969"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG</a> (int)</td></tr> <tr class="memdesc:a8a5b8c9a205eedc6b88a14aa0c219969"><td class="mdescLeft"> </td><td class="mdescRight">Initialize SRS based on EPSG GCS or PCS code. <a href="#a8a5b8c9a205eedc6b88a14aa0c219969">More...</a><br/></td></tr> <tr class="separator:a8a5b8c9a205eedc6b88a14aa0c219969"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa6965a1df98cdc673dfb20697eab613"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA</a> (int)</td></tr> <tr class="memdesc:aaa6965a1df98cdc673dfb20697eab613"><td class="mdescLeft"> </td><td class="mdescRight">Initialize SRS based on EPSG GCS or PCS code. <a href="#aaa6965a1df98cdc673dfb20697eab613">More...</a><br/></td></tr> <tr class="separator:aaa6965a1df98cdc673dfb20697eab613"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af91af2639702e2793daf93ffe231b577"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI</a> (char **)</td></tr> <tr class="memdesc:af91af2639702e2793daf93ffe231b577"><td class="mdescLeft"> </td><td class="mdescRight">Import coordinate system from ESRI .prj format(s). <a href="#af91af2639702e2793daf93ffe231b577">More...</a><br/></td></tr> <tr class="separator:af91af2639702e2793daf93ffe231b577"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a52f1557adb638b64487afd9c430148f4"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI</a> (const char *, const char *=NULL, double *=NULL)</td></tr> <tr class="memdesc:a52f1557adb638b64487afd9c430148f4"><td class="mdescLeft"> </td><td class="mdescRight">Import coordinate system from PCI projection definition. <a href="#a52f1557adb638b64487afd9c430148f4">More...</a><br/></td></tr> <tr class="separator:a52f1557adb638b64487afd9c430148f4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3db677257b3a288473ebe66857aec97d"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS</a> (long iProjSys, long iZone, double *padfPrjParams, long iDatum, int nUSGSAngleFormat=TRUE)</td></tr> <tr class="memdesc:a3db677257b3a288473ebe66857aec97d"><td class="mdescLeft"> </td><td class="mdescRight">Import coordinate system from USGS projection definition. <a href="#a3db677257b3a288473ebe66857aec97d">More...</a><br/></td></tr> <tr class="separator:a3db677257b3a288473ebe66857aec97d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6a534e7d862a17c92a31d821848533c8"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama</a> (long, long, long, double *)</td></tr> <tr class="separator:a6a534e7d862a17c92a31d821848533c8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a04eb3540e6381d5e6c86dfa088920fa3"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a04eb3540e6381d5e6c86dfa088920fa3">importFromOzi</a> (const char *, const char *, const char *)</td></tr> <tr class="separator:a04eb3540e6381d5e6c86dfa088920fa3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a84c754327d7081c25358e1a4a6dcf002"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi</a> (const char *const *papszLines)</td></tr> <tr class="separator:a84c754327d7081c25358e1a4a6dcf002"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8d1d4cf6b5d2e62ca2fd2162dc80624c"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO</a> (const char *pszAutoDef)</td></tr> <tr class="memdesc:a8d1d4cf6b5d2e62ca2fd2162dc80624c"><td class="mdescLeft"> </td><td class="mdescRight">Initialize from WMSAUTO string. <a href="#a8d1d4cf6b5d2e62ca2fd2162dc80624c">More...</a><br/></td></tr> <tr class="separator:a8d1d4cf6b5d2e62ca2fd2162dc80624c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae4a9b831b90c3984f96f47936b114adb"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ae4a9b831b90c3984f96f47936b114adb">importFromXML</a> (const char *)</td></tr> <tr class="memdesc:ae4a9b831b90c3984f96f47936b114adb"><td class="mdescLeft"> </td><td class="mdescRight">Import coordinate system from XML format (GML only currently). <a href="#ae4a9b831b90c3984f96f47936b114adb">More...</a><br/></td></tr> <tr class="separator:ae4a9b831b90c3984f96f47936b114adb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad6daf2b64d379a4484413fc9755cc7f6"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ad6daf2b64d379a4484413fc9755cc7f6">importFromDict</a> (const char *pszDict, const char *pszCode)</td></tr> <tr class="separator:ad6daf2b64d379a4484413fc9755cc7f6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ca72094be024d06925d0e610c298cce"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6ca72094be024d06925d0e610c298cce">importFromURN</a> (const char *)</td></tr> <tr class="memdesc:a6ca72094be024d06925d0e610c298cce"><td class="mdescLeft"> </td><td class="mdescRight">Initialize from OGC URN. <a href="#a6ca72094be024d06925d0e610c298cce">More...</a><br/></td></tr> <tr class="separator:a6ca72094be024d06925d0e610c298cce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6c127a25699d8b59e79866b1167d07b4"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">importFromCRSURL</a> (const char *)</td></tr> <tr class="memdesc:a6c127a25699d8b59e79866b1167d07b4"><td class="mdescLeft"> </td><td class="mdescRight">Initialize from OGC URL. <a href="#a6c127a25699d8b59e79866b1167d07b4">More...</a><br/></td></tr> <tr class="separator:a6c127a25699d8b59e79866b1167d07b4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aae4588813e3034a0d920a5787ff71a32"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aae4588813e3034a0d920a5787ff71a32">importFromERM</a> (const char *pszProj, const char *pszDatum, const char *pszUnits)</td></tr> <tr class="separator:aae4588813e3034a0d920a5787ff71a32"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a93d00386ac9ce5db2f9b6e651afa442f"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a93d00386ac9ce5db2f9b6e651afa442f">importFromUrl</a> (const char *)</td></tr> <tr class="memdesc:a93d00386ac9ce5db2f9b6e651afa442f"><td class="mdescLeft"> </td><td class="mdescRight">Set spatial reference from a URL. <a href="#a93d00386ac9ce5db2f9b6e651afa442f">More...</a><br/></td></tr> <tr class="separator:a93d00386ac9ce5db2f9b6e651afa442f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1acf0f6cac3125cc878a99433033c140"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a1acf0f6cac3125cc878a99433033c140">importFromMICoordSys</a> (const char *)</td></tr> <tr class="memdesc:a1acf0f6cac3125cc878a99433033c140"><td class="mdescLeft"> </td><td class="mdescRight">Import Mapinfo style CoordSys definition. <a href="#a1acf0f6cac3125cc878a99433033c140">More...</a><br/></td></tr> <tr class="separator:a1acf0f6cac3125cc878a99433033c140"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aac948450b15fa3d8814ab440b9f705b7"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI</a> ()</td></tr> <tr class="memdesc:aac948450b15fa3d8814ab440b9f705b7"><td class="mdescLeft"> </td><td class="mdescRight">Convert in place to ESRI WKT format. <a href="#aac948450b15fa3d8814ab440b9f705b7">More...</a><br/></td></tr> <tr class="separator:aac948450b15fa3d8814ab440b9f705b7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad556dfdc04d9ec5f1714fc6b5e0eb6a6"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI</a> ()</td></tr> <tr class="memdesc:ad556dfdc04d9ec5f1714fc6b5e0eb6a6"><td class="mdescLeft"> </td><td class="mdescRight">Convert in place from ESRI WKT format. <a href="#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">More...</a><br/></td></tr> <tr class="separator:ad556dfdc04d9ec5f1714fc6b5e0eb6a6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aae2d987b92bc798f9bea5b1a18cf0ad2"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aae2d987b92bc798f9bea5b1a18cf0ad2">Validate</a> ()</td></tr> <tr class="memdesc:aae2d987b92bc798f9bea5b1a18cf0ad2"><td class="mdescLeft"> </td><td class="mdescRight">Validate SRS tokens. <a href="#aae2d987b92bc798f9bea5b1a18cf0ad2">More...</a><br/></td></tr> <tr class="separator:aae2d987b92bc798f9bea5b1a18cf0ad2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa3972cb59efaf55618e0a49b9af174c0"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aa3972cb59efaf55618e0a49b9af174c0">StripCTParms</a> (<a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> *=NULL)</td></tr> <tr class="memdesc:aa3972cb59efaf55618e0a49b9af174c0"><td class="mdescLeft"> </td><td class="mdescRight">Strip OGC CT Parameters. <a href="#aa3972cb59efaf55618e0a49b9af174c0">More...</a><br/></td></tr> <tr class="separator:aa3972cb59efaf55618e0a49b9af174c0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aff482ab330681678d7baff602389e7fc"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aff482ab330681678d7baff602389e7fc">StripVertical</a> ()</td></tr> <tr class="memdesc:aff482ab330681678d7baff602389e7fc"><td class="mdescLeft"> </td><td class="mdescRight">Convert a compound cs into a horizontal CS. <a href="#aff482ab330681678d7baff602389e7fc">More...</a><br/></td></tr> <tr class="separator:aff482ab330681678d7baff602389e7fc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae1b29a686944ae51ed924aa5138b45ba"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">FixupOrdering</a> ()</td></tr> <tr class="memdesc:ae1b29a686944ae51ed924aa5138b45ba"><td class="mdescLeft"> </td><td class="mdescRight">Correct parameter ordering to match CT Specification. <a href="#ae1b29a686944ae51ed924aa5138b45ba">More...</a><br/></td></tr> <tr class="separator:ae1b29a686944ae51ed924aa5138b45ba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a429b0446798982c6c19efcb7042a8cbc"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a429b0446798982c6c19efcb7042a8cbc">Fixup</a> ()</td></tr> <tr class="memdesc:a429b0446798982c6c19efcb7042a8cbc"><td class="mdescLeft"> </td><td class="mdescRight">Fixup as needed. <a href="#a429b0446798982c6c19efcb7042a8cbc">More...</a><br/></td></tr> <tr class="separator:a429b0446798982c6c19efcb7042a8cbc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a519cce70fd39f974c61342bf73ab01ad"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a519cce70fd39f974c61342bf73ab01ad">EPSGTreatsAsLatLong</a> ()</td></tr> <tr class="memdesc:a519cce70fd39f974c61342bf73ab01ad"><td class="mdescLeft"> </td><td class="mdescRight">This method returns TRUE if EPSG feels this geographic coordinate system should be treated as having lat/long coordinate ordering. <a href="#a519cce70fd39f974c61342bf73ab01ad">More...</a><br/></td></tr> <tr class="separator:a519cce70fd39f974c61342bf73ab01ad"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2fe484ea1e7c8e8121b3ae05bb1a1878"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878">EPSGTreatsAsNorthingEasting</a> ()</td></tr> <tr class="memdesc:a2fe484ea1e7c8e8121b3ae05bb1a1878"><td class="mdescLeft"> </td><td class="mdescRight">This method returns TRUE if EPSG feels this projected coordinate system should be treated as having northing/easting coordinate ordering. <a href="#a2fe484ea1e7c8e8121b3ae05bb1a1878">More...</a><br/></td></tr> <tr class="separator:a2fe484ea1e7c8e8121b3ae05bb1a1878"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a485ca347702eea566fc239782a6b74fa"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a485ca347702eea566fc239782a6b74fa">GetAxis</a> (const char *pszTargetKey, int iAxis, OGRAxisOrientation *peOrientation) const </td></tr> <tr class="memdesc:a485ca347702eea566fc239782a6b74fa"><td class="mdescLeft"> </td><td class="mdescRight">Fetch the orientation of one axis. <a href="#a485ca347702eea566fc239782a6b74fa">More...</a><br/></td></tr> <tr class="separator:a485ca347702eea566fc239782a6b74fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2298795cd7efad5ff24ebbefa3606c0e"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a2298795cd7efad5ff24ebbefa3606c0e">SetAxes</a> (const char *pszTargetKey, const char *pszXAxisName, OGRAxisOrientation eXAxisOrientation, const char *pszYAxisName, OGRAxisOrientation eYAxisOrientation)</td></tr> <tr class="memdesc:a2298795cd7efad5ff24ebbefa3606c0e"><td class="mdescLeft"> </td><td class="mdescRight">Set the axes for a coordinate system. <a href="#a2298795cd7efad5ff24ebbefa3606c0e">More...</a><br/></td></tr> <tr class="separator:a2298795cd7efad5ff24ebbefa3606c0e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28eeee5688ff6cea07e74ccd4c18a3b0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a28eeee5688ff6cea07e74ccd4c18a3b0">SetRoot</a> (<a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> *)</td></tr> <tr class="memdesc:a28eeee5688ff6cea07e74ccd4c18a3b0"><td class="mdescLeft"> </td><td class="mdescRight">Set the root SRS node. <a href="#a28eeee5688ff6cea07e74ccd4c18a3b0">More...</a><br/></td></tr> <tr class="separator:a28eeee5688ff6cea07e74ccd4c18a3b0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a529996d77052abd060d95883ad27258d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode</a> (const char *)</td></tr> <tr class="memdesc:a529996d77052abd060d95883ad27258d"><td class="mdescLeft"> </td><td class="mdescRight">Find named node in tree. <a href="#a529996d77052abd060d95883ad27258d">More...</a><br/></td></tr> <tr class="separator:a529996d77052abd060d95883ad27258d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc815e7bd21c1c052304368c0eefe8be"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue</a> (const char *, int=0) const </td></tr> <tr class="memdesc:acc815e7bd21c1c052304368c0eefe8be"><td class="mdescLeft"> </td><td class="mdescRight">Fetch indicated attribute of named node. <a href="#acc815e7bd21c1c052304368c0eefe8be">More...</a><br/></td></tr> <tr class="separator:acc815e7bd21c1c052304368c0eefe8be"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5de745a68a65e0471df833b2f930538c"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode</a> (const char *, const char *)</td></tr> <tr class="memdesc:a5de745a68a65e0471df833b2f930538c"><td class="mdescLeft"> </td><td class="mdescRight">Set attribute value in spatial reference. <a href="#a5de745a68a65e0471df833b2f930538c">More...</a><br/></td></tr> <tr class="separator:a5de745a68a65e0471df833b2f930538c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adaab3d6e836f93974022bd78e221c4b4"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">SetLinearUnitsAndUpdateParameters</a> (const char *pszName, double dfInMeters)</td></tr> <tr class="memdesc:adaab3d6e836f93974022bd78e221c4b4"><td class="mdescLeft"> </td><td class="mdescRight">Set the linear units for the projection. <a href="#adaab3d6e836f93974022bd78e221c4b4">More...</a><br/></td></tr> <tr class="separator:adaab3d6e836f93974022bd78e221c4b4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2016fee7b234666c5e94d528661e6729"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits</a> (const char *pszName, double dfInMeters)</td></tr> <tr class="memdesc:a2016fee7b234666c5e94d528661e6729"><td class="mdescLeft"> </td><td class="mdescRight">Set the linear units for the projection. <a href="#a2016fee7b234666c5e94d528661e6729">More...</a><br/></td></tr> <tr class="separator:a2016fee7b234666c5e94d528661e6729"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6a2c45c441de09c329ea0676d4e2e9d8"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">SetTargetLinearUnits</a> (const char *pszTargetKey, const char *pszName, double dfInMeters)</td></tr> <tr class="memdesc:a6a2c45c441de09c329ea0676d4e2e9d8"><td class="mdescLeft"> </td><td class="mdescRight">Set the linear units for the projection. <a href="#a6a2c45c441de09c329ea0676d4e2e9d8">More...</a><br/></td></tr> <tr class="separator:a6a2c45c441de09c329ea0676d4e2e9d8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af2821ab555a3bb2d6bb1df49d076a198"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits</a> (char **=NULL) const </td></tr> <tr class="memdesc:af2821ab555a3bb2d6bb1df49d076a198"><td class="mdescLeft"> </td><td class="mdescRight">Fetch linear projection units. <a href="#af2821ab555a3bb2d6bb1df49d076a198">More...</a><br/></td></tr> <tr class="separator:af2821ab555a3bb2d6bb1df49d076a198"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeb9a7cf8138734e5fa734283c124d62b"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aeb9a7cf8138734e5fa734283c124d62b">GetTargetLinearUnits</a> (const char *pszTargetKey, char **ppszRetName=NULL) const </td></tr> <tr class="memdesc:aeb9a7cf8138734e5fa734283c124d62b"><td class="mdescLeft"> </td><td class="mdescRight">Fetch linear units for target. <a href="#aeb9a7cf8138734e5fa734283c124d62b">More...</a><br/></td></tr> <tr class="separator:aeb9a7cf8138734e5fa734283c124d62b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a23784d4bfc74a92ba816edeeab90d225"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">SetAngularUnits</a> (const char *pszName, double dfInRadians)</td></tr> <tr class="memdesc:a23784d4bfc74a92ba816edeeab90d225"><td class="mdescLeft"> </td><td class="mdescRight">Set the angular units for the geographic coordinate system. <a href="#a23784d4bfc74a92ba816edeeab90d225">More...</a><br/></td></tr> <tr class="separator:a23784d4bfc74a92ba816edeeab90d225"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a98bde6d2dbe0d5cd0f29a6d62a5b3f58"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a98bde6d2dbe0d5cd0f29a6d62a5b3f58">GetAngularUnits</a> (char **=NULL) const </td></tr> <tr class="memdesc:a98bde6d2dbe0d5cd0f29a6d62a5b3f58"><td class="mdescLeft"> </td><td class="mdescRight">Fetch angular geographic coordinate system units. <a href="#a98bde6d2dbe0d5cd0f29a6d62a5b3f58">More...</a><br/></td></tr> <tr class="separator:a98bde6d2dbe0d5cd0f29a6d62a5b3f58"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac2a2eb4eaed918a8bca2a55147dd2275"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ac2a2eb4eaed918a8bca2a55147dd2275">GetPrimeMeridian</a> (char **=NULL) const </td></tr> <tr class="memdesc:ac2a2eb4eaed918a8bca2a55147dd2275"><td class="mdescLeft"> </td><td class="mdescRight">Fetch prime meridian info. <a href="#ac2a2eb4eaed918a8bca2a55147dd2275">More...</a><br/></td></tr> <tr class="separator:ac2a2eb4eaed918a8bca2a55147dd2275"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a764ba5d91530ad721d78ac629c0eaba8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic</a> () const </td></tr> <tr class="memdesc:a764ba5d91530ad721d78ac629c0eaba8"><td class="mdescLeft"> </td><td class="mdescRight">Check if geographic coordinate system. <a href="#a764ba5d91530ad721d78ac629c0eaba8">More...</a><br/></td></tr> <tr class="separator:a764ba5d91530ad721d78ac629c0eaba8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1186e3473d7ac2f81ec2ca5d0c4ec027"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected</a> () const </td></tr> <tr class="memdesc:a1186e3473d7ac2f81ec2ca5d0c4ec027"><td class="mdescLeft"> </td><td class="mdescRight">Check if projected coordinate system. <a href="#a1186e3473d7ac2f81ec2ca5d0c4ec027">More...</a><br/></td></tr> <tr class="separator:a1186e3473d7ac2f81ec2ca5d0c4ec027"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae65d61b89b5b8087433175344d460fd4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ae65d61b89b5b8087433175344d460fd4">IsGeocentric</a> () const </td></tr> <tr class="memdesc:ae65d61b89b5b8087433175344d460fd4"><td class="mdescLeft"> </td><td class="mdescRight">Check if geocentric coordinate system. <a href="#ae65d61b89b5b8087433175344d460fd4">More...</a><br/></td></tr> <tr class="separator:ae65d61b89b5b8087433175344d460fd4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1820ea6fe590dc39e22b5474464ca02a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal</a> () const </td></tr> <tr class="memdesc:a1820ea6fe590dc39e22b5474464ca02a"><td class="mdescLeft"> </td><td class="mdescRight">Check if local coordinate system. <a href="#a1820ea6fe590dc39e22b5474464ca02a">More...</a><br/></td></tr> <tr class="separator:a1820ea6fe590dc39e22b5474464ca02a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac16afe94b0d129c0b47e04a6f8b78bef"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ac16afe94b0d129c0b47e04a6f8b78bef">IsVertical</a> () const </td></tr> <tr class="memdesc:ac16afe94b0d129c0b47e04a6f8b78bef"><td class="mdescLeft"> </td><td class="mdescRight">Check if vertical coordinate system. <a href="#ac16afe94b0d129c0b47e04a6f8b78bef">More...</a><br/></td></tr> <tr class="separator:ac16afe94b0d129c0b47e04a6f8b78bef"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7d8b989c98938e6c4e27eeb6f9871936"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a7d8b989c98938e6c4e27eeb6f9871936">IsCompound</a> () const </td></tr> <tr class="memdesc:a7d8b989c98938e6c4e27eeb6f9871936"><td class="mdescLeft"> </td><td class="mdescRight">Check if coordinate system is compound. <a href="#a7d8b989c98938e6c4e27eeb6f9871936">More...</a><br/></td></tr> <tr class="separator:a7d8b989c98938e6c4e27eeb6f9871936"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b6df2af4faf5de4af8cc935e9b38be5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a8b6df2af4faf5de4af8cc935e9b38be5">IsSameGeogCS</a> (const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *) const </td></tr> <tr class="memdesc:a8b6df2af4faf5de4af8cc935e9b38be5"><td class="mdescLeft"> </td><td class="mdescRight">Do the GeogCS'es match? <a href="#a8b6df2af4faf5de4af8cc935e9b38be5">More...</a><br/></td></tr> <tr class="separator:a8b6df2af4faf5de4af8cc935e9b38be5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac886436c45b2e7e18c14ed3cb33ee058"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ac886436c45b2e7e18c14ed3cb33ee058">IsSameVertCS</a> (const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *) const </td></tr> <tr class="memdesc:ac886436c45b2e7e18c14ed3cb33ee058"><td class="mdescLeft"> </td><td class="mdescRight">Do the VertCS'es match? <a href="#ac886436c45b2e7e18c14ed3cb33ee058">More...</a><br/></td></tr> <tr class="separator:ac886436c45b2e7e18c14ed3cb33ee058"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a17fd82b2f58a976a30358b076a2fc966"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame</a> (const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *) const </td></tr> <tr class="memdesc:a17fd82b2f58a976a30358b076a2fc966"><td class="mdescLeft"> </td><td class="mdescRight">Do these two spatial references describe the same system ? <a href="#a17fd82b2f58a976a30358b076a2fc966">More...</a><br/></td></tr> <tr class="separator:a17fd82b2f58a976a30358b076a2fc966"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab9d2695768309948130772917b47366b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear</a> ()</td></tr> <tr class="memdesc:ab9d2695768309948130772917b47366b"><td class="mdescLeft"> </td><td class="mdescRight">Wipe current definition. <a href="#ab9d2695768309948130772917b47366b">More...</a><br/></td></tr> <tr class="separator:ab9d2695768309948130772917b47366b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3aad2472b5c38757a3bc606ee048c1c7"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS</a> (const char *)</td></tr> <tr class="memdesc:a3aad2472b5c38757a3bc606ee048c1c7"><td class="mdescLeft"> </td><td class="mdescRight">Set the user visible LOCAL_CS name. <a href="#a3aad2472b5c38757a3bc606ee048c1c7">More...</a><br/></td></tr> <tr class="separator:a3aad2472b5c38757a3bc606ee048c1c7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a208118581246feb29646acf2ea5d4237"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a208118581246feb29646acf2ea5d4237">SetProjCS</a> (const char *)</td></tr> <tr class="memdesc:a208118581246feb29646acf2ea5d4237"><td class="mdescLeft"> </td><td class="mdescRight">Set the user visible PROJCS name. <a href="#a208118581246feb29646acf2ea5d4237">More...</a><br/></td></tr> <tr class="separator:a208118581246feb29646acf2ea5d4237"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a45fc71e8c327e9aa274cb699b16f51ef"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection</a> (const char *)</td></tr> <tr class="memdesc:a45fc71e8c327e9aa274cb699b16f51ef"><td class="mdescLeft"> </td><td class="mdescRight">Set a projection name. <a href="#a45fc71e8c327e9aa274cb699b16f51ef">More...</a><br/></td></tr> <tr class="separator:a45fc71e8c327e9aa274cb699b16f51ef"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af909159bd41fd01ea9b42621dfd5bc18"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#af909159bd41fd01ea9b42621dfd5bc18">SetGeocCS</a> (const char *pszGeocName)</td></tr> <tr class="memdesc:af909159bd41fd01ea9b42621dfd5bc18"><td class="mdescLeft"> </td><td class="mdescRight">Set the user visible GEOCCS name. <a href="#af909159bd41fd01ea9b42621dfd5bc18">More...</a><br/></td></tr> <tr class="separator:af909159bd41fd01ea9b42621dfd5bc18"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1c8d3eaf2751d9912797c75f477549fe"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS</a> (const char *pszGeogName, const char *pszDatumName, const char *pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, const char *pszPMName=NULL, double dfPMOffset=0.0, const char *pszUnits=NULL, double dfConvertToRadians=0.0)</td></tr> <tr class="memdesc:a1c8d3eaf2751d9912797c75f477549fe"><td class="mdescLeft"> </td><td class="mdescRight">Set geographic coordinate system. <a href="#a1c8d3eaf2751d9912797c75f477549fe">More...</a><br/></td></tr> <tr class="separator:a1c8d3eaf2751d9912797c75f477549fe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a096b8dde4fd2eb475acd376060940b02"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS</a> (const char *)</td></tr> <tr class="memdesc:a096b8dde4fd2eb475acd376060940b02"><td class="mdescLeft"> </td><td class="mdescRight">Set a GeogCS based on well known name. <a href="#a096b8dde4fd2eb475acd376060940b02">More...</a><br/></td></tr> <tr class="separator:a096b8dde4fd2eb475acd376060940b02"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2f0172f9c1d69f347cbe429f7d39a3fa"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom</a> (const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *poSrcSRS)</td></tr> <tr class="memdesc:a2f0172f9c1d69f347cbe429f7d39a3fa"><td class="mdescLeft"> </td><td class="mdescRight">Copy GEOGCS from another <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>. <a href="#a2f0172f9c1d69f347cbe429f7d39a3fa">More...</a><br/></td></tr> <tr class="separator:a2f0172f9c1d69f347cbe429f7d39a3fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4764cca1641b045a63afa95d01922add"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a4764cca1641b045a63afa95d01922add">SetVertCS</a> (const char *pszVertCSName, const char *pszVertDatumName, int nVertDatumClass=2005)</td></tr> <tr class="memdesc:a4764cca1641b045a63afa95d01922add"><td class="mdescLeft"> </td><td class="mdescRight">Set the user visible VERT_CS name. <a href="#a4764cca1641b045a63afa95d01922add">More...</a><br/></td></tr> <tr class="separator:a4764cca1641b045a63afa95d01922add"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6cb94a55501d2444b9f93eacd8ff0411"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6cb94a55501d2444b9f93eacd8ff0411">SetCompoundCS</a> (const char *pszName, const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *poHorizSRS, const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *poVertSRS)</td></tr> <tr class="memdesc:a6cb94a55501d2444b9f93eacd8ff0411"><td class="mdescLeft"> </td><td class="mdescRight">Setup a compound coordinate system. <a href="#a6cb94a55501d2444b9f93eacd8ff0411">More...</a><br/></td></tr> <tr class="separator:a6cb94a55501d2444b9f93eacd8ff0411"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec3c6a49533fe457ddc763d699ff8796"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput</a> (const char *)</td></tr> <tr class="memdesc:aec3c6a49533fe457ddc763d699ff8796"><td class="mdescLeft"> </td><td class="mdescRight">Set spatial reference from various text formats. <a href="#aec3c6a49533fe457ddc763d699ff8796">More...</a><br/></td></tr> <tr class="separator:aec3c6a49533fe457ddc763d699ff8796"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af8be55999021cd06a75fb86416097156"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">SetTOWGS84</a> (double, double, double, double=0.0, double=0.0, double=0.0, double=0.0)</td></tr> <tr class="memdesc:af8be55999021cd06a75fb86416097156"><td class="mdescLeft"> </td><td class="mdescRight">Set the Bursa-Wolf conversion to WGS84. <a href="#af8be55999021cd06a75fb86416097156">More...</a><br/></td></tr> <tr class="separator:af8be55999021cd06a75fb86416097156"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa947bf7c5c7240d2de30afe11086a19"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aaa947bf7c5c7240d2de30afe11086a19">GetTOWGS84</a> (double *padfCoef, int nCoeff=7) const </td></tr> <tr class="memdesc:aaa947bf7c5c7240d2de30afe11086a19"><td class="mdescLeft"> </td><td class="mdescRight">Fetch TOWGS84 parameters, if available. <a href="#aaa947bf7c5c7240d2de30afe11086a19">More...</a><br/></td></tr> <tr class="separator:aaa947bf7c5c7240d2de30afe11086a19"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae4a85fc76fb96e5d253897d0589aea33"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">GetSemiMajor</a> (OGRErr *=NULL) const </td></tr> <tr class="memdesc:ae4a85fc76fb96e5d253897d0589aea33"><td class="mdescLeft"> </td><td class="mdescRight">Get spheroid semi major axis. <a href="#ae4a85fc76fb96e5d253897d0589aea33">More...</a><br/></td></tr> <tr class="separator:ae4a85fc76fb96e5d253897d0589aea33"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae004d56063c3dedf18bc3a8c705deacb"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ae004d56063c3dedf18bc3a8c705deacb">GetSemiMinor</a> (OGRErr *=NULL) const </td></tr> <tr class="memdesc:ae004d56063c3dedf18bc3a8c705deacb"><td class="mdescLeft"> </td><td class="mdescRight">Get spheroid semi minor axis. <a href="#ae004d56063c3dedf18bc3a8c705deacb">More...</a><br/></td></tr> <tr class="separator:ae004d56063c3dedf18bc3a8c705deacb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab8e5f09148eb80ea4c8242d30591ba32"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">GetInvFlattening</a> (OGRErr *=NULL) const </td></tr> <tr class="memdesc:ab8e5f09148eb80ea4c8242d30591ba32"><td class="mdescLeft"> </td><td class="mdescRight">Get spheroid inverse flattening. <a href="#ab8e5f09148eb80ea4c8242d30591ba32">More...</a><br/></td></tr> <tr class="separator:ab8e5f09148eb80ea4c8242d30591ba32"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6918e6680d8de01c6e435235a8a222c7"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">SetAuthority</a> (const char *pszTargetKey, const char *pszAuthority, int nCode)</td></tr> <tr class="memdesc:a6918e6680d8de01c6e435235a8a222c7"><td class="mdescLeft"> </td><td class="mdescRight">Set the authority for a node. <a href="#a6918e6680d8de01c6e435235a8a222c7">More...</a><br/></td></tr> <tr class="separator:a6918e6680d8de01c6e435235a8a222c7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acb0373c83927bfd694048da6f79e33ea"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#acb0373c83927bfd694048da6f79e33ea">AutoIdentifyEPSG</a> ()</td></tr> <tr class="memdesc:acb0373c83927bfd694048da6f79e33ea"><td class="mdescLeft"> </td><td class="mdescRight">Set EPSG authority info if possible. <a href="#acb0373c83927bfd694048da6f79e33ea">More...</a><br/></td></tr> <tr class="separator:acb0373c83927bfd694048da6f79e33ea"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a178f4593ef4ee661f2df9d221feaa803"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">GetAuthorityCode</a> (const char *pszTargetKey) const </td></tr> <tr class="memdesc:a178f4593ef4ee661f2df9d221feaa803"><td class="mdescLeft"> </td><td class="mdescRight">Get the authority code for a node. <a href="#a178f4593ef4ee661f2df9d221feaa803">More...</a><br/></td></tr> <tr class="separator:a178f4593ef4ee661f2df9d221feaa803"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f6524f36ace6a7be7b3e2a20790a82f"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName</a> (const char *pszTargetKey) const </td></tr> <tr class="memdesc:a3f6524f36ace6a7be7b3e2a20790a82f"><td class="mdescLeft"> </td><td class="mdescRight">Get the authority name for a node. <a href="#a3f6524f36ace6a7be7b3e2a20790a82f">More...</a><br/></td></tr> <tr class="separator:a3f6524f36ace6a7be7b3e2a20790a82f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0dac73464153c4383c6fe581af8838c7"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a0dac73464153c4383c6fe581af8838c7">GetExtension</a> (const char *pszTargetKey, const char *pszName, const char *pszDefault=NULL) const </td></tr> <tr class="memdesc:a0dac73464153c4383c6fe581af8838c7"><td class="mdescLeft"> </td><td class="mdescRight">Fetch extension value. <a href="#a0dac73464153c4383c6fe581af8838c7">More...</a><br/></td></tr> <tr class="separator:a0dac73464153c4383c6fe581af8838c7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2ca469ce2caecc420cc564e661b8325d"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a2ca469ce2caecc420cc564e661b8325d">SetExtension</a> (const char *pszTargetKey, const char *pszName, const char *pszValue)</td></tr> <tr class="memdesc:a2ca469ce2caecc420cc564e661b8325d"><td class="mdescLeft"> </td><td class="mdescRight">Set extension value. <a href="#a2ca469ce2caecc420cc564e661b8325d">More...</a><br/></td></tr> <tr class="separator:a2ca469ce2caecc420cc564e661b8325d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adcab5192c705087bc9e7537f34df9f55"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#adcab5192c705087bc9e7537f34df9f55">FindProjParm</a> (const char *pszParameter, const <a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> *poPROJCS=NULL) const </td></tr> <tr class="memdesc:adcab5192c705087bc9e7537f34df9f55"><td class="mdescLeft"> </td><td class="mdescRight">Return the child index of the named projection parameter on its parent PROJCS node. <a href="#adcab5192c705087bc9e7537f34df9f55">More...</a><br/></td></tr> <tr class="separator:adcab5192c705087bc9e7537f34df9f55"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa2027f62b01d61d9aab83629dd86cda"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">SetProjParm</a> (const char *, double)</td></tr> <tr class="memdesc:aaa2027f62b01d61d9aab83629dd86cda"><td class="mdescLeft"> </td><td class="mdescRight">Set a projection parameter value. <a href="#aaa2027f62b01d61d9aab83629dd86cda">More...</a><br/></td></tr> <tr class="separator:aaa2027f62b01d61d9aab83629dd86cda"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a603c654bc0616f26c9300b3c66952cdb"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm</a> (const char *, double=0.0, OGRErr *=NULL) const </td></tr> <tr class="memdesc:a603c654bc0616f26c9300b3c66952cdb"><td class="mdescLeft"> </td><td class="mdescRight">Fetch a projection parameter value. <a href="#a603c654bc0616f26c9300b3c66952cdb">More...</a><br/></td></tr> <tr class="separator:a603c654bc0616f26c9300b3c66952cdb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9a050293b297acba00bd3da7d71d7ea0"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm</a> (const char *, double)</td></tr> <tr class="memdesc:a9a050293b297acba00bd3da7d71d7ea0"><td class="mdescLeft"> </td><td class="mdescRight">Set a projection parameter with a normalized value. <a href="#a9a050293b297acba00bd3da7d71d7ea0">More...</a><br/></td></tr> <tr class="separator:a9a050293b297acba00bd3da7d71d7ea0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa50f2dbc9a893110177ebeb847b70316"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm</a> (const char *, double=0.0, OGRErr *=NULL) const </td></tr> <tr class="memdesc:aa50f2dbc9a893110177ebeb847b70316"><td class="mdescLeft"> </td><td class="mdescRight">Fetch a normalized projection parameter value. <a href="#aa50f2dbc9a893110177ebeb847b70316">More...</a><br/></td></tr> <tr class="separator:aa50f2dbc9a893110177ebeb847b70316"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a826075cf8aeb97db58f1d505eb3a11cb"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a826075cf8aeb97db58f1d505eb3a11cb">SetACEA</a> (double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a826075cf8aeb97db58f1d505eb3a11cb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9db1b1a2e484ea9666d5009f19c6437e"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a9db1b1a2e484ea9666d5009f19c6437e">SetAE</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a9db1b1a2e484ea9666d5009f19c6437e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a29d789f381ef5a368437e641d20dc82d"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a29d789f381ef5a368437e641d20dc82d">SetBonne</a> (double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a29d789f381ef5a368437e641d20dc82d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a00037fe7f593033ba0a4c123d989370b"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a00037fe7f593033ba0a4c123d989370b">SetCEA</a> (double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a00037fe7f593033ba0a4c123d989370b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3d403772226f49e4a16bdc40416809c0"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a3d403772226f49e4a16bdc40416809c0">SetCS</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a3d403772226f49e4a16bdc40416809c0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a229e9bfaf27c92f27db454f7186d7efc"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a229e9bfaf27c92f27db454f7186d7efc">SetEC</a> (double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a229e9bfaf27c92f27db454f7186d7efc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a21d229aa12921f761a3395ddec27f0e7"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a21d229aa12921f761a3395ddec27f0e7">SetEckert</a> (int nVariation, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a21d229aa12921f761a3395ddec27f0e7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a10c780ca8dc53fc91a99153290cc426a"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a10c780ca8dc53fc91a99153290cc426a">SetEquirectangular</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a10c780ca8dc53fc91a99153290cc426a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9c4d317d4a4054d9674b14ea0c7401b6"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a9c4d317d4a4054d9674b14ea0c7401b6">SetEquirectangular2</a> (double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a9c4d317d4a4054d9674b14ea0c7401b6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a021258d1eb2fbbe819014a52a6f62969"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a021258d1eb2fbbe819014a52a6f62969">SetGEOS</a> (double dfCentralMeridian, double dfSatelliteHeight, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a021258d1eb2fbbe819014a52a6f62969"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8e691c115046b500326fe5aa049f3c3a"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a8e691c115046b500326fe5aa049f3c3a">SetGH</a> (double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a8e691c115046b500326fe5aa049f3c3a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2cbb2cd843017628363f30c9f7c23e21"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a2cbb2cd843017628363f30c9f7c23e21">SetIGH</a> ()</td></tr> <tr class="separator:a2cbb2cd843017628363f30c9f7c23e21"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6524e9752602ddc605093ee1bcecd21b"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6524e9752602ddc605093ee1bcecd21b">SetGS</a> (double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a6524e9752602ddc605093ee1bcecd21b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28e633e426cedaa17b757e4b1619f5c3"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a28e633e426cedaa17b757e4b1619f5c3">SetGaussSchreiberTMercator</a> (double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a28e633e426cedaa17b757e4b1619f5c3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a67a58ae2d5f8196f50fe10fd7b2b447d"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a67a58ae2d5f8196f50fe10fd7b2b447d">SetGnomonic</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a67a58ae2d5f8196f50fe10fd7b2b447d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d13105847002639f0f448167dc922a0"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a4d13105847002639f0f448167dc922a0">SetHOM</a> (double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="memdesc:a4d13105847002639f0f448167dc922a0"><td class="mdescLeft"> </td><td class="mdescRight">Set a Hotine Oblique Mercator projection using azimuth angle. <a href="#a4d13105847002639f0f448167dc922a0">More...</a><br/></td></tr> <tr class="separator:a4d13105847002639f0f448167dc922a0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a66530428642a5e5e16f7791c7474fd21"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a66530428642a5e5e16f7791c7474fd21">SetHOM2PNO</a> (double dfCenterLat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="memdesc:a66530428642a5e5e16f7791c7474fd21"><td class="mdescLeft"> </td><td class="mdescRight">Set a Hotine Oblique Mercator projection using two points on projection centerline. <a href="#a66530428642a5e5e16f7791c7474fd21">More...</a><br/></td></tr> <tr class="separator:a66530428642a5e5e16f7791c7474fd21"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0b34e9b2030ff8b07e14b988db95ab4f"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a0b34e9b2030ff8b07e14b988db95ab4f">SetHOMAC</a> (double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="memdesc:a0b34e9b2030ff8b07e14b988db95ab4f"><td class="mdescLeft"> </td><td class="mdescRight">Set an Hotine Oblique Mercator Azimuth Center projection using azimuth angle. <a href="#a0b34e9b2030ff8b07e14b988db95ab4f">More...</a><br/></td></tr> <tr class="separator:a0b34e9b2030ff8b07e14b988db95ab4f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a555f427030e3bb1b0754a7ab64e826a3"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a555f427030e3bb1b0754a7ab64e826a3">SetIWMPolyconic</a> (double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a555f427030e3bb1b0754a7ab64e826a3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abc48d54196d40a64489b55afa993d2d7"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#abc48d54196d40a64489b55afa993d2d7">SetKrovak</a> (double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfPseudoStdParallelLat, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:abc48d54196d40a64489b55afa993d2d7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abb729026c3ff6e6729c6cab4cd4e7b82"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#abb729026c3ff6e6729c6cab4cd4e7b82">SetLAEA</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:abb729026c3ff6e6729c6cab4cd4e7b82"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6eddea3ec66447a764c0a80e181b224b"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC</a> (double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a6eddea3ec66447a764c0a80e181b224b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae89db924598873ff279cf9cd1f5402c7"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ae89db924598873ff279cf9cd1f5402c7">SetLCC1SP</a> (double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:ae89db924598873ff279cf9cd1f5402c7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3bff5316b8cad210b62a78694a6a4224"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a3bff5316b8cad210b62a78694a6a4224">SetLCCB</a> (double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a3bff5316b8cad210b62a78694a6a4224"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abffbf6b7dade5c4f89461d581ec34f81"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#abffbf6b7dade5c4f89461d581ec34f81">SetMC</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:abffbf6b7dade5c4f89461d581ec34f81"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a165cdfa893a9e621df1e5ba5d584e8ec"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator</a> (double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a165cdfa893a9e621df1e5ba5d584e8ec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a836ae0eb0484b8538b5ebbec51ff549b"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a836ae0eb0484b8538b5ebbec51ff549b">SetMollweide</a> (double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a836ae0eb0484b8538b5ebbec51ff549b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a645b8d8ad374866405be723d3925c0eb"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a645b8d8ad374866405be723d3925c0eb">SetNZMG</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a645b8d8ad374866405be723d3925c0eb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6b9cd1357b9b90b7f614de1a42cc8ee5"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6b9cd1357b9b90b7f614de1a42cc8ee5">SetOS</a> (double dfOriginLat, double dfCMeridian, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a6b9cd1357b9b90b7f614de1a42cc8ee5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa60a3f7a4fcd0b2e05b491004f7b4b00"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aa60a3f7a4fcd0b2e05b491004f7b4b00">SetOrthographic</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:aa60a3f7a4fcd0b2e05b491004f7b4b00"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a90387616358d7ccfbf021248b63bf55d"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a90387616358d7ccfbf021248b63bf55d">SetPolyconic</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a90387616358d7ccfbf021248b63bf55d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa7ef801c3bece207b4972ad25229e866"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aa7ef801c3bece207b4972ad25229e866">SetPS</a> (double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:aa7ef801c3bece207b4972ad25229e866"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a371ea654e13a284a67862674655d930f"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a371ea654e13a284a67862674655d930f">SetRobinson</a> (double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a371ea654e13a284a67862674655d930f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2d3ceed1839820c00a45b31411046446"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a2d3ceed1839820c00a45b31411046446">SetSinusoidal</a> (double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a2d3ceed1839820c00a45b31411046446"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7cee263b477072d49648b3320b240f25"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a7cee263b477072d49648b3320b240f25">SetStereographic</a> (double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a7cee263b477072d49648b3320b240f25"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab2fd66fae7d41793c750d25070094a8a"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ab2fd66fae7d41793c750d25070094a8a">SetSOC</a> (double dfLatitudeOfOrigin, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:ab2fd66fae7d41793c750d25070094a8a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5b6822d6fd4dc947ccb89ef4020d7323"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM</a> (double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a5b6822d6fd4dc947ccb89ef4020d7323"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae3a6fa2ec0371725279c7f11dbe7b98f"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#ae3a6fa2ec0371725279c7f11dbe7b98f">SetTMVariant</a> (const char *pszVariantName, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:ae3a6fa2ec0371725279c7f11dbe7b98f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abe110e083fb4550660ccabe69eaa0c1b"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#abe110e083fb4550660ccabe69eaa0c1b">SetTMG</a> (double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:abe110e083fb4550660ccabe69eaa0c1b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abf9060b4d8eadf22e146619c5714dac2"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#abf9060b4d8eadf22e146619c5714dac2">SetTMSO</a> (double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:abf9060b4d8eadf22e146619c5714dac2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9ecda5156bdb754ca576509d21d2e1f0"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a9ecda5156bdb754ca576509d21d2e1f0">SetTPED</a> (double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:a9ecda5156bdb754ca576509d21d2e1f0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aefc0572f3a97a5a9aaad41916b56def9"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#aefc0572f3a97a5a9aaad41916b56def9">SetVDG</a> (double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:aefc0572f3a97a5a9aaad41916b56def9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0c4f6fcab663c9eb6d465787cad3833c"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM</a> (int nZone, int bNorth=TRUE)</td></tr> <tr class="memdesc:a0c4f6fcab663c9eb6d465787cad3833c"><td class="mdescLeft"> </td><td class="mdescRight">Set UTM projection definition. <a href="#a0c4f6fcab663c9eb6d465787cad3833c">More...</a><br/></td></tr> <tr class="separator:a0c4f6fcab663c9eb6d465787cad3833c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4b17d85f5db53978c749780b214c4237"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone</a> (int *pbNorth=NULL) const </td></tr> <tr class="memdesc:a4b17d85f5db53978c749780b214c4237"><td class="mdescLeft"> </td><td class="mdescRight">Get utm zone information. <a href="#a4b17d85f5db53978c749780b214c4237">More...</a><br/></td></tr> <tr class="separator:a4b17d85f5db53978c749780b214c4237"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abcf567c9fe6bb8bfb1d758947a4d5daf"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#abcf567c9fe6bb8bfb1d758947a4d5daf">SetWagner</a> (int nVariation, double dfCenterLat, double dfFalseEasting, double dfFalseNorthing)</td></tr> <tr class="separator:abcf567c9fe6bb8bfb1d758947a4d5daf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ab764b384e4b60790cf480789ddb7bc"><td class="memItemLeft" align="right" valign="top">OGRErr </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane</a> (int nZone, int bNAD83=TRUE, const char *pszOverrideUnitName=NULL, double dfOverrideUnit=0.0)</td></tr> <tr class="memdesc:a6ab764b384e4b60790cf480789ddb7bc"><td class="mdescLeft"> </td><td class="mdescRight">Set State Plane projection definition. <a href="#a6ab764b384e4b60790cf480789ddb7bc">More...</a><br/></td></tr> <tr class="separator:a6ab764b384e4b60790cf480789ddb7bc"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:adda5434b145cd2728c907e74b795edcf"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSpatialReference.html#adda5434b145cd2728c907e74b795edcf">DestroySpatialReference</a> (<a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> *poSRS)</td></tr> <tr class="memdesc:adda5434b145cd2728c907e74b795edcf"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> destructor. <a href="#adda5434b145cd2728c907e74b795edcf">More...</a><br/></td></tr> <tr class="separator:adda5434b145cd2728c907e74b795edcf"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>This class respresents a OpenGIS Spatial Reference System, and contains methods for converting between this object organization and well known text (WKT) format. This object is reference counted as one instance of the object is normally shared between many <a class="el" href="classOGRGeometry.html">OGRGeometry</a> objects.</p> <p>Normally application code can fetch needed parameter values for this SRS using <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be" title="Fetch indicated attribute of named node. ">GetAttrValue()</a>, but in special cases the underlying parse tree (or <a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> objects) can be accessed more directly.</p> <p>See <a href="osr_tutorial.html">the tutorial</a> for more information on how to use this class. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a10e93344649a380d75b9925ad53d86ac"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRSpatialReference::OGRSpatialReference </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszWKT</em> = <code>NULL</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructor. </p> <p>This constructor takes an optional string argument which if passed should be a WKT representation of an SRS. Passing this is equivalent to not passing it, and then calling <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343" title="Import from WKT string. ">importFromWkt()</a> with the WKT string.</p> <p>Note that newly created objects are given a reference count of one.</p> <p>The C function <a class="el" href="ogr__srs__api_8h.html#a6bfe88d5f18f2a8705f9e7a9586b795e" title="Constructor. ">OSRNewSpatialReference()</a> does the same thing as this constructor.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszWKT</td><td>well known text definition to which the object should be initialized, or NULL (the default). </td></tr> </table> </dd> </dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343">importFromWkt()</a>.</p> </div> </div> <a class="anchor" id="af1bb4c483a6b7bf1c3fe9de0b7b00e1e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">OGRSpatialReference::~OGRSpatialReference </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> destructor. </p> <p>The C function <a class="el" href="ogr__srs__api_8h.html#ac33dd704ea2730dd2490b2864f333cb4" title="OGRSpatialReference destructor. ">OSRDestroySpatialReference()</a> does the same thing as this method. Preferred C++ method : <a class="el" href="classOGRSpatialReference.html#adda5434b145cd2728c907e74b795edcf" title="OGRSpatialReference destructor. ">OGRSpatialReference::DestroySpatialReference()</a></p> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd></dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="acb0373c83927bfd694048da6f79e33ea"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::AutoIdentifyEPSG </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set EPSG authority info if possible. </p> <p>This method inspects a WKT definition, and adds EPSG authority nodes where an aspect of the coordinate system can be easily and safely corresponded with an EPSG identifier. In practice, this method will evolve over time. In theory it can add authority nodes for any object (ie. spheroid, datum, GEOGCS, units, and PROJCS) that could have an authority node. Mostly this is useful to inserting appropriate PROJCS codes for common formulations (like UTM n WGS84).</p> <p>If it success the <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> is updated in place, and the method return OGRERR_NONE. If the method fails to identify the general coordinate system OGRERR_UNSUPPORTED_SRS is returned but no error message is posted via <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a8870b1853254904c8517b945fe7204c3" title="Set EPSG authority info if possible. ">OSRAutoIdentifyEPSG()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE or OGRERR_UNSUPPORTED_SRS. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, and <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">SetAuthority()</a>.</p> </div> </div> <a class="anchor" id="ab9d2695768309948130772917b47366b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRSpatialReference::Clear </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Wipe current definition. </p> <p>Returns <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> to a state with no definition, as it exists when first created. It does not affect reference counts. </p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">importFromCRSURL()</a>, <a class="el" href="classOGRSpatialReference.html#aae4588813e3034a0d920a5787ff71a32">importFromERM()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a6ca72094be024d06925d0e610c298cce">importFromURN()</a>, <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343">importFromWkt()</a>, <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a9b831b90c3984f96f47936b114adb">importFromXML()</a>, <a class="el" href="classOGRSpatialReference.html#a6cb94a55501d2444b9f93eacd8ff0411">SetCompoundCS()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>, and <a class="el" href="classOGRSpatialReference.html#a4764cca1641b045a63afa95d01922add">SetVertCS()</a>.</p> </div> </div> <a class="anchor" id="a859adfd14d3a050337dcda7d5bdd5a79"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * OGRSpatialReference::Clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Make a duplicate of this <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#aa62911fca7e6fbfb09f6c48d2760991d" title="Make a duplicate of this OGRSpatialReference. ">OSRClone()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>a new SRS, which becomes the responsibility of the caller. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a635423e09630b4d31b2fa4259667a4ec">exportToPrettyWkt()</a>.</p> </div> </div> <a class="anchor" id="a0c1e2b108255487f91ae448f5c11f67c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * OGRSpatialReference::CloneGeogCS </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Make a duplicate of the GEOGCS node of this <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> object. </p> <dl class="section return"><dt>Returns</dt><dd>a new SRS, which becomes the responsibility of the caller. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#ae65d61b89b5b8087433175344d460fd4">IsGeocentric()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">SetAngularUnits()</a>, and <a class="el" href="classOGRSpatialReference.html#a28eeee5688ff6cea07e74ccd4c18a3b0">SetRoot()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>.</p> </div> </div> <a class="anchor" id="a2f0172f9c1d69f347cbe429f7d39a3fa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::CopyGeogCSFrom </td> <td>(</td> <td class="paramtype">const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"><em>poSrcSRS</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy GEOGCS from another <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>. </p> <p>The GEOGCS information is copied into this <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> from another. If this object has a PROJCS root already, the GEOGCS is installed within it, otherwise it is installed as the root.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poSrcSRS</td><td>the spatial reference to copy the GEOGCS information from.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">OGR_SRSNode::InsertChild()</a>, <a class="el" href="classOGRSpatialReference.html#ae65d61b89b5b8087433175344d460fd4">IsGeocentric()</a>, and <a class="el" href="classOGRSpatialReference.html#a28eeee5688ff6cea07e74ccd4c18a3b0">SetRoot()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aae4588813e3034a0d920a5787ff71a32">importFromERM()</a>, <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> </div> </div> <a class="anchor" id="ade185ac8ef1724fea5ec3c0e68eaae81"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::Dereference </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Decrements the reference count by one. </p> <p>The method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#aae579eb4bdb653ead302a2850921ac77" title="Decrements the reference count by one. ">OSRDereference()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>the updated reference count. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aef9a8378c266604b9cd09042597a649f">Release()</a>.</p> </div> </div> <a class="anchor" id="adda5434b145cd2728c907e74b795edcf"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void OGRSpatialReference::DestroySpatialReference </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"><em>poSRS</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> destructor. </p> <p>This static method will destroy a <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>. It is equivalent to calling delete on the object, but it ensures that the deallocation is properly executed within the OGR libraries heap on platforms where this can matter (win32).</p> <p>This function is the same as <a class="el" href="ogr__srs__api_8h.html#ac33dd704ea2730dd2490b2864f333cb4" title="OGRSpatialReference destructor. ">OSRDestroySpatialReference()</a></p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poSRS</td><td>the object to delete</td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>GDAL 1.7.0 </dd></dl> </div> </div> <a class="anchor" id="a519cce70fd39f974c61342bf73ab01ad"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::EPSGTreatsAsLatLong </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>This method returns TRUE if EPSG feels this geographic coordinate system should be treated as having lat/long coordinate ordering. </p> <p>Currently this returns TRUE for all geographic coordinate systems with an EPSG code set, and AXIS values set defining it as lat, long. Note that coordinate systems with an EPSG code and no axis settings will be assumed to not be lat/long.</p> <p>FALSE will be returned for all coordinate systems that are not geographic, or that do not have an EPSG code set.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a005a0534c41bafad5c5c7a3fa179dcd6" title="This function returns TRUE if EPSG feels this geographic coordinate system should be treated as havin...">OSREPSGTreatsAsLatLong()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE or FALSE. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, and <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>.</p> </div> </div> <a class="anchor" id="a2fe484ea1e7c8e8121b3ae05bb1a1878"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::EPSGTreatsAsNorthingEasting </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>This method returns TRUE if EPSG feels this projected coordinate system should be treated as having northing/easting coordinate ordering. </p> <p>Currently this returns TRUE for all projected coordinate systems with an EPSG code set, and AXIS values set defining it as northing, easting.</p> <p>FALSE will be returned for all coordinate systems that are not projected, or that do not have an EPSG code set.</p> <p>This method is the same as the C function <a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878" title="This method returns TRUE if EPSG feels this projected coordinate system should be treated as having n...">EPSGTreatsAsNorthingEasting()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE or FALSE.</dd></dl> <dl class="section since"><dt>Since</dt><dd>OGR 1.10.0 </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, and <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>.</p> </div> </div> <a class="anchor" id="a574b5f221ae0b41bc4f82baeb8ab2f1c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToERM </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"><em>pszProj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"><em>pszDatum</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"><em>pszUnits</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Convert coordinate system to ERMapper format.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszProj</td><td>32 character buffer to receive projection name. </td></tr> <tr><td class="paramname">pszDatum</td><td>32 character buffer to recieve datum name. </td></tr> <tr><td class="paramname">pszUnits</td><td>32 character buffer to receive units name.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, OGRERR_SRS_UNSUPPORTED if not translation is found, or OGRERR_FAILURE on other failures. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, <a class="el" href="classOGRSpatialReference.html#ad6daf2b64d379a4484413fc9755cc7f6">importFromDict()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>, and <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>.</p> </div> </div> <a class="anchor" id="a1f2908cd5ca33609844ef0c0ff2186ea"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToMICoordSys </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszResult</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Export coordinate system in Mapinfo style CoordSys format. </p> <p>Note that the returned WKT string should be freed with OGRFree() or CPLFree() when no longer needed. It is the responsibility of the caller.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a28b4dc4b0a303ee6a7665ae798fc6cae" title="Export coordinate system in Mapinfo style CoordSys format. ">OSRExportToMICoordSys()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszResult</td><td>pointer to which dynamically allocated Mapinfo CoordSys definition will be assigned.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, OGRERR_FAILURE on failure, OGRERR_UNSUPPORTED_OPERATION if MITAB library was not linked in. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>.</p> </div> </div> <a class="anchor" id="a2172f6cf2ea15a417474ef114f91397c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToPanorama </td> <td>(</td> <td class="paramtype">long * </td> <td class="paramname"><em>piProjSys</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long * </td> <td class="paramname"><em>piDatum</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long * </td> <td class="paramname"><em>piEllips</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long * </td> <td class="paramname"><em>piZone</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"><em>padfPrjParams</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Export coordinate system in "Panorama" GIS projection definition.</p> <p>This method is the equivalent of the C function OSRExportToPanorama().</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">piProjSys</td><td>Pointer to variable, where the projection system code will be returned.</td></tr> <tr><td class="paramname">piDatum</td><td>Pointer to variable, where the coordinate system code will be returned.</td></tr> <tr><td class="paramname">piEllips</td><td>Pointer to variable, where the spheroid code will be returned.</td></tr> <tr><td class="paramname">piZone</td><td>Pointer to variable, where the zone for UTM projection system will be returned.</td></tr> <tr><td class="paramname">padfPrjParams</td><td>an existing 7 double buffer into which the projection parameters will be placed. See <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a> for the list of parameters.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code on failure. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">GetSemiMajor()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, and <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>.</p> </div> </div> <a class="anchor" id="ad91c0f34ebfe6fd08001ced4d805b201"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToPCI </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszProj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszUnits</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double ** </td> <td class="paramname"><em>ppadfPrjParams</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Export coordinate system in PCI projection definition. </p> <p>Converts the loaded coordinate reference system into PCI projection definition to the extent possible. The strings returned in ppszProj, ppszUnits and ppadfPrjParams array should be deallocated by the caller with CPLFree() when no longer needed.</p> <p>LOCAL_CS coordinate systems are not translatable. An empty string will be returned along with OGRERR_NONE.</p> <p>This method is the equivelent of the C function <a class="el" href="ogr__srs__api_8h.html#aab032277e5f449045eb4bcf0b62d9070" title="Export coordinate system in PCI projection definition. ">OSRExportToPCI()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszProj</td><td>pointer to which dynamically allocated PCI projection definition will be assigned.</td></tr> <tr><td class="paramname">ppszUnits</td><td>pointer to which dynamically allocated units definition will be assigned.</td></tr> <tr><td class="paramname">ppadfPrjParams</td><td>pointer to which dynamically allocated array of 17 projection parameters will be assigned. See <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4" title="Import coordinate system from PCI projection definition. ">importFromPCI()</a> for the list of parameters.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code on failure. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="cpl__conv_8h.html#a33618500e56ec12e6775b3ed9014b8fb">CPLPrintInt32()</a>, <a class="el" href="cpl__conv_8h.html#a0bdbcb209eb9b8e2e6be4fa6e0b750f6">CPLPrintStringFill()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">GetSemiMajor()</a>, <a class="el" href="classOGRSpatialReference.html#aaa947bf7c5c7240d2de30afe11086a19">GetTOWGS84()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, and <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>.</p> </div> </div> <a class="anchor" id="a635423e09630b4d31b2fa4259667a4ec"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToPrettyWkt </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszResult</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bSimplify</em> = <code>FALSE</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Convert this SRS into a a nicely formatted WKT string for display to a person.</p> <p>Note that the returned WKT string should be freed with OGRFree() or CPLFree() when no longer needed. It is the responsibility of the caller.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#ab76d8f8ba378d04601aaedaf66c0ec72" title="Convert this SRS into a a nicely formatted WKT string for display to a person. ">OSRExportToPrettyWkt()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszResult</td><td>the resulting string is returned in this pointer. </td></tr> <tr><td class="paramname">bSimplify</td><td>TRUE if the AXIS, AUTHORITY and EXTENSION nodes should be stripped off</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>currently OGRERR_NONE is always returned, but the future it is possible error conditions will develop. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a859adfd14d3a050337dcda7d5bdd5a79">Clone()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, and <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">OGR_SRSNode::StripNodes()</a>.</p> </div> </div> <a class="anchor" id="a28bd9b81856b6a93861576fff0933bb9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToProj4 </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszProj4</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Export coordinate system in PROJ.4 format. </p> <p>Converts the loaded coordinate reference system into PROJ.4 format to the extent possible. The string returned in ppszProj4 should be deallocated by the caller with CPLFree() when no longer needed.</p> <p>LOCAL_CS coordinate systems are not translatable. An empty string will be returned along with OGRERR_NONE.</p> <p>Special processing for Transverse Mercator with GDAL >= 1.10 and PROJ >= 4.8 : if the OSR_USE_ETMERC configuration option is set to YES, the PROJ.4 definition built from the SRS will use the 'etmerc' projection method, rather than the default 'tmerc'. This will give better accuracy (at the expense of computational speed) when reprojection occurs near the edges of the validity area for the projection.</p> <p>This method is the equivelent of the C function <a class="el" href="ogr__srs__api_8h.html#a2adbff30a53ed091d70168f264be4a22" title="Export coordinate system in PROJ.4 format. ">OSRExportToProj4()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszProj4</td><td>pointer to which dynamically allocated PROJ.4 definition will be assigned.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code on failure. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__conv_8h.html#a8b249211d68e4b6b1844004891e5ca5a">CPLGetConfigOption()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="cpl__string_8h.html#ada798bb0fafd08c7908d0f3716f341b3">CSLTestBoolean()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGRSpatialReference.html#a0dac73464153c4383c6fe581af8838c7">GetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGR__SRSNode.html#a6760a6ffee3941f9b55d184304a70b06">OGR_SRSNode::GetNode()</a>, <a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">GetSemiMajor()</a>, <a class="el" href="classOGRSpatialReference.html#ae004d56063c3dedf18bc3a8c705deacb">GetSemiMinor()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#ae65d61b89b5b8087433175344d460fd4">IsGeocentric()</a>, and <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>.</p> </div> </div> <a class="anchor" id="a04ab13a2ec4ceffd6f802422f95e8f15"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToUSGS </td> <td>(</td> <td class="paramtype">long * </td> <td class="paramname"><em>piProjSys</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long * </td> <td class="paramname"><em>piZone</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double ** </td> <td class="paramname"><em>ppadfPrjParams</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long * </td> <td class="paramname"><em>piDatum</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Export coordinate system in USGS GCTP projection definition. </p> <p>This method is the equivalent of the C function <a class="el" href="ogr__srs__api_8h.html#a6e50ea67235a4796edcbd3e14113f6aa" title="Export coordinate system in USGS GCTP projection definition. ">OSRExportToUSGS()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">piProjSys</td><td>Pointer to variable, where the projection system code will be returned.</td></tr> <tr><td class="paramname">piZone</td><td>Pointer to variable, where the zone for UTM and State Plane projection systems will be returned.</td></tr> <tr><td class="paramname">ppadfPrjParams</td><td>Pointer to which dynamically allocated array of 15 projection parameters will be assigned. See <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d" title="Import coordinate system from USGS projection definition. ">importFromUSGS()</a> for the list of parameters. Caller responsible to free this array.</td></tr> <tr><td class="paramname">piDatum</td><td>Pointer to variable, where the datum code will be returned.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code on failure. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__conv_8h.html#a97b69cc886a1a5c9618612d8205600e4">CPLDecToPackedDMS()</a>, <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">GetSemiMajor()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, and <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>.</p> </div> </div> <a class="anchor" id="a596b8e527d66a5054408159f0006fdac"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToWkt </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszResult</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Convert this SRS into WKT format. </p> <p>Note that the returned WKT string should be freed with OGRFree() or CPLFree() when no longer needed. It is the responsibility of the caller.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a92d97dc5f5d09d76310b143f86b0f101" title="Convert this SRS into WKT format. ">OSRExportToWkt()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszResult</td><td>the resulting string is returned in this pointer.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>currently OGRERR_NONE is always returned, but the future it is possible error conditions will develop. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, and <a class="el" href="classOGR__SRSNode.html#a5b147bc2cad0aaafb201c559abe9cc85">OGR_SRSNode::exportToWkt()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, and <a class="el" href="classOGRSpatialReference.html#aae2d987b92bc798f9bea5b1a18cf0ad2">Validate()</a>.</p> </div> </div> <a class="anchor" id="acfcddbb8bf50bfe3de4913c5b7aff228"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::exportToXML </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Export coordinate system in XML format. </p> <p>Converts the loaded coordinate reference system into XML format to the extent possible. The string returned in ppszRawXML should be deallocated by the caller with CPLFree() when no longer needed.</p> <p>LOCAL_CS coordinate systems are not translatable. An empty string will be returned along with OGRERR_NONE.</p> <p>This method is the equivelent of the C function <a class="el" href="ogr__srs__api_8h.html#ad62d01e6cda312408b167260c2bd45fd" title="Export coordinate system in XML format. ">OSRExportToXML()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszRawXML</td><td>pointer to which dynamically allocated XML definition will be assigned. </td></tr> <tr><td class="paramname">pszDialect</td><td>currently ignored. The dialect used is GML based.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code on failure. </dd></dl> <p>References <a class="el" href="cpl__minixml_8h.html#a9e05eabc54728fb3266576404200da40">CPLDestroyXMLNode()</a>, <a class="el" href="cpl__minixml_8h.html#a17562c5f454d236e6749c73f4c93de6e">CPLSerializeXMLTree()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>, and <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>.</p> </div> </div> <a class="anchor" id="adcab5192c705087bc9e7537f34df9f55"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::FindProjParm </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszParameter</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td> <td class="paramname"><em>poPROJCS</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Return the child index of the named projection parameter on its parent PROJCS node. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszParameter</td><td>projection parameter to look for </td></tr> <tr><td class="paramname">poPROJCS</td><td>projection CS node to look in. If NULL is passed, the PROJCS node of the SpatialReference object will be searched.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the child index of the named projection parameter. -1 on failure </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>.</p> </div> </div> <a class="anchor" id="a429b0446798982c6c19efcb7042a8cbc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::Fixup </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Fixup as needed. </p> <p>Some mechanisms to create WKT using <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>, and some imported WKT, are not valid according to the OGC CT specification. This method attempts to fill in any missing defaults that are required, and fixup ordering problems (using <a class="el" href="ogr__srs__api_8h.html#a2a994977dd25d61b4d94806a23cfc4eb" title="Correct parameter ordering to match CT Specification. ">OSRFixupOrdering()</a>) so that the resulting WKT is valid.</p> <p>This method should be expected to evolve over time to as problems are discovered. The following are amoung the fixup actions this method will take:</p> <ul> <li>Fixup the ordering of nodes to match the BNF WKT ordering, using the <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba" title="Correct parameter ordering to match CT Specification. ">FixupOrdering()</a> method.</li> <li>Add missing linear or angular units nodes.</li> </ul> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a554fd8abbd5ef63ad5b32c511a690328" title="Fixup as needed. ">OSRFixup()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code if something goes wrong. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">SetAngularUnits()</a>, and <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>.</p> </div> </div> <a class="anchor" id="ae1b29a686944ae51ed924aa5138b45ba"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::FixupOrdering </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Correct parameter ordering to match CT Specification. </p> <p>Some mechanisms to create WKT using <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>, and some imported WKT fail to maintain the order of parameters required according to the BNF definitions in the OpenGIS SF-SQL and CT Specifications. This method attempts to massage things back into the required order.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a2a994977dd25d61b4d94806a23cfc4eb" title="Correct parameter ordering to match CT Specification. ">OSRFixupOrdering()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code if something goes wrong. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a25b0a2db1a7a8d9b5395c75510ad3734">OGR_SRSNode::FixupOrdering()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a429b0446798982c6c19efcb7042a8cbc">Fixup()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>.</p> </div> </div> <a class="anchor" id="a98bde6d2dbe0d5cd0f29a6d62a5b3f58"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetAngularUnits </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszName</em> = <code>NULL</code></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch angular geographic coordinate system units. </p> <p>If no units are available, a value of "degree" and SRS_UA_DEGREE_CONV will be assumed. This method only checks directly under the GEOGCS node for units.</p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#a3e17bcdca0f0d6b582e1ae2b691c4999" title="Fetch angular geographic coordinate system units. ">OSRGetAngularUnits()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszName</td><td>a pointer to be updated with the pointer to the units name. The returned value remains internal to the <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> and shouldn't be freed, or modified. It may be invalidated on the next <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> call.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the value to multiply by angular distances to transform them to radians. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>.</p> </div> </div> <a class="anchor" id="a529996d77052abd060d95883ad27258d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * OGRSpatialReference::GetAttrNode </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszNodePath</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Find named node in tree. </p> <p>This method does a pre-order traversal of the node tree searching for a node with this exact value (case insensitive), and returns it. Leaf nodes are not considered, under the assumption that they are just attribute value nodes.</p> <p>If a node appears more than once in the tree (such as UNIT for instance), the first encountered will be returned. Use GetNode() on a subtree to be more specific.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszNodePath</td><td>the name of the node to search for. May contain multiple components such as "GEOGCS|UNIT".</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a pointer to the node found, or NULL if none. </dd></dl> <p>References <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, and <a class="el" href="classOGR__SRSNode.html#a6760a6ffee3941f9b55d184304a70b06">OGR_SRSNode::GetNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a0c1e2b108255487f91ae448f5c11f67c">CloneGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#a519cce70fd39f974c61342bf73ab01ad">EPSGTreatsAsLatLong()</a>, <a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878">EPSGTreatsAsNorthingEasting()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#adcab5192c705087bc9e7537f34df9f55">FindProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a429b0446798982c6c19efcb7042a8cbc">Fixup()</a>, <a class="el" href="classOGRSpatialReference.html#a98bde6d2dbe0d5cd0f29a6d62a5b3f58">GetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#ac2a2eb4eaed918a8bca2a55147dd2275">GetPrimeMeridian()</a>, <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">GetSemiMajor()</a>, <a class="el" href="classOGRSpatialReference.html#aeb9a7cf8138734e5fa734283c124d62b">GetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#aaa947bf7c5c7240d2de30afe11086a19">GetTOWGS84()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>, <a class="el" href="classOGRSpatialReference.html#ac16afe94b0d129c0b47e04a6f8b78bef">IsVertical()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">SetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">SetAuthority()</a>, <a class="el" href="classOGRSpatialReference.html#af909159bd41fd01ea9b42621dfd5bc18">SetGeocCS()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">SetLinearUnitsAndUpdateParameters()</a>, <a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS()</a>, <a class="el" href="classOGRSpatialReference.html#a208118581246feb29646acf2ea5d4237">SetProjCS()</a>, <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>, <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">SetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>, <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">SetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">SetTOWGS84()</a>, and <a class="el" href="classOGRSpatialReference.html#a4764cca1641b045a63afa95d01922add">SetVertCS()</a>.</p> </div> </div> <a class="anchor" id="acc815e7bd21c1c052304368c0eefe8be"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * OGRSpatialReference::GetAttrValue </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszNodeName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>iAttr</em> = <code>0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch indicated attribute of named node. </p> <p>This method uses <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d" title="Find named node in tree. ">GetAttrNode()</a> to find the named node, and then extracts the value of the indicated child. Thus a call to GetAttrValue("UNIT",1) would return the second child of the UNIT node, which is normally the length of the linear unit in meters.</p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#a45e7200fc05f3793d3605873d9bf80d0" title="Fetch indicated attribute of named node. ">OSRGetAttrValue()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszNodeName</td><td>the tree node to look for (case insensitive). </td></tr> <tr><td class="paramname">iAttr</td><td>the child of the node to fetch (zero based).</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the requested value, or NULL if it fails for any reason. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM()</a>, <a class="el" href="classOGRSpatialReference.html#a2172f6cf2ea15a417474ef114f91397c">exportToPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a04ab13a2ec4ceffd6f802422f95e8f15">exportToUSGS()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>, <a class="el" href="classOGRSpatialReference.html#a8b6df2af4faf5de4af8cc935e9b38be5">IsSameGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#ac886436c45b2e7e18c14ed3cb33ee058">IsSameVertCS()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>, and <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>.</p> </div> </div> <a class="anchor" id="a178f4593ef4ee661f2df9d221feaa803"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * OGRSpatialReference::GetAuthorityCode </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the authority code for a node. </p> <p>This method is used to query an AUTHORITY[] node from within the WKT tree, and fetch the code value.</p> <p>While in theory values may be non-numeric, for the EPSG authority all code values should be integral.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a1a3f712d95263bf9d564fbd795064188" title="Get the authority code for a node. ">OSRGetAuthorityCode()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>the partial or complete path to the node to get an authority from. ie. "PROJCS", "GEOGCS", "GEOGCS|UNIT" or NULL to search for an authority node on the root element.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>value code from authority node, or NULL on failure. The value returned is internal and should not be freed or modified. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#acb0373c83927bfd694048da6f79e33ea">AutoIdentifyEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>.</p> </div> </div> <a class="anchor" id="a3f6524f36ace6a7be7b3e2a20790a82f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * OGRSpatialReference::GetAuthorityName </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the authority name for a node. </p> <p>This method is used to query an AUTHORITY[] node from within the WKT tree, and fetch the authority name value.</p> <p>The most common authority is "EPSG".</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a938078788e10ddb57c0f55c619adc210" title="Get the authority name for a node. ">OSRGetAuthorityName()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>the partial or complete path to the node to get an authority from. ie. "PROJCS", "GEOGCS", "GEOGCS|UNIT" or NULL to search for an authority node on the root element.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>value code from authority node, or NULL on failure. The value returned is internal and should not be freed or modified. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#acb0373c83927bfd694048da6f79e33ea">AutoIdentifyEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a519cce70fd39f974c61342bf73ab01ad">EPSGTreatsAsLatLong()</a>, <a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878">EPSGTreatsAsNorthingEasting()</a>, <a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, and <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>.</p> </div> </div> <a class="anchor" id="a485ca347702eea566fc239782a6b74fa"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * OGRSpatialReference::GetAxis </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>iAxis</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">OGRAxisOrientation * </td> <td class="paramname"><em>peOrientation</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch the orientation of one axis. </p> <p>Fetches the the request axis (iAxis - zero based) from the indicated portion of the coordinate system (pszTargetKey) which should be either "GEOGCS" or "PROJCS".</p> <p>No CPLError is issued on routine failures (such as not finding the AXIS).</p> <p>This method is equivalent to the C function <a class="el" href="ogr__srs__api_8h.html#ad1eb792fec17ee08c7d47f8a5c8c68dc" title="Fetch the orientation of one axis. ">OSRGetAxis()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>the coordinate system part to query ("PROJCS" or "GEOGCS"). </td></tr> <tr><td class="paramname">iAxis</td><td>the axis to query (0 for first, 1 for second). </td></tr> <tr><td class="paramname">peOrientation</td><td>location into which to place the fetch orientation, may be NULL.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the name of the axis or NULL on failure. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> </div> </div> <a class="anchor" id="a0dac73464153c4383c6fe581af8838c7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char * OGRSpatialReference::GetExtension </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszDefault</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch extension value. </p> <p>Fetch the value of the named EXTENSION item for the identified target node.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>the name or path to the parent node of the EXTENSION. </td></tr> <tr><td class="paramname">pszName</td><td>the name of the extension being fetched. </td></tr> <tr><td class="paramname">pszDefault</td><td>the value to return if the extension is not found.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>node value if successful or pszDefault on failure. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>.</p> </div> </div> <a class="anchor" id="ab8e5f09148eb80ea4c8242d30591ba32"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetInvFlattening </td> <td>(</td> <td class="paramtype">OGRErr * </td> <td class="paramname"><em>pnErr</em> = <code>NULL</code></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get spheroid inverse flattening. </p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#a79746a1da88d9a7e41557df82165c08a" title="Get spheroid inverse flattening. ">OSRGetInvFlattening()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pnErr</td><td>if non-NULL set to OGRERR_FAILURE if no inverse flattening can be found.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>inverse flattening, or SRS_WGS84_INVFLATTENING if it can't be found. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a2172f6cf2ea15a417474ef114f91397c">exportToPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a04ab13a2ec4ceffd6f802422f95e8f15">exportToUSGS()</a>, <a class="el" href="classOGRSpatialReference.html#ae004d56063c3dedf18bc3a8c705deacb">GetSemiMinor()</a>, and <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>.</p> </div> </div> <a class="anchor" id="af2821ab555a3bb2d6bb1df49d076a198"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetLinearUnits </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszName</em> = <code>NULL</code></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch linear projection units. </p> <p>If no units are available, a value of "Meters" and 1.0 will be assumed. This method only checks directly under the PROJCS, GEOCCS or LOCAL_CS node for units.</p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#a4ac8ada088020302ac565ebe00378ab9" title="Fetch linear projection units. ">OSRGetLinearUnits()</a>/</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszName</td><td>a pointer to be updated with the pointer to the units name. The returned value remains internal to the <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> and shouldn't be freed, or modified. It may be invalidated on the next <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> call.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the value to multiply by linear distances to transform them to meters. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#aeb9a7cf8138734e5fa734283c124d62b">GetTargetLinearUnits()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">SetLinearUnitsAndUpdateParameters()</a>, and <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>.</p> </div> </div> <a class="anchor" id="aa50f2dbc9a893110177ebeb847b70316"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetNormProjParm </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfDefaultValue</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">OGRErr * </td> <td class="paramname"><em>pnErr</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch a normalized projection parameter value. </p> <p>This method is the same as <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb" title="Fetch a projection parameter value. ">GetProjParm()</a> except that the value of the parameter is "normalized" into degrees or meters depending on whether it is linear or angular.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a6ad286760ff074e13041203a6956782f" title="This function is the same as OGRSpatialReference:: ">OSRGetNormProjParm()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the name of the parameter to fetch, from the set of SRS_PP codes in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>.</td></tr> <tr><td class="paramname">dfDefaultValue</td><td>the value to return if this parameter doesn't exist.</td></tr> <tr><td class="paramname">pnErr</td><td>place to put error code on failure. Ignored if NULL.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>value of parameter. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a2172f6cf2ea15a417474ef114f91397c">exportToPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a04ab13a2ec4ceffd6f802422f95e8f15">exportToUSGS()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>, and <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>.</p> </div> </div> <a class="anchor" id="ac2a2eb4eaed918a8bca2a55147dd2275"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetPrimeMeridian </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszName</em> = <code>NULL</code></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch prime meridian info. </p> <p>Returns the offset of the prime meridian from greenwich in degrees, and the prime meridian name (if requested). If no PRIMEM value exists in the coordinate system definition a value of "Greenwich" and an offset of 0.0 is assumed.</p> <p>If the prime meridian name is returned, the pointer is to an internal copy of the name. It should not be freed, altered or depended on after the next OGR call.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a45165794393738d828aa3aa57ab39b49" title="Fetch prime meridian info. ">OSRGetPrimeMeridian()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszName</td><td>return location for prime meridian name. If NULL, name is not returned.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the offset to the GEOGCS prime meridian from greenwich in decimal degrees. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>.</p> </div> </div> <a class="anchor" id="a603c654bc0616f26c9300b3c66952cdb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetProjParm </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfDefaultValue</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">OGRErr * </td> <td class="paramname"><em>pnErr</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch a projection parameter value. </p> <p>NOTE: This code should be modified to translate non degree angles into degrees based on the GEOGCS unit. This has not yet been done.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#aee052050fbdf32fb5a1a0bfa9cad9bfc" title="Fetch a projection parameter value. ">OSRGetProjParm()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the name of the parameter to fetch, from the set of SRS_PP codes in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>.</td></tr> <tr><td class="paramname">dfDefaultValue</td><td>the value to return if this parameter doesn't exist.</td></tr> <tr><td class="paramname">pnErr</td><td>place to put error code on failure. Ignored if NULL.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>value of parameter. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#adcab5192c705087bc9e7537f34df9f55">FindProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>, and <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">SetLinearUnitsAndUpdateParameters()</a>.</p> </div> </div> <a class="anchor" id="a0b4e29e50d8591aa2c75620367eb2123"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::GetReferenceCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Fetch current reference count. </p> <dl class="section return"><dt>Returns</dt><dd>the current reference count. </dd></dl> </div> </div> <a class="anchor" id="ae4a85fc76fb96e5d253897d0589aea33"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetSemiMajor </td> <td>(</td> <td class="paramtype">OGRErr * </td> <td class="paramname"><em>pnErr</em> = <code>NULL</code></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get spheroid semi major axis. </p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#aa7f8b84bb6d99e04f362ae1b2590ca33" title="Get spheroid semi major axis. ">OSRGetSemiMajor()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pnErr</td><td>if non-NULL set to OGRERR_FAILURE if semi major axis can be found.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>semi-major axis, or SRS_WGS84_SEMIMAJOR if it can't be found. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a2172f6cf2ea15a417474ef114f91397c">exportToPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a04ab13a2ec4ceffd6f802422f95e8f15">exportToUSGS()</a>, <a class="el" href="classOGRSpatialReference.html#ae004d56063c3dedf18bc3a8c705deacb">GetSemiMinor()</a>, and <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>.</p> </div> </div> <a class="anchor" id="ae004d56063c3dedf18bc3a8c705deacb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetSemiMinor </td> <td>(</td> <td class="paramtype">OGRErr * </td> <td class="paramname"><em>pnErr</em> = <code>NULL</code></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get spheroid semi minor axis. </p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#a432e4d2fb6ac0bff03d9e0777cebe258" title="Get spheroid semi minor axis. ">OSRGetSemiMinor()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pnErr</td><td>if non-NULL set to OGRERR_FAILURE if semi minor axis can be found.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>semi-minor axis, or WGS84 semi minor if it can't be found. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">GetInvFlattening()</a>, and <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">GetSemiMajor()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>.</p> </div> </div> <a class="anchor" id="aeb9a7cf8138734e5fa734283c124d62b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRSpatialReference::GetTargetLinearUnits </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszName</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch linear units for target. </p> <p>If no units are available, a value of "Meters" and 1.0 will be assumed.</p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#a99b89446d22531546d40e03e42b84ad1" title="Fetch linear projection units. ">OSRGetTargetLinearUnits()</a>/</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>the key to look on. ie. "PROJCS" or "VERT_CS". </td></tr> <tr><td class="paramname">ppszName</td><td>a pointer to be updated with the pointer to the units name. The returned value remains internal to the <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> and shouldn't be freed, or modified. It may be invalidated on the next <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> call.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the value to multiply by linear distances to transform them to meters.</dd></dl> <dl class="section since"><dt>Since</dt><dd>OGR 1.9.0 </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, and <a class="el" href="classOGRSpatialReference.html#ac16afe94b0d129c0b47e04a6f8b78bef">IsVertical()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>.</p> </div> </div> <a class="anchor" id="aaa947bf7c5c7240d2de30afe11086a19"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::GetTOWGS84 </td> <td>(</td> <td class="paramtype">double * </td> <td class="paramname"><em>padfCoeff</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nCoeffCount</em> = <code>7</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Fetch TOWGS84 parameters, if available. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">padfCoeff</td><td>array into which up to 7 coefficients are placed. </td></tr> <tr><td class="paramname">nCoeffCount</td><td>size of padfCoeff - defaults to 7.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, or OGRERR_FAILURE if there is no TOWGS84 node available. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, and <a class="el" href="classOGRSpatialReference.html#a8b6df2af4faf5de4af8cc935e9b38be5">IsSameGeogCS()</a>.</p> </div> </div> <a class="anchor" id="a4b17d85f5db53978c749780b214c4237"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::GetUTMZone </td> <td>(</td> <td class="paramtype">int * </td> <td class="paramname"><em>pbNorth</em> = <code>NULL</code></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get utm zone information. </p> <p>This is the same as the C function <a class="el" href="ogr__srs__api_8h.html#ad21364295012631454ff6bdbfd8cd48e" title="Get utm zone information. ">OSRGetUTMZone()</a>.</p> <p>In SWIG bindings (Python, Java, etc) the <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237" title="Get utm zone information. ">GetUTMZone()</a> method returns a zone which is negative in the southern hemisphere instead of having the pbNorth flag used in the C and C++ interface.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pbNorth</td><td>pointer to in to set to TRUE if northern hemisphere, or FALSE if southern.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>UTM zone number or zero if this isn't a UTM definition. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#acb0373c83927bfd694048da6f79e33ea">AutoIdentifyEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM()</a>, <a class="el" href="classOGRSpatialReference.html#a2172f6cf2ea15a417474ef114f91397c">exportToPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a04ab13a2ec4ceffd6f802422f95e8f15">exportToUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>.</p> </div> </div> <a class="anchor" id="a6c127a25699d8b59e79866b1167d07b4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromCRSURL </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszURL</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Initialize from OGC URL. </p> <p>Initializes this spatial reference from a coordinate system defined by an OGC URL prefixed with "http://opengis.net/def/crs" per best practice paper 11-135. Currently EPSG and OGC authority values are supported, including OGC auto codes, but not including CRS1 or CRS88 (NAVD88).</p> <p>This method is also supported through <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796" title="Set spatial reference from various text formats. ">SetFromUserInput()</a> which can normally be used for URLs.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszURL</td><td>the URL string.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">importFromCRSURL()</a>, and <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">importFromCRSURL()</a>, and <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="ad6daf2b64d379a4484413fc9755cc7f6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromDict </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszDictFile</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszCode</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Read SRS from WKT dictionary.</p> <p>This method will attempt to find the indicated coordinate system identity in the indicated dictionary file. If found, the WKT representation is imported and used to initialize this <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>.</p> <p>More complete information on the format of the dictionary files can be found in the epsg.wkt file in the GDAL data tree. The dictionary files are searched for in the "GDAL" domain using CPLFindFile(). Normally this results in searching /usr/local/share/gdal or somewhere similar.</p> <p>This method is the same as the C function OSRImportFromDict().</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszDictFile</td><td>the name of the dictionary file to load.</td></tr> <tr><td class="paramname">pszCode</td><td>the code to lookup in the dictionary.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, or OGRERR_SRS_UNSUPPORTED if the code isn't found, and OGRERR_SRS_FAILURE if something more dramatic goes wrong. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#a0ad35dbadd4f1d04bbedd66774be940f">CPLReadLine()</a>, and <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343">importFromWkt()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, <a class="el" href="classOGRSpatialReference.html#aae4588813e3034a0d920a5787ff71a32">importFromERM()</a>, and <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="a8a5b8c9a205eedc6b88a14aa0c219969"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromEPSG </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>nCode</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Initialize SRS based on EPSG GCS or PCS code. </p> <p>This method will initialize the spatial reference based on the passed in EPSG GCS or PCS code. The coordinate system definitions are normally read from the EPSG derived support files such as pcs.csv, gcs.csv, pcs.override.csv, gcs.override.csv and falling back to search for a PROJ.4 epsg init file or a definition in epsg.wkt.</p> <p>These support files are normally searched for in /usr/local/share/gdal or in the directory identified by the GDAL_DATA configuration option. See CPLFindFile() for details.</p> <p>This method is relatively expensive, and generally involves quite a bit of text file scanning. Reasonable efforts should be made to avoid calling it many times for the same coordinate system.</p> <p>This method is similar to <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613" title="Initialize SRS based on EPSG GCS or PCS code. ">importFromEPSGA()</a> except that EPSG preferred axis ordering will <em>not</em> be applied for geographic coordinate systems. EPSG normally defines geographic coordinate systems to use lat/long contrary to typical GIS use). Since OGR 1.10.0, EPSG preferred axis ordering will also <em>not</em> be applied for projected coordinate systems that use northing/easting order.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#ab23438fe9126b3c99f7f7cd863e29fb6" title="Initialize SRS based on EPSG GCS or PCS code. ">OSRImportFromEPSG()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">nCode</td><td>a GCS or PCS code from the horizontal coordinate system table.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, or an error code on failure. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878">EPSGTreatsAsNorthingEasting()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, and <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">OGR_SRSNode::StripNodes()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aae4588813e3034a0d920a5787ff71a32">importFromERM()</a>, <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> </div> </div> <a class="anchor" id="aaa6965a1df98cdc673dfb20697eab613"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromEPSGA </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>nCode</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Initialize SRS based on EPSG GCS or PCS code. </p> <p>This method will initialize the spatial reference based on the passed in EPSG GCS or PCS code.</p> <p>This method is similar to <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969" title="Initialize SRS based on EPSG GCS or PCS code. ">importFromEPSG()</a> except that EPSG preferred axis ordering <em>will</em> be applied for geographic and projected coordinate systems. EPSG normally defines geographic coordinate systems to use lat/long, and also there are also a few projected coordinate systems that use northing/easting order contrary to typical GIS use). See <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969" title="Initialize SRS based on EPSG GCS or PCS code. ">OGRSpatialReference::importFromEPSG()</a> for more details on operation of this method.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#af55e244a1fb5ac757522b1075198186d" title="Initialize SRS based on EPSG GCS or PCS code. ">OSRImportFromEPSGA()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">nCode</td><td>a GCS or PCS code from the horizontal coordinate system table.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, or an error code on failure. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName()</a>, <a class="el" href="classOGRSpatialReference.html#ad6daf2b64d379a4484413fc9755cc7f6">importFromDict()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, and <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">SetAuthority()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> </div> </div> <a class="anchor" id="aae4588813e3034a0d920a5787ff71a32"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromERM </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszProj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszDatum</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszUnits</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create OGR WKT from ERMapper projection definitions.</p> <p>Generates an <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> definition from an ERMapper datum and projection name. Based on the ecw_cs.wkt dictionary file from gdal/data.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszProj</td><td>the projection name, such as "NUTM11" or "GEOGRAPHIC". </td></tr> <tr><td class="paramname">pszDatum</td><td>the datum name, such as "NAD83". </td></tr> <tr><td class="paramname">pszUnits</td><td>the linear units "FEET" or "METERS".</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or OGRERR_UNSUPPORTED_SRS if not found. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#ad6daf2b64d379a4484413fc9755cc7f6">importFromDict()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>, and <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>.</p> </div> </div> <a class="anchor" id="af91af2639702e2793daf93ffe231b577"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromESRI </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>papszPrj</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Import coordinate system from ESRI .prj format(s). </p> <p>This function will read the text loaded from an ESRI .prj file, and translate it into an <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> definition. This should support many (but by no means all) old style (Arc/Info 7.x) .prj files, as well as the newer pseudo-OGC WKT .prj files. Note that new style .prj files are in OGC WKT format, but require some manipulation to correct datum names, and units on some projection parameters. This is addressed within <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577" title="Import coordinate system from ESRI .prj format(s). ">importFromESRI()</a> by an automatical call to <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6" title="Convert in place from ESRI WKT format. ">morphFromESRI()</a>.</p> <p>Currently only GEOGRAPHIC, UTM, STATEPLANE, GREATBRITIAN_GRID, ALBERS, EQUIDISTANT_CONIC, TRANSVERSE (mercator), POLAR, MERCATOR and POLYCONIC projections are supported from old style files.</p> <p>At this time there is no equivelent exportToESRI() method. Writing old style .prj files is not supported by <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>. However the <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7" title="Convert in place to ESRI WKT format. ">morphToESRI()</a> and <a class="el" href="classOGRSpatialReference.html#a596b8e527d66a5054408159f0006fdac" title="Convert this SRS into WKT format. ">exportToWkt()</a> methods can be used to generate output suitable to write to new style (Arc 8) .prj files.</p> <p>This function is the equilvelent of the C function <a class="el" href="ogr__srs__api_8h.html#acfd57b2a82d46ac397ad7c88421e0033" title="Import coordinate system from ESRI .prj format(s). ">OSRImportFromESRI()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">papszPrj</td><td>NULL terminated list of strings containing the definition.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code in case of failure. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__conv_8h.html#a6861a37c19e925ee0aa8d5b10ee13147">CPLRealloc()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343">importFromWkt()</a>, <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a826075cf8aeb97db58f1d505eb3a11cb">SetACEA()</a>, <a class="el" href="classOGRSpatialReference.html#a229e9bfaf27c92f27db454f7186d7efc">SetEC()</a>, <a class="el" href="classOGRSpatialReference.html#abb729026c3ff6e6729c6cab4cd4e7b82">SetLAEA()</a>, <a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">SetLinearUnitsAndUpdateParameters()</a>, <a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS()</a>, <a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a90387616358d7ccfbf021248b63bf55d">SetPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#aa7ef801c3bece207b4972ad25229e866">SetPS()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> </div> </div> <a class="anchor" id="a1acf0f6cac3125cc878a99433033c140"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromMICoordSys </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszCoordSys</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Import Mapinfo style CoordSys definition. </p> <p>The <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> is initialized from the passed Mapinfo style CoordSys definition string.</p> <p>This method is the equivalent of the C function <a class="el" href="ogr__srs__api_8h.html#a18dd08b904ee99dd777721c5963d1726" title="Import Mapinfo style CoordSys definition. ">OSRImportFromMICoordSys()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszCoordSys</td><td>Mapinfo style CoordSys definition string.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, OGRERR_FAILURE on failure, OGRERR_UNSUPPORTED_OPERATION if MITAB library was not linked in. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>.</p> </div> </div> <a class="anchor" id="a04eb3540e6381d5e6c86dfa088920fa3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromOzi </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszDatum</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszProj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszProjParms</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Note : This method is obsolete, but has been kept to avoid breaking the API. It can be removed in GDAL 2.0 Import coordinate system from OziExplorer projection definition.</p> <p>This method will import projection definition in style, used by OziExplorer software.</p> <p>This function is the equivalent of the C function OSRImportFromOzi().</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszDatum</td><td>Datum string. This is a fifth string in the OziExplorer .MAP file.</td></tr> <tr><td class="paramname">pszProj</td><td>Projection string. Search for line starting with "Map Projection" name in the OziExplorer .MAP file and supply it as a whole in this parameter.</td></tr> <tr><td class="paramname">pszProjParms</td><td>String containing projection parameters. Search for "Projection Setup" name in the OziExplorer .MAP file and supply it as a whole in this parameter.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code in case of failure.</dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>Use <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi( const char * const* papszLines )</a> instead </dd></dl> </div> </div> <a class="anchor" id="a84c754327d7081c25358e1a4a6dcf002"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromOzi </td> <td>(</td> <td class="paramtype">const char *const * </td> <td class="paramname"><em>papszLines</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Import coordinate system from OziExplorer projection definition.</p> <p>This method will import projection definition in style, used by OziExplorer software.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">papszLines</td><td>Map file lines. This is an array of strings containing the whole OziExplorer .MAP file. The array is terminated by a NULL pointer.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code in case of failure.</dd></dl> <dl class="section since"><dt>Since</dt><dd>OGR 1.10 </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="cpl__conv_8h.html#aa07cd1b2aa5e76eb67ba952440198796">CPLAtofM()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="cpl__string_8h.html#a36f1e4efb0da65e3d900d3a0ce8cbaab">CSLTokenizeString2()</a>, <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#a826075cf8aeb97db58f1d505eb3a11cb">SetACEA()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC()</a>, <a class="el" href="classOGRSpatialReference.html#ae89db924598873ff279cf9cd1f5402c7">SetLCC1SP()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS()</a>, <a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a2d3ceed1839820c00a45b31411046446">SetSinusoidal()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">SetTOWGS84()</a>, and <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>.</p> </div> </div> <a class="anchor" id="a6a534e7d862a17c92a31d821848533c8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromPanorama </td> <td>(</td> <td class="paramtype">long </td> <td class="paramname"><em>iProjSys</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"><em>iDatum</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"><em>iEllips</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"><em>padfPrjParams</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Import coordinate system from "Panorama" GIS projection definition.</p> <p>This method will import projection definition in style, used by "Panorama" GIS.</p> <p>This function is the equivalent of the C function OSRImportFromPanorama().</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iProjSys</td><td>Input projection system code, used in GIS "Panorama". <pre class="fragment"> <h4>Supported Projections</h4> </pre> <pre> 1: Gauss-Kruger (Transverse Mercator) 2: Lambert Conformal Conic 2SP 5: Stereographic 6: Azimuthal Equidistant (Postel) 8: Mercator 10: Polyconic 13: Polar Stereographic 15: Gnomonic 17: Universal Transverse Mercator (UTM) 18: Wagner I (Kavraisky VI) 19: Mollweide 20: Equidistant Conic 24: Lambert Azimuthal Equal Area 27: Equirectangular 28: Cylindrical Equal Area (Lambert) 29: International Map of the World Polyconic </pre></td></tr> <tr><td class="paramname">iDatum</td><td>Input coordinate system. <pre class="fragment"> <h4>Supported Datums</h4> </pre> <pre> 1: Pulkovo, 1942 2: WGS, 1984 3: OSGB 1936 (British National Grid) 9: Pulkovo, 1995 </pre></td></tr> <tr><td class="paramname">iEllips</td><td>Input spheroid. <pre class="fragment"> <h4>Supported Spheroids</h4> </pre> <pre> 1: Krassovsky, 1940 2: WGS, 1972 3: International, 1924 (Hayford, 1909) 4: Clarke, 1880 5: Clarke, 1866 (NAD1927) 6: Everest, 1830 7: Bessel, 1841 8: Airy, 1830 9: WGS, 1984 (GPS) </pre></td></tr> <tr><td class="paramname">padfPrjParams</td><td>Array of 8 coordinate system parameters:</td></tr> </table> </dd> </dl> <pre> [0] Latitude of the first standard parallel (radians) [1] Latitude of the second standard parallel (radians) [2] Latitude of center of projection (radians) [3] Longitude of center of projection (radians) [4] Scaling factor [5] False Easting [6] False Northing [7] Zone number </pre><p>Particular projection uses different parameters, unused ones may be set to zero. If NULL supplied instead of array pointer default values will be used (i.e., zeroes).</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code in case of failure. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#a9db1b1a2e484ea9666d5009f19c6437e">SetAE()</a>, <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">SetAuthority()</a>, <a class="el" href="classOGRSpatialReference.html#a00037fe7f593033ba0a4c123d989370b">SetCEA()</a>, <a class="el" href="classOGRSpatialReference.html#a229e9bfaf27c92f27db454f7186d7efc">SetEC()</a>, <a class="el" href="classOGRSpatialReference.html#a10c780ca8dc53fc91a99153290cc426a">SetEquirectangular()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a67a58ae2d5f8196f50fe10fd7b2b447d">SetGnomonic()</a>, <a class="el" href="classOGRSpatialReference.html#a555f427030e3bb1b0754a7ab64e826a3">SetIWMPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#abb729026c3ff6e6729c6cab4cd4e7b82">SetLAEA()</a>, <a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS()</a>, <a class="el" href="classOGRSpatialReference.html#abffbf6b7dade5c4f89461d581ec34f81">SetMC()</a>, <a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a836ae0eb0484b8538b5ebbec51ff549b">SetMollweide()</a>, <a class="el" href="classOGRSpatialReference.html#a90387616358d7ccfbf021248b63bf55d">SetPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#aa7ef801c3bece207b4972ad25229e866">SetPS()</a>, <a class="el" href="classOGRSpatialReference.html#a7cee263b477072d49648b3320b240f25">SetStereographic()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>, <a class="el" href="classOGRSpatialReference.html#abcf567c9fe6bb8bfb1d758947a4d5daf">SetWagner()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> </div> </div> <a class="anchor" id="a52f1557adb638b64487afd9c430148f4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromPCI </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszProj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszUnits</em> = <code>NULL</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"><em>padfPrjParams</em> = <code>NULL</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Import coordinate system from PCI projection definition. </p> <p>PCI software uses 16-character string to specify coordinate system and datum/ellipsoid. You should supply at least this string to the <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4" title="Import coordinate system from PCI projection definition. ">importFromPCI()</a> function.</p> <p>This function is the equivalent of the C function <a class="el" href="ogr__srs__api_8h.html#a348621e754694226a862ab59123c8beb" title="Import coordinate system from PCI projection definition. ">OSRImportFromPCI()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszProj</td><td>NULL terminated string containing the definition. Looks like "pppppppppppp Ennn" or "pppppppppppp Dnnn", where "pppppppppppp" is a projection code, "Ennn" is an ellipsoid code, "Dnnn" — a datum code.</td></tr> <tr><td class="paramname">pszUnits</td><td>Grid units code ("DEGREE" or "METRE"). If NULL "METRE" will be used.</td></tr> <tr><td class="paramname">padfPrjParams</td><td>Array of 17 coordinate system parameters:</td></tr> </table> </dd> </dl> <p>[0] Spheroid semi major axis [1] Spheroid semi minor axis [2] Reference Longitude [3] Reference Latitude [4] First Standard Parallel [5] Second Standard Parallel [6] False Easting [7] False Northing [8] Scale Factor [9] Height above sphere surface [10] Longitude of 1st point on center line [11] Latitude of 1st point on center line [12] Longitude of 2nd point on center line [13] Latitude of 2nd point on center line [14] Azimuth east of north for center line [15] Landsat satellite number [16] Landsat path number</p> <p>Particular projection uses different parameters, unused ones may be set to zero. If NULL suppliet instead of array pointer default values will be used (i.e., zeroes).</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code in case of failure. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="cpl__conv_8h.html#a338bbe67c148d2555861eb5563b17303">CPLScanLong()</a>, <a class="el" href="cpl__string_8h.html#a8d45dc0510e8e8f4e58f3cb70e341732">CPLStrnlen()</a>, <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>, <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#a826075cf8aeb97db58f1d505eb3a11cb">SetACEA()</a>, <a class="el" href="classOGRSpatialReference.html#a9db1b1a2e484ea9666d5009f19c6437e">SetAE()</a>, <a class="el" href="classOGRSpatialReference.html#a23784d4bfc74a92ba816edeeab90d225">SetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">SetAuthority()</a>, <a class="el" href="classOGRSpatialReference.html#a3d403772226f49e4a16bdc40416809c0">SetCS()</a>, <a class="el" href="classOGRSpatialReference.html#a229e9bfaf27c92f27db454f7186d7efc">SetEC()</a>, <a class="el" href="classOGRSpatialReference.html#a9c4d317d4a4054d9674b14ea0c7401b6">SetEquirectangular2()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a67a58ae2d5f8196f50fe10fd7b2b447d">SetGnomonic()</a>, <a class="el" href="classOGRSpatialReference.html#a4d13105847002639f0f448167dc922a0">SetHOM()</a>, <a class="el" href="classOGRSpatialReference.html#a66530428642a5e5e16f7791c7474fd21">SetHOM2PNO()</a>, <a class="el" href="classOGRSpatialReference.html#abb729026c3ff6e6729c6cab4cd4e7b82">SetLAEA()</a>, <a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC()</a>, <a class="el" href="classOGRSpatialReference.html#ae89db924598873ff279cf9cd1f5402c7">SetLCC1SP()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">SetLinearUnitsAndUpdateParameters()</a>, <a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS()</a>, <a class="el" href="classOGRSpatialReference.html#abffbf6b7dade5c4f89461d581ec34f81">SetMC()</a>, <a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator()</a>, <a class="el" href="classOGRSpatialReference.html#aa60a3f7a4fcd0b2e05b491004f7b4b00">SetOrthographic()</a>, <a class="el" href="classOGRSpatialReference.html#a6b9cd1357b9b90b7f614de1a42cc8ee5">SetOS()</a>, <a class="el" href="classOGRSpatialReference.html#a90387616358d7ccfbf021248b63bf55d">SetPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#aa7ef801c3bece207b4972ad25229e866">SetPS()</a>, <a class="el" href="classOGRSpatialReference.html#a371ea654e13a284a67862674655d930f">SetRobinson()</a>, <a class="el" href="classOGRSpatialReference.html#a2d3ceed1839820c00a45b31411046446">SetSinusoidal()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>, <a class="el" href="classOGRSpatialReference.html#a7cee263b477072d49648b3320b240f25">SetStereographic()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">SetTOWGS84()</a>, <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>, and <a class="el" href="classOGRSpatialReference.html#aefc0572f3a97a5a9aaad41916b56def9">SetVDG()</a>.</p> </div> </div> <a class="anchor" id="af1a29550373c2c14bd11514641e58e7c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromProj4 </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszProj4</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Import PROJ.4 coordinate string. </p> <p>The <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> is initialized from the passed PROJ.4 style coordinate system string. In addition to many +proj formulations which have OGC equivelents, it is also possible to import "+init=epsg:n" style definitions. These are passed to <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969" title="Initialize SRS based on EPSG GCS or PCS code. ">importFromEPSG()</a>. Other init strings (such as the state plane zones) are not currently supported.</p> <p>Example: pszProj4 = "+proj=utm +zone=11 +datum=WGS84"</p> <p>Some parameters, such as grids, recognised by PROJ.4 may not be well understood and translated into the <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> model. It is possible to add the +wktext parameter which is a special keyword that OGR recognises as meaning "embed the entire PROJ.4 string in the WKT and use it literally when converting back to PROJ.4 format".</p> <p>For example: "+proj=nzmg +lat_0=-41 +lon_0=173 +x_0=2510000 +y_0=6023150 +ellps=intl +units=m +nadgrids=nzgd2kgrid0005.gsb +wktext"</p> <p>will be translated as : </p> <div class="fragment"><div class="line">* PROJCS[<span class="stringliteral">"unnamed"</span>,</div> <div class="line">* GEOGCS[<span class="stringliteral">"International 1909 (Hayford)"</span>,</div> <div class="line">* DATUM[<span class="stringliteral">"unknown"</span>,</div> <div class="line">* SPHEROID[<span class="stringliteral">"intl"</span>,6378388,297]],</div> <div class="line">* PRIMEM[<span class="stringliteral">"Greenwich"</span>,0],</div> <div class="line">* UNIT[<span class="stringliteral">"degree"</span>,0.0174532925199433]],</div> <div class="line">* PROJECTION[<span class="stringliteral">"New_Zealand_Map_Grid"</span>],</div> <div class="line">* PARAMETER[<span class="stringliteral">"latitude_of_origin"</span>,-41],</div> <div class="line">* PARAMETER[<span class="stringliteral">"central_meridian"</span>,173],</div> <div class="line">* PARAMETER[<span class="stringliteral">"false_easting"</span>,2510000],</div> <div class="line">* PARAMETER[<span class="stringliteral">"false_northing"</span>,6023150],</div> <div class="line">* UNIT[<span class="stringliteral">"Meter"</span>,1],</div> <div class="line">* EXTENSION[<span class="stringliteral">"PROJ4"</span>,<span class="stringliteral">"+proj=nzmg +lat_0=-41 +lon_0=173 +x_0=2510000 </span></div> <div class="line"><span class="stringliteral">* +y_0=6023150 +ellps=intl +units=m +nadgrids=nzgd2kgrid0005.gsb +wktext"</span>]]</div> <div class="line">* </div> </div><!-- fragment --><p>Special processing for 'etmerc' (GDAL >= 1.10 ): if +proj=etmerc is found in the passed string, the SRS built will use the WKT representation for a standard Transverse Mercator, but will aso include a PROJ4 EXTENSION node to preserve the etmerc projection method.</p> <p>For example: "+proj=etmerc +lat_0=0 +lon_0=9 +k=0.9996 +units=m +x_0=500000 +datum=WGS84"</p> <p>will be translated as : </p> <div class="fragment"><div class="line">* PROJCS[<span class="stringliteral">"unnamed"</span>,</div> <div class="line">* GEOGCS[<span class="stringliteral">"WGS 84"</span>,</div> <div class="line">* DATUM[<span class="stringliteral">"WGS_1984"</span>,</div> <div class="line">* SPHEROID[<span class="stringliteral">"WGS 84"</span>,6378137,298.257223563,</div> <div class="line">* AUTHORITY[<span class="stringliteral">"EPSG"</span>,<span class="stringliteral">"7030"</span>]],</div> <div class="line">* TOWGS84[0,0,0,0,0,0,0],</div> <div class="line">* AUTHORITY[<span class="stringliteral">"EPSG"</span>,<span class="stringliteral">"6326"</span>]],</div> <div class="line">* PRIMEM[<span class="stringliteral">"Greenwich"</span>,0,</div> <div class="line">* AUTHORITY[<span class="stringliteral">"EPSG"</span>,<span class="stringliteral">"8901"</span>]],</div> <div class="line">* UNIT[<span class="stringliteral">"degree"</span>,0.0174532925199433,</div> <div class="line">* AUTHORITY[<span class="stringliteral">"EPSG"</span>,<span class="stringliteral">"9108"</span>]],</div> <div class="line">* AUTHORITY[<span class="stringliteral">"EPSG"</span>,<span class="stringliteral">"4326"</span>]],</div> <div class="line">* PROJECTION[<span class="stringliteral">"Transverse_Mercator"</span>],</div> <div class="line">* PARAMETER[<span class="stringliteral">"latitude_of_origin"</span>,0],</div> <div class="line">* PARAMETER[<span class="stringliteral">"central_meridian"</span>,9],</div> <div class="line">* PARAMETER[<span class="stringliteral">"scale_factor"</span>,0.9996],</div> <div class="line">* PARAMETER[<span class="stringliteral">"false_easting"</span>,500000],</div> <div class="line">* PARAMETER[<span class="stringliteral">"false_northing"</span>,0],</div> <div class="line">* UNIT[<span class="stringliteral">"Meter"</span>,1],</div> <div class="line">* EXTENSION[<span class="stringliteral">"PROJ4"</span>,<span class="stringliteral">"+proj=etmerc +lat_0=0 +lon_0=9 +k=0.9996 +units=m +x_0=500000 +datum=WGS84 +nodefs"</span>]]</div> <div class="line">* </div> </div><!-- fragment --><p>This method is the equivalent of the C function <a class="el" href="ogr__srs__api_8h.html#a4087bdeb58fce4892fa70fa823d267c5" title="Import PROJ.4 coordinate string. ">OSRImportFromProj4()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszProj4</td><td>the PROJ.4 style string.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or OGRERR_CORRUPT_DATA on failure. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="cpl__conv_8h.html#aa07cd1b2aa5e76eb67ba952440198796">CPLAtofM()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#ae65d61b89b5b8087433175344d460fd4">IsGeocentric()</a>, <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#a826075cf8aeb97db58f1d505eb3a11cb">SetACEA()</a>, <a class="el" href="classOGRSpatialReference.html#a9db1b1a2e484ea9666d5009f19c6437e">SetAE()</a>, <a class="el" href="classOGRSpatialReference.html#a29d789f381ef5a368437e641d20dc82d">SetBonne()</a>, <a class="el" href="classOGRSpatialReference.html#a00037fe7f593033ba0a4c123d989370b">SetCEA()</a>, <a class="el" href="classOGRSpatialReference.html#a3d403772226f49e4a16bdc40416809c0">SetCS()</a>, <a class="el" href="classOGRSpatialReference.html#a229e9bfaf27c92f27db454f7186d7efc">SetEC()</a>, <a class="el" href="classOGRSpatialReference.html#a21d229aa12921f761a3395ddec27f0e7">SetEckert()</a>, <a class="el" href="classOGRSpatialReference.html#a10c780ca8dc53fc91a99153290cc426a">SetEquirectangular()</a>, <a class="el" href="classOGRSpatialReference.html#a9c4d317d4a4054d9674b14ea0c7401b6">SetEquirectangular2()</a>, <a class="el" href="classOGRSpatialReference.html#a2ca469ce2caecc420cc564e661b8325d">SetExtension()</a>, <a class="el" href="classOGRSpatialReference.html#a28e633e426cedaa17b757e4b1619f5c3">SetGaussSchreiberTMercator()</a>, <a class="el" href="classOGRSpatialReference.html#af909159bd41fd01ea9b42621dfd5bc18">SetGeocCS()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a021258d1eb2fbbe819014a52a6f62969">SetGEOS()</a>, <a class="el" href="classOGRSpatialReference.html#a8e691c115046b500326fe5aa049f3c3a">SetGH()</a>, <a class="el" href="classOGRSpatialReference.html#a67a58ae2d5f8196f50fe10fd7b2b447d">SetGnomonic()</a>, <a class="el" href="classOGRSpatialReference.html#a6524e9752602ddc605093ee1bcecd21b">SetGS()</a>, <a class="el" href="classOGRSpatialReference.html#a4d13105847002639f0f448167dc922a0">SetHOM()</a>, <a class="el" href="classOGRSpatialReference.html#a0b34e9b2030ff8b07e14b988db95ab4f">SetHOMAC()</a>, <a class="el" href="classOGRSpatialReference.html#a2cbb2cd843017628363f30c9f7c23e21">SetIGH()</a>, <a class="el" href="classOGRSpatialReference.html#a555f427030e3bb1b0754a7ab64e826a3">SetIWMPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#abc48d54196d40a64489b55afa993d2d7">SetKrovak()</a>, <a class="el" href="classOGRSpatialReference.html#abb729026c3ff6e6729c6cab4cd4e7b82">SetLAEA()</a>, <a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC()</a>, <a class="el" href="classOGRSpatialReference.html#ae89db924598873ff279cf9cd1f5402c7">SetLCC1SP()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#abffbf6b7dade5c4f89461d581ec34f81">SetMC()</a>, <a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a836ae0eb0484b8538b5ebbec51ff549b">SetMollweide()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a645b8d8ad374866405be723d3925c0eb">SetNZMG()</a>, <a class="el" href="classOGRSpatialReference.html#aa60a3f7a4fcd0b2e05b491004f7b4b00">SetOrthographic()</a>, <a class="el" href="classOGRSpatialReference.html#a6b9cd1357b9b90b7f614de1a42cc8ee5">SetOS()</a>, <a class="el" href="classOGRSpatialReference.html#a90387616358d7ccfbf021248b63bf55d">SetPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>, <a class="el" href="classOGRSpatialReference.html#aa7ef801c3bece207b4972ad25229e866">SetPS()</a>, <a class="el" href="classOGRSpatialReference.html#a371ea654e13a284a67862674655d930f">SetRobinson()</a>, <a class="el" href="classOGRSpatialReference.html#a2d3ceed1839820c00a45b31411046446">SetSinusoidal()</a>, <a class="el" href="classOGRSpatialReference.html#a7cee263b477072d49648b3320b240f25">SetStereographic()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#abf9060b4d8eadf22e146619c5714dac2">SetTMSO()</a>, <a class="el" href="classOGRSpatialReference.html#af8be55999021cd06a75fb86416097156">SetTOWGS84()</a>, <a class="el" href="classOGRSpatialReference.html#a9ecda5156bdb754ca576509d21d2e1f0">SetTPED()</a>, <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>, <a class="el" href="classOGRSpatialReference.html#aefc0572f3a97a5a9aaad41916b56def9">SetVDG()</a>, <a class="el" href="classOGRSpatialReference.html#abcf567c9fe6bb8bfb1d758947a4d5daf">SetWagner()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, and <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="a93d00386ac9ce5db2f9b6e651afa442f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromUrl </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszUrl</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set spatial reference from a URL. </p> <p>This method will download the spatial reference at a given URL and feed it into SetFromUserInput for you.</p> <p>This method does the same thing as the <a class="el" href="ogr__srs__api_8h.html#afc58492e53a11feb45ab9399f871a280" title="Set spatial reference from a URL. ">OSRImportFromUrl()</a> function.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszUrl</td><td>text definition to try to deduce SRS from.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, or an error code with the curl error message if it is unable to dowload data. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__error_8h.html#a29626fd8fdb658b19439beeb73a59560">CPLErrorReset()</a>, <a class="el" href="cpl__error_8h.html#a198afe56aced1d73226880aa90d39b99">CPLGetLastErrorNo()</a>, <a class="el" href="cpl__http_8h.html#ab9a9077d09a1ebd94fb2bf4c80efb240">CPLHTTPDestroyResult()</a>, <a class="el" href="cpl__http_8h.html#aee8368b7821300f4b81ef4da8a9c6a29">CPLHTTPFetch()</a>, <a class="el" href="structCPLHTTPResult.html#adc164db6153c5e4b7e5ae831abe17cdd">CPLHTTPResult::nDataLen</a>, <a class="el" href="structCPLHTTPResult.html#a166662b7a348b3e009669a7bef9277f7">CPLHTTPResult::nStatus</a>, <a class="el" href="structCPLHTTPResult.html#a036fe44623bd4fbfb0d745e3d8061dd3">CPLHTTPResult::pabyData</a>, <a class="el" href="structCPLHTTPResult.html#ab12ef4fe5ff02f4ba459bd09e3481996">CPLHTTPResult::pszErrBuf</a>, and <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="a6ca72094be024d06925d0e610c298cce"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromURN </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszURN</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Initialize from OGC URN. </p> <p>Initializes this spatial reference from a coordinate system defined by an OGC URN prefixed with "urn:ogc:def:crs:" per recommendation paper 06-023r1. Currently EPSG and OGC authority values are supported, including OGC auto codes, but not including CRS1 or CRS88 (NAVD88).</p> <p>This method is also support through <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796" title="Set spatial reference from various text formats. ">SetFromUserInput()</a> which can normally be used for URNs.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszURN</td><td>the urn string.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, and <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="a3db677257b3a288473ebe66857aec97d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromUSGS </td> <td>(</td> <td class="paramtype">long </td> <td class="paramname"><em>iProjSys</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"><em>iZone</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"><em>padfPrjParams</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">long </td> <td class="paramname"><em>iDatum</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nUSGSAngleFormat</em> = <code>TRUE</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Import coordinate system from USGS projection definition. </p> <p>This method will import projection definition in style, used by USGS GCTP software. GCTP operates on angles in packed DMS format (see <a class="el" href="cpl__conv_8h.html#a97b69cc886a1a5c9618612d8205600e4">CPLDecToPackedDMS()</a> function for details), so all angle values (latitudes, longitudes, azimuths, etc.) specified in the padfPrjParams array should be in the packed DMS format, unless bAnglesInPackedDMSFormat is set to FALSE.</p> <p>This function is the equivalent of the C function <a class="el" href="ogr__srs__api_8h.html#a62d08d5bc8db8f73a443365005847c6e" title="Import coordinate system from USGS projection definition. ">OSRImportFromUSGS()</a>. Note that the bAnglesInPackedDMSFormat parameter is only present in the C++ method. The C function assumes bAnglesInPackedFormat = TRUE.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iProjSys</td><td>Input projection system code, used in GCTP.</td></tr> <tr><td class="paramname">iZone</td><td>Input zone for UTM and State Plane projection systems. For Southern Hemisphere UTM use a negative zone code. iZone ignored for all other projections.</td></tr> <tr><td class="paramname">padfPrjParams</td><td>Array of 15 coordinate system parameters. These parameters differs for different projections. <pre class="fragment"> <h4>Projection Transformation Package Projection Parameters</h4> </pre> <pre> ---------------------------------------------------------------------------- | Array Element Code & Projection Id |--------------------------------------------------- | 0 | 1 | 2 | 3 | 4 | 5 |6 | 7 ---------------------------------------------------------------------------- 0 Geographic | | | | | | | | 1 U T M |Lon/Z |Lat/Z | | | | | | 2 State Plane | | | | | | | | 3 Albers Equal Area |SMajor|SMinor|STDPR1|STDPR2|CentMer|OriginLat|FE|FN 4 Lambert Conformal C |SMajor|SMinor|STDPR1|STDPR2|CentMer|OriginLat|FE|FN 5 Mercator |SMajor|SMinor| | |CentMer|TrueScale|FE|FN 6 Polar Stereographic |SMajor|SMinor| | |LongPol|TrueScale|FE|FN 7 Polyconic |SMajor|SMinor| | |CentMer|OriginLat|FE|FN 8 Equid. Conic A |SMajor|SMinor|STDPAR| |CentMer|OriginLat|FE|FN Equid. Conic B |SMajor|SMinor|STDPR1|STDPR2|CentMer|OriginLat|FE|FN 9 Transverse Mercator |SMajor|SMinor|Factor| |CentMer|OriginLat|FE|FN 10 Stereographic |Sphere| | | |CentLon|CenterLat|FE|FN 11 Lambert Azimuthal |Sphere| | | |CentLon|CenterLat|FE|FN 12 Azimuthal |Sphere| | | |CentLon|CenterLat|FE|FN 13 Gnomonic |Sphere| | | |CentLon|CenterLat|FE|FN 14 Orthographic |Sphere| | | |CentLon|CenterLat|FE|FN 15 Gen. Vert. Near Per |Sphere| |Height| |CentLon|CenterLat|FE|FN 16 Sinusoidal |Sphere| | | |CentMer| |FE|FN 17 Equirectangular |Sphere| | | |CentMer|TrueScale|FE|FN 18 Miller Cylindrical |Sphere| | | |CentMer| |FE|FN 19 Van der Grinten |Sphere| | | |CentMer|OriginLat|FE|FN 20 Hotin Oblique Merc A |SMajor|SMinor|Factor| | |OriginLat|FE|FN Hotin Oblique Merc B |SMajor|SMinor|Factor|AziAng|AzmthPt|OriginLat|FE|FN 21 Robinson |Sphere| | | |CentMer| |FE|FN 22 Space Oblique Merc A |SMajor|SMinor| |IncAng|AscLong| |FE|FN Space Oblique Merc B |SMajor|SMinor|Satnum|Path | | |FE|FN 23 Alaska Conformal |SMajor|SMinor| | | | |FE|FN 24 Interrupted Goode |Sphere| | | | | | | 25 Mollweide |Sphere| | | |CentMer| |FE|FN 26 Interrupt Mollweide |Sphere| | | | | | | 27 Hammer |Sphere| | | |CentMer| |FE|FN 28 Wagner IV |Sphere| | | |CentMer| |FE|FN 29 Wagner VII |Sphere| | | |CentMer| |FE|FN 30 Oblated Equal Area |Sphere| |Shapem|Shapen|CentLon|CenterLat|FE|FN ----------------------------------------------------------------------------</pre></td></tr> </table> </dd> </dl> <p>---------------------------------------------------- | Array Element | Code & Projection Id |--------------------------- | 8 | 9 | 10 | 11 | 12 | ---------------------------------------------------- 0 Geographic | | | | | | 1 U T M | | | | | | 2 State Plane | | | | | | 3 Albers Equal Area | | | | | | 4 Lambert Conformal C | | | | | | 5 Mercator | | | | | | 6 Polar Stereographic | | | | | | 7 Polyconic | | | | | | 8 Equid. Conic A |zero | | | | | Equid. Conic B |one | | | | | 9 Transverse Mercator | | | | | | 10 Stereographic | | | | | | 11 Lambert Azimuthal | | | | | | 12 Azimuthal | | | | | | 13 Gnomonic | | | | | | 14 Orthographic | | | | | | 15 Gen. Vert. Near Per | | | | | | 16 Sinusoidal | | | | | | 17 Equirectangular | | | | | | 18 Miller Cylindrical | | | | | | 19 Van der Grinten | | | | | | 20 Hotin Oblique Merc A |Long1|Lat1|Long2|Lat2|zero| Hotin Oblique Merc B | | | | |one | 21 Robinson | | | | | | 22 Space Oblique Merc A |PSRev|LRat|PFlag| |zero| Space Oblique Merc B | | | | |one | 23 Alaska Conformal | | | | | | 24 Interrupted Goode | | | | | | 25 Mollweide | | | | | | 26 Interrupt Mollweide | | | | | | 27 Hammer | | | | | | 28 Wagner IV | | | | | | 29 Wagner VII | | | | | | 30 Oblated Equal Area |Angle| | | | | ----------------------------------------------------</p> <pre> where</pre><pre> Lon/Z Longitude of any point in the UTM zone or zero. If zero, a zone code must be specified. Lat/Z Latitude of any point in the UTM zone or zero. If zero, a zone code must be specified. SMajor Semi-major axis of ellipsoid. If zero, Clarke 1866 in meters is assumed. SMinor Eccentricity squared of the ellipsoid if less than zero, if zero, a spherical form is assumed, or if greater than zero, the semi-minor axis of ellipsoid. Sphere Radius of reference sphere. If zero, 6370997 meters is used. STDPAR Latitude of the standard parallel STDPR1 Latitude of the first standard parallel STDPR2 Latitude of the second standard parallel CentMer Longitude of the central meridian OriginLat Latitude of the projection origin FE False easting in the same units as the semi-major axis FN False northing in the same units as the semi-major axis TrueScale Latitude of true scale LongPol Longitude down below pole of map Factor Scale factor at central meridian (Transverse Mercator) or center of projection (Hotine Oblique Mercator) CentLon Longitude of center of projection CenterLat Latitude of center of projection Height Height of perspective point Long1 Longitude of first point on center line (Hotine Oblique Mercator, format A) Long2 Longitude of second point on center line (Hotine Oblique Mercator, format A) Lat1 Latitude of first point on center line (Hotine Oblique Mercator, format A) Lat2 Latitude of second point on center line (Hotine Oblique Mercator, format A) AziAng Azimuth angle east of north of center line (Hotine Oblique Mercator, format B) AzmthPt Longitude of point on central meridian where azimuth occurs (Hotine Oblique Mercator, format B) IncAng Inclination of orbit at ascending node, counter-clockwise from equator (SOM, format A) AscLong Longitude of ascending orbit at equator (SOM, format A) PSRev Period of satellite revolution in minutes (SOM, format A) LRat Landsat ratio to compensate for confusion at northern end of orbit (SOM, format A -- use 0.5201613) PFlag End of path flag for Landsat: 0 = start of path, 1 = end of path (SOM, format A) Satnum Landsat Satellite Number (SOM, format B) Path Landsat Path Number (Use WRS-1 for Landsat 1, 2 and 3 and WRS-2 for Landsat 4, 5 and 6.) (SOM, format B) Shapem Oblated Equal Area oval shape parameter m Shapen Oblated Equal Area oval shape parameter n Angle Oblated Equal Area oval rotation angle</pre><pre>Array elements 13 and 14 are set to zero. All array elements with blank fields are set to zero too. </pre><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iDatum</td><td>Input spheroid.</td></tr> </table> </dd> </dl> <p>If the datum code is negative, the first two values in the parameter array (parm) are used to define the values as follows:</p> <ul> <li> <p class="startli">If padfPrjParams[0] is a non-zero value and padfPrjParams[1] is greater than one, the semimajor axis is set to padfPrjParams[0] and the semiminor axis is set to padfPrjParams[1].</p> <p class="endli"></p> </li> <li> <p class="startli">If padfPrjParams[0] is nonzero and padfPrjParams[1] is greater than zero but less than or equal to one, the semimajor axis is set to padfPrjParams[0] and the semiminor axis is computed from the eccentricity squared value padfPrjParams[1]:</p> <p></p> <p>semiminor = sqrt(1.0 - ES) * semimajor</p> <p></p> <p>where</p> <p></p> <p>ES = eccentricity squared</p> <p class="endli"></p> </li> <li> <p class="startli">If padfPrjParams[0] is nonzero and padfPrjParams[1] is equal to zero, the semimajor axis and semiminor axis are set to padfPrjParams[0].</p> <p class="endli"></p> </li> <li> <p class="startli">If padfPrjParams[0] equals zero and padfPrjParams[1] is greater than zero, the default Clarke 1866 is used to assign values to the semimajor axis and semiminor axis.</p> <p class="endli"></p> </li> <li> <p class="startli">If padfPrjParams[0] and padfPrjParams[1] equals zero, the semimajor axis is set to 6370997.0 and the semiminor axis is set to zero.</p> <p class="endli"></p> </li> </ul> <p>If a datum code is zero or greater, the semimajor and semiminor axis are defined by the datum code as found in the following table: </p> <pre class="fragment"> <h4>Supported Datums</h4> </pre> <pre> 0: Clarke 1866 (default) 1: Clarke 1880 2: Bessel 3: International 1967 4: International 1909 5: WGS 72 6: Everest 7: WGS 66 8: GRS 1980/WGS 84 9: Airy 10: Modified Everest 11: Modified Airy 12: Walbeck 13: Southeast Asia 14: Australian National 15: Krassovsky 16: Hough 17: Mercury 1960 18: Modified Mercury 1968 19: Sphere of Radius 6370997 meters </pre><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">nUSGSAngleFormat</td><td>one of USGS_ANGLE_DECIMALDEGREES, USGS_ANGLE_PACKEDDMS, or USGS_ANGLE_RADIANS (default is USGS_ANGLE_PACKEDDMS).</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code in case of failure. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__conv_8h.html#aa4ffc8fd25881635e18d1a53e177a8e1">CPLPackedDMSToDec()</a>, <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#a826075cf8aeb97db58f1d505eb3a11cb">SetACEA()</a>, <a class="el" href="classOGRSpatialReference.html#a9db1b1a2e484ea9666d5009f19c6437e">SetAE()</a>, <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">SetAuthority()</a>, <a class="el" href="classOGRSpatialReference.html#a229e9bfaf27c92f27db454f7186d7efc">SetEC()</a>, <a class="el" href="classOGRSpatialReference.html#a9c4d317d4a4054d9674b14ea0c7401b6">SetEquirectangular2()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a67a58ae2d5f8196f50fe10fd7b2b447d">SetGnomonic()</a>, <a class="el" href="classOGRSpatialReference.html#a4d13105847002639f0f448167dc922a0">SetHOM()</a>, <a class="el" href="classOGRSpatialReference.html#a66530428642a5e5e16f7791c7474fd21">SetHOM2PNO()</a>, <a class="el" href="classOGRSpatialReference.html#abb729026c3ff6e6729c6cab4cd4e7b82">SetLAEA()</a>, <a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS()</a>, <a class="el" href="classOGRSpatialReference.html#abffbf6b7dade5c4f89461d581ec34f81">SetMC()</a>, <a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a836ae0eb0484b8538b5ebbec51ff549b">SetMollweide()</a>, <a class="el" href="classOGRSpatialReference.html#aa60a3f7a4fcd0b2e05b491004f7b4b00">SetOrthographic()</a>, <a class="el" href="classOGRSpatialReference.html#a90387616358d7ccfbf021248b63bf55d">SetPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#aa7ef801c3bece207b4972ad25229e866">SetPS()</a>, <a class="el" href="classOGRSpatialReference.html#a371ea654e13a284a67862674655d930f">SetRobinson()</a>, <a class="el" href="classOGRSpatialReference.html#a2d3ceed1839820c00a45b31411046446">SetSinusoidal()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>, <a class="el" href="classOGRSpatialReference.html#a7cee263b477072d49648b3320b240f25">SetStereographic()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>, <a class="el" href="classOGRSpatialReference.html#aefc0572f3a97a5a9aaad41916b56def9">SetVDG()</a>, <a class="el" href="classOGRSpatialReference.html#abcf567c9fe6bb8bfb1d758947a4d5daf">SetWagner()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> </div> </div> <a class="anchor" id="ab74cfc985bd05404a4c61d2d633a6343"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromWkt </td> <td>(</td> <td class="paramtype">char ** </td> <td class="paramname"><em>ppszInput</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Import from WKT string. </p> <p>This method will wipe the existing SRS definition, and reassign it based on the contents of the passed WKT string. Only as much of the input string as needed to construct this SRS is consumed from the input string, and the input string pointer is then updated to point to the remaining (unused) input.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a37a167850021c64dfec606e24a1c1e71" title="Import from WKT string. ">OSRImportFromWkt()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">ppszInput</td><td>Pointer to pointer to input. The pointer is updated to point to remaining unused input text.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if import succeeds, or OGRERR_CORRUPT_DATA if it fails for any reason. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, and <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#ad6daf2b64d379a4484413fc9755cc7f6">importFromDict()</a>, <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a10e93344649a380d75b9925ad53d86ac">OGRSpatialReference()</a>, <a class="el" href="ogr__srs__api_8h.html#a6bfe88d5f18f2a8705f9e7a9586b795e">OSRNewSpatialReference()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> </div> </div> <a class="anchor" id="a8d1d4cf6b5d2e62ca2fd2162dc80624c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromWMSAUTO </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszDefinition</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Initialize from WMSAUTO string. </p> <p>Note that the WMS 1.3 specification does not include the units code, while apparently earlier specs do. We try to guess around this.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszDefinition</td><td>the WMSAUTO string</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="classOGRSpatialReference.html#a6918e6680d8de01c6e435235a8a222c7">SetAuthority()</a>, <a class="el" href="classOGRSpatialReference.html#a10c780ca8dc53fc91a99153290cc426a">SetEquirectangular()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a836ae0eb0484b8538b5ebbec51ff549b">SetMollweide()</a>, <a class="el" href="classOGRSpatialReference.html#aa60a3f7a4fcd0b2e05b491004f7b4b00">SetOrthographic()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="ae4a9b831b90c3984f96f47936b114adb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::importFromXML </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszXML</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Import coordinate system from XML format (GML only currently). </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a207f568695989d2ce1eb693082c6370c" title="Import coordinate system from XML format (GML only currently). ">OSRImportFromXML()</a> </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszXML</td><td>XML string to import </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or OGRERR_CORRUPT_DATA on failure. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="cpl__minixml_8h.html#a9e05eabc54728fb3266576404200da40">CPLDestroyXMLNode()</a>, <a class="el" href="cpl__minixml_8h.html#ad2770716fe2b8dac4969df728e274c9b">CPLParseXMLString()</a>, <a class="el" href="cpl__minixml_8h.html#a47c03d9f9d692128d6fa906c17c44bfc">CPLStripXMLNamespace()</a>, <a class="el" href="structCPLXMLNode.html#aba804dde624b8cdbac66cd6008542629">CPLXMLNode::psNext</a>, and <a class="el" href="structCPLXMLNode.html#ad9f0b3d72570553581a0d26357a8a23b">CPLXMLNode::pszValue</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="a7d8b989c98938e6c4e27eeb6f9871936"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsCompound </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Check if coordinate system is compound. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a8b9c46d909941294dc924a6a7f050f70" title="Check if the coordinate system is compound. ">OSRIsCompound()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE if this is rooted with a COMPD_CS node. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> </div> </div> <a class="anchor" id="ae65d61b89b5b8087433175344d460fd4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsGeocentric </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Check if geocentric coordinate system. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a8e9df0f961666b9f952351b072b88e4b" title="Check if geocentric coordinate system. ">OSRIsGeocentric()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE if this contains a GEOCCS node indicating a it is a geocentric coordinate system.</dd></dl> <dl class="section since"><dt>Since</dt><dd>OGR 1.9.0 </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a0c1e2b108255487f91ae448f5c11f67c">CloneGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>.</p> </div> </div> <a class="anchor" id="a764ba5d91530ad721d78ac629c0eaba8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsGeographic </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Check if geographic coordinate system. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#ae1f16b6ec2c99eb83352617c0082567d" title="Check if geographic coordinate system. ">OSRIsGeographic()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE if this spatial reference is geographic ... that is the root is a GEOGCS node. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#acb0373c83927bfd694048da6f79e33ea">AutoIdentifyEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a519cce70fd39f974c61342bf73ab01ad">EPSGTreatsAsLatLong()</a>, <a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM()</a>, <a class="el" href="classOGRSpatialReference.html#a28bd9b81856b6a93861576fff0933bb9">exportToProj4()</a>, <a class="el" href="classOGRSpatialReference.html#acfcddbb8bf50bfe3de4913c5b7aff228">exportToXML()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a6cb94a55501d2444b9f93eacd8ff0411">SetCompoundCS()</a>, <a class="el" href="classOGRSpatialReference.html#a4764cca1641b045a63afa95d01922add">SetVertCS()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> </div> </div> <a class="anchor" id="a1820ea6fe590dc39e22b5474464ca02a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsLocal </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Check if local coordinate system. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#abbdbc07509c887fb98bcc88231d27336" title="Check if local coordinate system. ">OSRIsLocal()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE if this spatial reference is local ... that is the root is a LOCAL_CS node. </dd></dl> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a2172f6cf2ea15a417474ef114f91397c">exportToPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#ad91c0f34ebfe6fd08001ced4d805b201">exportToPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a04ab13a2ec4ceffd6f802422f95e8f15">exportToUSGS()</a>, <a class="el" href="classOGRSpatialReference.html#aae4588813e3034a0d920a5787ff71a32">importFromERM()</a>, <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>.</p> </div> </div> <a class="anchor" id="a1186e3473d7ac2f81ec2ca5d0c4ec027"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsProjected </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Check if projected coordinate system. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a7242007d0275ba5b0e2852206f31ec57" title="Check if projected coordinate system. ">OSRIsProjected()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE if this contains a PROJCS node indicating a it is a projected coordinate system. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#acb0373c83927bfd694048da6f79e33ea">AutoIdentifyEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a2fe484ea1e7c8e8121b3ae05bb1a1878">EPSGTreatsAsNorthingEasting()</a>, <a class="el" href="classOGRSpatialReference.html#a574b5f221ae0b41bc4f82baeb8ab2f1c">exportToERM()</a>, <a class="el" href="classOGRSpatialReference.html#acfcddbb8bf50bfe3de4913c5b7aff228">exportToXML()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>, <a class="el" href="classOGRSpatialReference.html#a6cb94a55501d2444b9f93eacd8ff0411">SetCompoundCS()</a>, and <a class="el" href="classOGRSpatialReference.html#a4764cca1641b045a63afa95d01922add">SetVertCS()</a>.</p> </div> </div> <a class="anchor" id="a17fd82b2f58a976a30358b076a2fc966"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsSame </td> <td>(</td> <td class="paramtype">const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"><em>poOtherSRS</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Do these two spatial references describe the same system ? </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poOtherSRS</td><td>the SRS being compared to.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if equivalent or FALSE otherwise. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a1820ea6fe590dc39e22b5474464ca02a">IsLocal()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, <a class="el" href="classOGRSpatialReference.html#a8b6df2af4faf5de4af8cc935e9b38be5">IsSameGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#ac886436c45b2e7e18c14ed3cb33ee058">IsSameVertCS()</a>, and <a class="el" href="classOGRSpatialReference.html#ac16afe94b0d129c0b47e04a6f8b78bef">IsVertical()</a>.</p> <p>Referenced by <a class="el" href="classOGRGeometry.html#ac92e1ca0e8b108ee920147d4894bde3a">OGRGeometry::Difference()</a>, <a class="el" href="classOGRGeometry.html#a202ad4c29487ca046c4a2b055042cb6a">OGRGeometry::Intersection()</a>, <a class="el" href="classOGRGeomFieldDefn.html#acbb2d6135b4053f5ac23ccfab63183df">OGRGeomFieldDefn::IsSame()</a>, <a class="el" href="classOGRGeometry.html#ac76b3046de873ada2ae7ba4de75b9ccb">OGRGeometry::SymDifference()</a>, and <a class="el" href="classOGRGeometry.html#a15fb98d101f5887f7c3af40b6da5a3c4">OGRGeometry::Union()</a>.</p> </div> </div> <a class="anchor" id="a8b6df2af4faf5de4af8cc935e9b38be5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsSameGeogCS </td> <td>(</td> <td class="paramtype">const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"><em>poOther</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Do the GeogCS'es match? </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a8dc40ce571af8458fcb341e59a609ec6" title="Do the GeogCS'es match? ">OSRIsSameGeogCS()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poOther</td><td>the SRS being compared against.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if they are the same or FALSE otherwise. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, and <a class="el" href="classOGRSpatialReference.html#aaa947bf7c5c7240d2de30afe11086a19">GetTOWGS84()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>, and <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>.</p> </div> </div> <a class="anchor" id="ac886436c45b2e7e18c14ed3cb33ee058"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsSameVertCS </td> <td>(</td> <td class="paramtype">const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"><em>poOther</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Do the VertCS'es match? </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#aaad5acd6c15b4b91ec213cb5316f9c99" title="Do the VertCS'es match? ">OSRIsSameVertCS()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poOther</td><td>the SRS being compared against.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if they are the same or FALSE otherwise. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, and <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>.</p> </div> </div> <a class="anchor" id="ac16afe94b0d129c0b47e04a6f8b78bef"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::IsVertical </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Check if vertical coordinate system. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a330735e4ed923c337183f927d49d9b91" title="Check if vertical coordinate system. ">OSRIsVertical()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>TRUE if this contains a VERT_CS node indicating a it is a vertical coordinate system.</dd></dl> <dl class="section since"><dt>Since</dt><dd>OGR 1.8.0 </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, and <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aeb9a7cf8138734e5fa734283c124d62b">GetTargetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a17fd82b2f58a976a30358b076a2fc966">IsSame()</a>, <a class="el" href="classOGRSpatialReference.html#a6cb94a55501d2444b9f93eacd8ff0411">SetCompoundCS()</a>, and <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">SetTargetLinearUnits()</a>.</p> </div> </div> <a class="anchor" id="ad556dfdc04d9ec5f1714fc6b5e0eb6a6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::morphFromESRI </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Convert in place from ESRI WKT format. </p> <p>The value notes of this coordinate system are modified in various manners to adhere more closely to the WKT standard. This mostly involves translating a variety of ESRI names for projections, arguments and datums to "standard" names, as defined by Adam Gawne-Cain's reference translation of EPSG to WKT for the CT specification.</p> <p>Starting with GDAL 1.9.0, missing parameters in TOWGS84, DATUM or GEOGCS nodes can be added to the WKT, comparing existing WKT parameters to GDAL's databases. Note that this optional procedure is very conservative and should not introduce false information into the WKT defintion (altough caution should be advised when activating it). Needs the Configuration Option GDAL_FIX_ESRI_WKT be set to one of the following values (TOWGS84 is recommended for proper datum shift calculations):</p> <p><b>GDAL_FIX_ESRI_WKT values</b> </p> <table border="0"> <tr> <td>  </td><td><b>TOWGS84</b></td><td>  </td><td>Adds missing TOWGS84 parameters (necessary for datum transformations), based on named datum and spheroid values. </td></tr> <tr> <td>  </td><td><b>DATUM</b></td><td>  </td><td>Adds EPSG AUTHORITY nodes and sets SPHEROID name to OGR spec. </td></tr> <tr> <td>  </td><td><b>GEOGCS</b></td><td>  </td><td>Adds EPSG AUTHORITY nodes and sets GEOGCS, DATUM and SPHEROID names to OGR spec. Effectively replaces GEOGCS node with the result of importFromEPSG(n), using EPSG code n corresponding to the existing GEOGCS. Does not impact PROJCS values. </td></tr> </table> <p>This does the same as the C function <a class="el" href="ogr__srs__api_8h.html#a3e266dd3a10f874ebcad8b7b7b1c153c" title="Convert in place from ESRI WKT format. ">OSRMorphFromESRI()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE unless something goes badly wrong. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#aa6e0f8e8c7f5da9fc44d9ab103592bcf">OGR_SRSNode::applyRemapper()</a>, <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="classOGRSpatialReference.html#a0c1e2b108255487f91ae448f5c11f67c">CloneGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__conv_8h.html#a8b249211d68e4b6b1844004891e5ca5a">CPLGetConfigOption()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGRSpatialReference.html#a596b8e527d66a5054408159f0006fdac">exportToWkt()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGRSpatialReference.html#ae1b29a686944ae51ed924aa5138b45ba">FixupOrdering()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGRSpatialReference.html#ab8e5f09148eb80ea4c8242d30591ba32">GetInvFlattening()</a>, <a class="el" href="classOGRSpatialReference.html#ac2a2eb4eaed918a8bca2a55147dd2275">GetPrimeMeridian()</a>, <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a85fc76fb96e5d253897d0589aea33">GetSemiMajor()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">OGR_SRSNode::InsertChild()</a>, <a class="el" href="classOGRSpatialReference.html#a8b6df2af4faf5de4af8cc935e9b38be5">IsSameGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">SetProjParm()</a>, <a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">OGR_SRSNode::SetValue()</a>, and <a class="el" href="classOGRSpatialReference.html#aa3972cb59efaf55618e0a49b9af174c0">StripCTParms()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, and <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="aac948450b15fa3d8814ab440b9f705b7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::morphToESRI </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Convert in place to ESRI WKT format. </p> <p>The value nodes of this coordinate system are modified in various manners more closely map onto the ESRI concept of WKT format. This includes renaming a variety of projections and arguments, and stripping out nodes note recognised by ESRI (like AUTHORITY and AXIS).</p> <p>This does the same as the C function <a class="el" href="ogr__srs__api_8h.html#af04f918b0d4f9e16ae16087dea02e03f" title="Convert in place to ESRI WKT format. ">OSRMorphToESRI()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE unless something goes badly wrong. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#aa6e0f8e8c7f5da9fc44d9ab103592bcf">OGR_SRSNode::applyRemapper()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGRSpatialReference.html#adcab5192c705087bc9e7537f34df9f55">FindProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a429b0446798982c6c19efcb7042a8cbc">Fixup()</a>, <a class="el" href="classOGRSpatialReference.html#a98bde6d2dbe0d5cd0f29a6d62a5b3f58">GetAngularUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#a178f4593ef4ee661f2df9d221feaa803">GetAuthorityCode()</a>, <a class="el" href="classOGRSpatialReference.html#a3f6524f36ace6a7be7b3e2a20790a82f">GetAuthorityName()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a4b17d85f5db53978c749780b214c4237">GetUTMZone()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>, <a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">OGR_SRSNode::SetValue()</a>, and <a class="el" href="classOGRSpatialReference.html#aa3972cb59efaf55618e0a49b9af174c0">StripCTParms()</a>.</p> </div> </div> <a class="anchor" id="a4b638c33c0a2b53e59fe694f26f8f89c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRSpatialReference::Reference </td> <td>(</td> <td class="paramname"></td><td>)</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="classOGRGeometry.html">OGRGeometry</a> objects referencing this SRS.</p> <p>The method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#a836d17c587f924446f3734f600758c6d" title="Increments the reference count by one. ">OSRReference()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>the updated reference count. </dd></dl> <p>Referenced by <a class="el" href="classOGRGeometry.html#a4308e3549c65aa12cc2ba41be15d99a0">OGRGeometry::assignSpatialReference()</a>, <a class="el" href="classOGRUnionLayer.html#a4c680d7e5c02454ea7361f341d6d54e9">OGRUnionLayer::GetLayerDefn()</a>, <a class="el" href="classOGRProxiedLayer.html#ae7cd2e00f35e1395d7c12414dc7b300b">OGRProxiedLayer::GetSpatialRef()</a>, <a class="el" href="classOGRUnionLayer.html#a8223e23c723151ef11fba997ab4fc605">OGRUnionLayer::GetSpatialRef()</a>, and <a class="el" href="classOGRGeomFieldDefn.html#aeae0b00cc5a55b49aa51262d0a736bae">OGRGeomFieldDefn::SetSpatialRef()</a>.</p> </div> </div> <a class="anchor" id="aef9a8378c266604b9cd09042597a649f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRSpatialReference::Release </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Decrements the reference count by one, and destroy if zero. </p> <p>The method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#adb5e564701dab4e83b3d353745f4a054" title="Decrements the reference count by one, and destroy if zero. ">OSRRelease()</a>. </p> <p>References <a class="el" href="classOGRSpatialReference.html#ade185ac8ef1724fea5ec3c0e68eaae81">Dereference()</a>.</p> <p>Referenced by <a class="el" href="classOGRGeometry.html#a4308e3549c65aa12cc2ba41be15d99a0">OGRGeometry::assignSpatialReference()</a>, and <a class="el" href="classOGRGeomFieldDefn.html#aeae0b00cc5a55b49aa51262d0a736bae">OGRGeomFieldDefn::SetSpatialRef()</a>.</p> </div> </div> <a class="anchor" id="a826075cf8aeb97db58f1d505eb3a11cb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetACEA </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Albers Conic Equal Area </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a9db1b1a2e484ea9666d5009f19c6437e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetAE </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Azimuthal Equidistant </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a23784d4bfc74a92ba816edeeab90d225"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetAngularUnits </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszUnitsName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfInRadians</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the angular units for the geographic coordinate system. </p> <p>This method creates a UNIT subnode with the specified values as a child of the GEOGCS node.</p> <p>This method does the same as the C function <a class="el" href="ogr__srs__api_8h.html#ad07e3ac14dc34dbb951699838a434ece" title="Set the angular units for the geographic coordinate system. ">OSRSetAngularUnits()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszUnitsName</td><td>the units name to be used. Some preferred units names can be found in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a> such as SRS_UA_DEGREE.</td></tr> <tr><td class="paramname">dfInRadians</td><td>the value to multiple by an angle in the indicated units to transform to radians. Some standard conversion factors can be found in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">OGR_SRSNode::SetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a0c1e2b108255487f91ae448f5c11f67c">CloneGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a429b0446798982c6c19efcb7042a8cbc">Fixup()</a>, and <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>.</p> </div> </div> <a class="anchor" id="a6918e6680d8de01c6e435235a8a222c7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetAuthority </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszAuthority</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nCode</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the authority for a node. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#aca458410eee98928c4a245cdef242f6e" title="Set the authority for a node. ">OSRSetAuthority()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>the partial or complete path to the node to set an authority on. ie. "PROJCS", "GEOGCS" or "GEOGCS|UNIT".</td></tr> <tr><td class="paramname">pszAuthority</td><td>authority name, such as "EPSG".</td></tr> <tr><td class="paramname">nCode</td><td>code for value with this authority.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, and <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#acb0373c83927bfd694048da6f79e33ea">AutoIdentifyEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>.</p> </div> </div> <a class="anchor" id="a2298795cd7efad5ff24ebbefa3606c0e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetAxes </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszXAxisName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">OGRAxisOrientation </td> <td class="paramname"><em>eXAxisOrientation</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszYAxisName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">OGRAxisOrientation </td> <td class="paramname"><em>eYAxisOrientation</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the axes for a coordinate system. </p> <p>Set the names, and orientations of the axes for either a projected (PROJCS) or geographic (GEOGCS) coordinate system.</p> <p>This method is equivalent to the C function OSRSetAxes().</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>either "PROJCS" or "GEOGCS", must already exist in SRS. </td></tr> <tr><td class="paramname">pszXAxisName</td><td>name of first axis, normally "Long" or "Easting". </td></tr> <tr><td class="paramname">eXAxisOrientation</td><td>normally OAO_East. </td></tr> <tr><td class="paramname">pszYAxisName</td><td>name of second axis, normally "Lat" or "Northing". </td></tr> <tr><td class="paramname">eYAxisOrientation</td><td>normally OAO_North.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, and <a class="el" href="ogr__srs__api_8h.html#abbddc0f430ef19e6e54c6f8097386e23">OSRAxisEnumToName()</a>.</p> </div> </div> <a class="anchor" id="a29d789f381ef5a368437e641d20dc82d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetBonne </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCentralMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Bonne </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a00037fe7f593033ba0a4c123d989370b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetCEA </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCentralMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Cylindrical Equal Area </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, and <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a6cb94a55501d2444b9f93eacd8ff0411"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetCompoundCS </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"><em>poHorizSRS</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> * </td> <td class="paramname"><em>poVertSRS</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Setup a compound coordinate system. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#aca4c59764c2e326909f318c8ac44661a" title="Setup a compound coordinate system. ">OSRSetCompoundCS()</a>.</p> <p>This method is replace the current SRS with a COMPD_CS coordinate system consisting of the passed in horizontal and vertical coordinate systems.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the name of the compound coordinate system.</td></tr> <tr><td class="paramname">poHorizSRS</td><td>the horizontal SRS (PROJCS or GEOGCS).</td></tr> <tr><td class="paramname">poVertSRS</td><td>the vertical SRS (VERT_CS).</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, and <a class="el" href="classOGRSpatialReference.html#ac16afe94b0d129c0b47e04a6f8b78bef">IsVertical()</a>.</p> </div> </div> <a class="anchor" id="a3d403772226f49e4a16bdc40416809c0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetCS </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Cassini-Soldner </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, and <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a229e9bfaf27c92f27db454f7186d7efc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetEC </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Equidistant Conic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a21d229aa12921f761a3395ddec27f0e7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetEckert </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>nVariation</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCentralMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Eckert I-VI </p> <p>References <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a10c780ca8dc53fc91a99153290cc426a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetEquirectangular </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Equirectangular </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>.</p> </div> </div> <a class="anchor" id="a9c4d317d4a4054d9674b14ea0c7401b6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetEquirectangular2 </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfPseudoStdParallel1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Equirectangular generalized form : </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a2ca469ce2caecc420cc564e661b8325d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetExtension </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set extension value. </p> <p>Set the value of the named EXTENSION item for the identified target node.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>the name or path to the parent node of the EXTENSION. </td></tr> <tr><td class="paramname">pszName</td><td>the name of the extension being fetched. </td></tr> <tr><td class="paramname">pszValue</td><td>the value to set</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, and <a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">OGR_SRSNode::SetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="aec3c6a49533fe457ddc763d699ff8796"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetFromUserInput </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszDefinition</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set spatial reference from various text formats. </p> <p>This method will examine the provided input, and try to deduce the format, and then use it to initialize the spatial reference system. It may take the following forms:</p> <ol> <li> Well Known Text definition - passed on to <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343" title="Import from WKT string. ">importFromWkt()</a>. </li> <li> "EPSG:n" - number passed on to <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969" title="Initialize SRS based on EPSG GCS or PCS code. ">importFromEPSG()</a>. </li> <li> "EPSGA:n" - number passed on to <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613" title="Initialize SRS based on EPSG GCS or PCS code. ">importFromEPSGA()</a>. </li> <li> "AUTO:proj_id,unit_id,lon0,lat0" - WMS auto projections. </li> <li> "urn:ogc:def:crs:EPSG::n" - ogc urns </li> <li> PROJ.4 definitions - passed on to <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c" title="Import PROJ.4 coordinate string. ">importFromProj4()</a>. </li> <li> filename - file read for WKT, XML or PROJ.4 definition. </li> <li> well known name accepted by <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02" title="Set a GeogCS based on well known name. ">SetWellKnownGeogCS()</a>, such as NAD27, NAD83, WGS84 or WGS72. </li> <li> WKT (directly or in a file) in ESRI format should be prefixed with ESRI:: to trigger an automatic <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6" title="Convert in place from ESRI WKT format. ">morphFromESRI()</a>. </li> <li> "IGNF:xxx" - "+init=IGNF:xxx" passed on to <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c" title="Import PROJ.4 coordinate string. ">importFromProj4()</a>. </li> </ol> <p>It is expected that this method will be extended in the future to support XML and perhaps a simplified "minilanguage" for indicating common UTM and State Plane definitions.</p> <p>This method is intended to be flexible, but by it's nature it is imprecise as it must guess information about the format intended. When possible applications should call the specific method appropriate if the input is known to be in a particular format.</p> <p>This method does the same thing as the <a class="el" href="ogr__srs__api_8h.html#a7a043a4b3d477847dcc89efdff3a563a" title="Set spatial reference from various text formats. ">OSRSetFromUserInput()</a> function.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszDefinition</td><td>text definition to try to deduce SRS from.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, or an error code if the name isn't recognised, the definition is corrupt, or an EPSG value can't be successfully looked up. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__conv_8h.html#a9ebcdb25fc6ff90b0c7b01733d5ae6d3">CPLMalloc()</a>, <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">importFromCRSURL()</a>, <a class="el" href="classOGRSpatialReference.html#ad6daf2b64d379a4484413fc9755cc7f6">importFromDict()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a93d00386ac9ce5db2f9b6e651afa442f">importFromUrl()</a>, <a class="el" href="classOGRSpatialReference.html#a6ca72094be024d06925d0e610c298cce">importFromURN()</a>, <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343">importFromWkt()</a>, <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>, <a class="el" href="classOGRSpatialReference.html#ae4a9b831b90c3984f96f47936b114adb">importFromXML()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>, and <a class="el" href="classOGRSpatialReference.html#a096b8dde4fd2eb475acd376060940b02">SetWellKnownGeogCS()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a93d00386ac9ce5db2f9b6e651afa442f">importFromUrl()</a>.</p> </div> </div> <a class="anchor" id="a28e633e426cedaa17b757e4b1619f5c3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetGaussSchreiberTMercator </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Gauss Schreiber Transverse Mercator </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="af909159bd41fd01ea9b42621dfd5bc18"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetGeocCS </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the user visible GEOCCS name. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a8a1a981b136956aba8765430a4396ba0" title="Set the user visible PROJCS name. ">OSRSetGeocCS()</a>.</p> <p>This method will ensure a GEOCCS node is created as the root, and set the provided name on it. If used on a GEOGCS coordinate system, the DATUM and PRIMEM nodes from the GEOGCS will be tarnsferred over to the GEOGCS.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the user visible name to assign. Not used as a key.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success.</dd></dl> <dl class="section since"><dt>Since</dt><dd>OGR 1.9.0 </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#a6760a6ffee3941f9b55d184304a70b06">OGR_SRSNode::GetNode()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">OGR_SRSNode::InsertChild()</a>, and <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a1c8d3eaf2751d9912797c75f477549fe"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetGeogCS </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszGeogName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszDatumName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszSpheroidName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfSemiMajor</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfInvFlattening</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszPMName</em> = <code>NULL</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfPMOffset</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszAngularUnits</em> = <code>NULL</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfConvertToRadians</em> = <code>0.0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set geographic coordinate system. </p> <p>This method is used to set the datum, ellipsoid, prime meridian and angular units for a geographic coordinate system. It can be used on it's own to establish a geographic spatial reference, or applied to a projected coordinate system to establish the underlying geographic coordinate system.</p> <p>This method does the same as the C function <a class="el" href="ogr__srs__api_8h.html#a1ffa26c69dd884be497a71e3fb961e1c" title="Set geographic coordinate system. ">OSRSetGeogCS()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszGeogName</td><td>user visible name for the geographic coordinate system (not to serve as a key).</td></tr> <tr><td class="paramname">pszDatumName</td><td>key name for this datum. The OpenGIS specification lists some known values, and otherwise EPSG datum names with a standard transformation are considered legal keys.</td></tr> <tr><td class="paramname">pszSpheroidName</td><td>user visible spheroid name (not to serve as a key)</td></tr> <tr><td class="paramname">dfSemiMajor</td><td>the semi major axis of the spheroid.</td></tr> <tr><td class="paramname">dfInvFlattening</td><td>the inverse flattening for the spheroid. This can be computed from the semi minor axis as 1/f = 1.0 / (1.0 - semiminor/semimajor).</td></tr> <tr><td class="paramname">pszPMName</td><td>the name of the prime merdidian (not to serve as a key) If this is NULL a default value of "Greenwich" will be used.</td></tr> <tr><td class="paramname">dfPMOffset</td><td>the longitude of greenwich relative to this prime meridian.</td></tr> <tr><td class="paramname">pszAngularUnits</td><td>the angular units name (see <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a> for some standard names). If NULL a value of "degrees" will be assumed.</td></tr> <tr><td class="paramname">dfConvertToRadians</td><td>value to multiply angular units by to transform them to radians. A value of SRS_UL_DEGREE_CONV will be used if pszAngularUnits is NULL.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">OGR_SRSNode::InsertChild()</a>, <a class="el" href="classOGRSpatialReference.html#ae65d61b89b5b8087433175344d460fd4">IsGeocentric()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, and <a class="el" href="classOGRSpatialReference.html#a28eeee5688ff6cea07e74ccd4c18a3b0">SetRoot()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>.</p> </div> </div> <a class="anchor" id="a021258d1eb2fbbe819014a52a6f62969"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetGEOS </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCentralMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfSatelliteHeight</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Geostationary Satellite </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a8e691c115046b500326fe5aa049f3c3a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetGH </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCentralMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Goode Homolosine </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a67a58ae2d5f8196f50fe10fd7b2b447d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetGnomonic </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Gnomonic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a6524e9752602ddc605093ee1bcecd21b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetGS </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCentralMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Gall Stereograpic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a4d13105847002639f0f448167dc922a0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetHOM </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfAzimuth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfRectToSkew</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set a Hotine Oblique Mercator projection using azimuth angle. </p> <p>Hotine Oblique Mercator</p> <p>This projection corresponds to EPSG projection method 9812, also sometimes known as hotine oblique mercator (variant A)..</p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#a9f33598c756fa65efa804667ae236309" title="Set a Hotine Oblique Mercator projection using azimuth angle. ">OSRSetHOM()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">dfCenterLat</td><td>Latitude of the projection origin. </td></tr> <tr><td class="paramname">dfCenterLong</td><td>Longitude of the projection origin. </td></tr> <tr><td class="paramname">dfAzimuth</td><td>Azimuth, measured clockwise from North, of the projection centerline. </td></tr> <tr><td class="paramname">dfRectToSkew</td><td>?. </td></tr> <tr><td class="paramname">dfScale</td><td>Scale factor applies to the projection origin. </td></tr> <tr><td class="paramname">dfFalseEasting</td><td>False easting. </td></tr> <tr><td class="paramname">dfFalseNorthing</td><td>False northing.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a66530428642a5e5e16f7791c7474fd21"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetHOM2PNO </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfLat1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfLong1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfLat2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfLong2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set a Hotine Oblique Mercator projection using two points on projection centerline. </p> <p>This method does the same thing as the C function <a class="el" href="ogr__srs__api_8h.html#acf4d4664a26e3d279e7422080e4bee62" title="Set a Hotine Oblique Mercator projection using two points on projection centerline. ">OSRSetHOM2PNO()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">dfCenterLat</td><td>Latitude of the projection origin. </td></tr> <tr><td class="paramname">dfLat1</td><td>Latitude of the first point on center line. </td></tr> <tr><td class="paramname">dfLong1</td><td>Longitude of the first point on center line. </td></tr> <tr><td class="paramname">dfLat2</td><td>Latitude of the second point on center line. </td></tr> <tr><td class="paramname">dfLong2</td><td>Longitude of the second point on center line. </td></tr> <tr><td class="paramname">dfScale</td><td>Scale factor applies to the projection origin. </td></tr> <tr><td class="paramname">dfFalseEasting</td><td>False easting. </td></tr> <tr><td class="paramname">dfFalseNorthing</td><td>False northing.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a0b34e9b2030ff8b07e14b988db95ab4f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetHOMAC </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfAzimuth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfRectToSkew</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set an Hotine Oblique Mercator Azimuth Center projection using azimuth angle. </p> <p>Hotine Oblique Mercator Azimuth Center / Variant B</p> <p>This projection corresponds to EPSG projection method 9815, also sometimes known as hotine oblique mercator (variant B).</p> <p>This method does the same thing as the C function OSRSetHOMAC().</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">dfCenterLat</td><td>Latitude of the projection origin. </td></tr> <tr><td class="paramname">dfCenterLong</td><td>Longitude of the projection origin. </td></tr> <tr><td class="paramname">dfAzimuth</td><td>Azimuth, measured clockwise from North, of the projection centerline. </td></tr> <tr><td class="paramname">dfRectToSkew</td><td>?. </td></tr> <tr><td class="paramname">dfScale</td><td>Scale factor applies to the projection origin. </td></tr> <tr><td class="paramname">dfFalseEasting</td><td>False easting. </td></tr> <tr><td class="paramname">dfFalseNorthing</td><td>False northing.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a2cbb2cd843017628363f30c9f7c23e21"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetIGH </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Interrupted Goode Homolosine </p> <p>References <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a555f427030e3bb1b0754a7ab64e826a3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetIWMPolyconic </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfLat1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfLat2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>International Map of the World Polyconic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, and <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="abc48d54196d40a64489b55afa993d2d7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetKrovak </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfAzimuth</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfPseudoStdParallelLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Krovak Oblique Conic Conformal </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="abb729026c3ff6e6729c6cab4cd4e7b82"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetLAEA </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Lambert Azimuthal Equal-Area </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a6eddea3ec66447a764c0a80e181b224b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetLCC </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Lambert Conformal Conic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="ae89db924598873ff279cf9cd1f5402c7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetLCC1SP </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Lambert Conformal Conic 1SP </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, and <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a3bff5316b8cad210b62a78694a6a4224"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetLCCB </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfStdP2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Lambert Conformal Conic (Belgium) </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> </div> </div> <a class="anchor" id="a2016fee7b234666c5e94d528661e6729"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetLinearUnits </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszUnitsName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfInMeters</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the linear units for the projection. </p> <p>This method creates a UNIT subnode with the specified values as a child of the PROJCS, GEOCCS or LOCAL_CS node.</p> <p>This method does the same as the C function <a class="el" href="ogr__srs__api_8h.html#acc2efa6fe8385be92cd900a795332809" title="Set the linear units for the projection. ">OSRSetLinearUnits()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszUnitsName</td><td>the units name to be used. Some preferred units names can be found in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a> such as SRS_UL_METER, SRS_UL_FOOT and SRS_UL_US_FOOT.</td></tr> <tr><td class="paramname">dfInMeters</td><td>the value to multiple by a length in the indicated units to transform to meters. Some standard conversion factors can be found in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a6a2c45c441de09c329ea0676d4e2e9d8">SetTargetLinearUnits()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a429b0446798982c6c19efcb7042a8cbc">Fixup()</a>, <a class="el" href="classOGRSpatialReference.html#aae4588813e3034a0d920a5787ff71a32">importFromERM()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">SetLinearUnitsAndUpdateParameters()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>, and <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>.</p> </div> </div> <a class="anchor" id="adaab3d6e836f93974022bd78e221c4b4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetLinearUnitsAndUpdateParameters </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfInMeters</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the linear units for the projection. </p> <p>This method creates a UNIT subnode with the specified values as a child of the PROJCS or LOCAL_CS node. It works the same as the <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729" title="Set the linear units for the projection. ">SetLinearUnits()</a> method, but it also updates all existing linear projection parameter values from the old units to the new units.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the units name to be used. Some preferred units names can be found in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a> such as SRS_UL_METER, SRS_UL_FOOT and SRS_UL_US_FOOT.</td></tr> <tr><td class="paramname">dfInMeters</td><td>the value to multiple by a length in the indicated units to transform to meters. Some standard conversion factors can be found in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="cpl__conv_8h.html#a464d6861faf9f6272317d160a3ad9a81">CPLStrdup()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a603c654bc0616f26c9300b3c66952cdb">GetProjParm()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, and <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">SetProjParm()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, and <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>.</p> </div> </div> <a class="anchor" id="a3aad2472b5c38757a3bc606ee048c1c7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetLocalCS </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the user visible LOCAL_CS name. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#aacace09cd2d7c190d9768d5d0f0e79f5" title="Set the user visible LOCAL_CS name. ">OSRSetLocalCS()</a>.</p> <p>This method will ensure a LOCAL_CS node is created as the root, and set the provided name on it. It must be used before <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729" title="Set the linear units for the projection. ">SetLinearUnits()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the user visible name to assign. Not used as a key.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, and <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>.</p> </div> </div> <a class="anchor" id="abffbf6b7dade5c4f89461d581ec34f81"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetMC </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Miller Cylindrical </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a165cdfa893a9e621df1e5ba5d584e8ec"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetMercator </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Mercator </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a836ae0eb0484b8538b5ebbec51ff549b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetMollweide </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCentralMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Mollweide </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>.</p> </div> </div> <a class="anchor" id="a5de745a68a65e0471df833b2f930538c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetNode </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszNodePath</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszNewNodeValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set attribute value in spatial reference. </p> <p>Missing intermediate nodes in the path will be created if not already in existance. If the attribute has no children one will be created and assigned the value otherwise the zeroth child will be assigned the value.</p> <p>This method does the same as the C function <a class="el" href="ogr__srs__api_8h.html#a40a2857dd60284586bc73518cb413ce7" title="Set attribute value in spatial reference. ">OSRSetAttrValue()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszNodePath</td><td>full path to attribute to be set. For instance "PROJCS|GEOGCS|UNIT".</td></tr> <tr><td class="paramname">pszNewNodeValue</td><td>value to be assigned to node, such as "meter". This may be NULL if you just want to force creation of the intermediate path.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="cpl__string_8h.html#ac1ffd0e5baf9729f09388a38c07f5835">CSLCount()</a>, <a class="el" href="cpl__string_8h.html#a5a39b9c5896a273cc6f06c1d5be93238">CSLDestroy()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a28eeee5688ff6cea07e74ccd4c18a3b0">SetRoot()</a>, and <a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">OGR_SRSNode::SetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6c127a25699d8b59e79866b1167d07b4">importFromCRSURL()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a6ca72094be024d06925d0e610c298cce">importFromURN()</a>, <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>, <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>, <a class="el" href="classOGRSpatialReference.html#af909159bd41fd01ea9b42621dfd5bc18">SetGeocCS()</a>, <a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS()</a>, <a class="el" href="classOGRSpatialReference.html#a208118581246feb29646acf2ea5d4237">SetProjCS()</a>, <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>, and <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>.</p> </div> </div> <a class="anchor" id="a9a050293b297acba00bd3da7d71d7ea0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetNormProjParm </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set a projection parameter with a normalized value. </p> <p>This method is the same as <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda" title="Set a projection parameter value. ">SetProjParm()</a> except that the value of the parameter passed in is assumed to be in "normalized" form (decimal degrees for angular values, meters for linear values. The values are converted in a form suitable for the GEOGCS and linear units in effect.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a905d6bd807bd2d2b9649478538f9819e" title="Set a projection parameter with a normalized value. ">OSRSetNormProjParm()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the parameter name, which should be selected from the macros in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>, such as SRS_PP_CENTRAL_MERIDIAN.</td></tr> <tr><td class="paramname">dfValue</td><td>value to assign.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#aaa2027f62b01d61d9aab83629dd86cda">SetProjParm()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a826075cf8aeb97db58f1d505eb3a11cb">SetACEA()</a>, <a class="el" href="classOGRSpatialReference.html#a9db1b1a2e484ea9666d5009f19c6437e">SetAE()</a>, <a class="el" href="classOGRSpatialReference.html#a29d789f381ef5a368437e641d20dc82d">SetBonne()</a>, <a class="el" href="classOGRSpatialReference.html#a00037fe7f593033ba0a4c123d989370b">SetCEA()</a>, <a class="el" href="classOGRSpatialReference.html#a3d403772226f49e4a16bdc40416809c0">SetCS()</a>, <a class="el" href="classOGRSpatialReference.html#a229e9bfaf27c92f27db454f7186d7efc">SetEC()</a>, <a class="el" href="classOGRSpatialReference.html#a21d229aa12921f761a3395ddec27f0e7">SetEckert()</a>, <a class="el" href="classOGRSpatialReference.html#a10c780ca8dc53fc91a99153290cc426a">SetEquirectangular()</a>, <a class="el" href="classOGRSpatialReference.html#a9c4d317d4a4054d9674b14ea0c7401b6">SetEquirectangular2()</a>, <a class="el" href="classOGRSpatialReference.html#a28e633e426cedaa17b757e4b1619f5c3">SetGaussSchreiberTMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a021258d1eb2fbbe819014a52a6f62969">SetGEOS()</a>, <a class="el" href="classOGRSpatialReference.html#a8e691c115046b500326fe5aa049f3c3a">SetGH()</a>, <a class="el" href="classOGRSpatialReference.html#a67a58ae2d5f8196f50fe10fd7b2b447d">SetGnomonic()</a>, <a class="el" href="classOGRSpatialReference.html#a6524e9752602ddc605093ee1bcecd21b">SetGS()</a>, <a class="el" href="classOGRSpatialReference.html#a4d13105847002639f0f448167dc922a0">SetHOM()</a>, <a class="el" href="classOGRSpatialReference.html#a66530428642a5e5e16f7791c7474fd21">SetHOM2PNO()</a>, <a class="el" href="classOGRSpatialReference.html#a0b34e9b2030ff8b07e14b988db95ab4f">SetHOMAC()</a>, <a class="el" href="classOGRSpatialReference.html#a555f427030e3bb1b0754a7ab64e826a3">SetIWMPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#abc48d54196d40a64489b55afa993d2d7">SetKrovak()</a>, <a class="el" href="classOGRSpatialReference.html#abb729026c3ff6e6729c6cab4cd4e7b82">SetLAEA()</a>, <a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC()</a>, <a class="el" href="classOGRSpatialReference.html#ae89db924598873ff279cf9cd1f5402c7">SetLCC1SP()</a>, <a class="el" href="classOGRSpatialReference.html#a3bff5316b8cad210b62a78694a6a4224">SetLCCB()</a>, <a class="el" href="classOGRSpatialReference.html#abffbf6b7dade5c4f89461d581ec34f81">SetMC()</a>, <a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a836ae0eb0484b8538b5ebbec51ff549b">SetMollweide()</a>, <a class="el" href="classOGRSpatialReference.html#a645b8d8ad374866405be723d3925c0eb">SetNZMG()</a>, <a class="el" href="classOGRSpatialReference.html#aa60a3f7a4fcd0b2e05b491004f7b4b00">SetOrthographic()</a>, <a class="el" href="classOGRSpatialReference.html#a6b9cd1357b9b90b7f614de1a42cc8ee5">SetOS()</a>, <a class="el" href="classOGRSpatialReference.html#a90387616358d7ccfbf021248b63bf55d">SetPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#aa7ef801c3bece207b4972ad25229e866">SetPS()</a>, <a class="el" href="classOGRSpatialReference.html#a371ea654e13a284a67862674655d930f">SetRobinson()</a>, <a class="el" href="classOGRSpatialReference.html#a2d3ceed1839820c00a45b31411046446">SetSinusoidal()</a>, <a class="el" href="classOGRSpatialReference.html#ab2fd66fae7d41793c750d25070094a8a">SetSOC()</a>, <a class="el" href="classOGRSpatialReference.html#a6ab764b384e4b60790cf480789ddb7bc">SetStatePlane()</a>, <a class="el" href="classOGRSpatialReference.html#a7cee263b477072d49648b3320b240f25">SetStereographic()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#abe110e083fb4550660ccabe69eaa0c1b">SetTMG()</a>, <a class="el" href="classOGRSpatialReference.html#abf9060b4d8eadf22e146619c5714dac2">SetTMSO()</a>, <a class="el" href="classOGRSpatialReference.html#ae3a6fa2ec0371725279c7f11dbe7b98f">SetTMVariant()</a>, <a class="el" href="classOGRSpatialReference.html#a9ecda5156bdb754ca576509d21d2e1f0">SetTPED()</a>, <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>, <a class="el" href="classOGRSpatialReference.html#aefc0572f3a97a5a9aaad41916b56def9">SetVDG()</a>, and <a class="el" href="classOGRSpatialReference.html#abcf567c9fe6bb8bfb1d758947a4d5daf">SetWagner()</a>.</p> </div> </div> <a class="anchor" id="a645b8d8ad374866405be723d3925c0eb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetNZMG </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>New Zealand Map Grid </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="aa60a3f7a4fcd0b2e05b491004f7b4b00"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetOrthographic </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Orthographic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>.</p> </div> </div> <a class="anchor" id="a6b9cd1357b9b90b7f614de1a42cc8ee5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetOS </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfOriginLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Oblique Stereographic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, and <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a90387616358d7ccfbf021248b63bf55d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetPolyconic </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Polyconic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a208118581246feb29646acf2ea5d4237"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetProjCS </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the user visible PROJCS name. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a7b2a27d374690edb672a15fba6299102" title="Set the user visible PROJCS name. ">OSRSetProjCS()</a>.</p> <p>This method will ensure a PROJCS node is created as the root, and set the provided name on it. If used on a GEOGCS coordinate system, the GEOGCS node will be demoted to be a child of the new PROJCS root.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>the user visible name to assign. Not used as a key.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">OGR_SRSNode::InsertChild()</a>, and <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>.</p> </div> </div> <a class="anchor" id="a45fc71e8c327e9aa274cb699b16f51ef"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetProjection </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszProjection</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set a projection name. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a6769d3abaaf540e3838340d3112c2abf" title="Set a projection name. ">OSRSetProjection()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszProjection</td><td>the projection name, which should be selected from the macros in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>, such as SRS_PT_TRANSVERSE_MERCATOR.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">OGR_SRSNode::InsertChild()</a>, and <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a826075cf8aeb97db58f1d505eb3a11cb">SetACEA()</a>, <a class="el" href="classOGRSpatialReference.html#a9db1b1a2e484ea9666d5009f19c6437e">SetAE()</a>, <a class="el" href="classOGRSpatialReference.html#a29d789f381ef5a368437e641d20dc82d">SetBonne()</a>, <a class="el" href="classOGRSpatialReference.html#a00037fe7f593033ba0a4c123d989370b">SetCEA()</a>, <a class="el" href="classOGRSpatialReference.html#a3d403772226f49e4a16bdc40416809c0">SetCS()</a>, <a class="el" href="classOGRSpatialReference.html#a229e9bfaf27c92f27db454f7186d7efc">SetEC()</a>, <a class="el" href="classOGRSpatialReference.html#a21d229aa12921f761a3395ddec27f0e7">SetEckert()</a>, <a class="el" href="classOGRSpatialReference.html#a10c780ca8dc53fc91a99153290cc426a">SetEquirectangular()</a>, <a class="el" href="classOGRSpatialReference.html#a9c4d317d4a4054d9674b14ea0c7401b6">SetEquirectangular2()</a>, <a class="el" href="classOGRSpatialReference.html#a28e633e426cedaa17b757e4b1619f5c3">SetGaussSchreiberTMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a021258d1eb2fbbe819014a52a6f62969">SetGEOS()</a>, <a class="el" href="classOGRSpatialReference.html#a8e691c115046b500326fe5aa049f3c3a">SetGH()</a>, <a class="el" href="classOGRSpatialReference.html#a67a58ae2d5f8196f50fe10fd7b2b447d">SetGnomonic()</a>, <a class="el" href="classOGRSpatialReference.html#a6524e9752602ddc605093ee1bcecd21b">SetGS()</a>, <a class="el" href="classOGRSpatialReference.html#a4d13105847002639f0f448167dc922a0">SetHOM()</a>, <a class="el" href="classOGRSpatialReference.html#a66530428642a5e5e16f7791c7474fd21">SetHOM2PNO()</a>, <a class="el" href="classOGRSpatialReference.html#a0b34e9b2030ff8b07e14b988db95ab4f">SetHOMAC()</a>, <a class="el" href="classOGRSpatialReference.html#a2cbb2cd843017628363f30c9f7c23e21">SetIGH()</a>, <a class="el" href="classOGRSpatialReference.html#a555f427030e3bb1b0754a7ab64e826a3">SetIWMPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#abc48d54196d40a64489b55afa993d2d7">SetKrovak()</a>, <a class="el" href="classOGRSpatialReference.html#abb729026c3ff6e6729c6cab4cd4e7b82">SetLAEA()</a>, <a class="el" href="classOGRSpatialReference.html#a6eddea3ec66447a764c0a80e181b224b">SetLCC()</a>, <a class="el" href="classOGRSpatialReference.html#ae89db924598873ff279cf9cd1f5402c7">SetLCC1SP()</a>, <a class="el" href="classOGRSpatialReference.html#a3bff5316b8cad210b62a78694a6a4224">SetLCCB()</a>, <a class="el" href="classOGRSpatialReference.html#abffbf6b7dade5c4f89461d581ec34f81">SetMC()</a>, <a class="el" href="classOGRSpatialReference.html#a165cdfa893a9e621df1e5ba5d584e8ec">SetMercator()</a>, <a class="el" href="classOGRSpatialReference.html#a836ae0eb0484b8538b5ebbec51ff549b">SetMollweide()</a>, <a class="el" href="classOGRSpatialReference.html#a645b8d8ad374866405be723d3925c0eb">SetNZMG()</a>, <a class="el" href="classOGRSpatialReference.html#aa60a3f7a4fcd0b2e05b491004f7b4b00">SetOrthographic()</a>, <a class="el" href="classOGRSpatialReference.html#a6b9cd1357b9b90b7f614de1a42cc8ee5">SetOS()</a>, <a class="el" href="classOGRSpatialReference.html#a90387616358d7ccfbf021248b63bf55d">SetPolyconic()</a>, <a class="el" href="classOGRSpatialReference.html#aa7ef801c3bece207b4972ad25229e866">SetPS()</a>, <a class="el" href="classOGRSpatialReference.html#a371ea654e13a284a67862674655d930f">SetRobinson()</a>, <a class="el" href="classOGRSpatialReference.html#a2d3ceed1839820c00a45b31411046446">SetSinusoidal()</a>, <a class="el" href="classOGRSpatialReference.html#ab2fd66fae7d41793c750d25070094a8a">SetSOC()</a>, <a class="el" href="classOGRSpatialReference.html#a7cee263b477072d49648b3320b240f25">SetStereographic()</a>, <a class="el" href="classOGRSpatialReference.html#a5b6822d6fd4dc947ccb89ef4020d7323">SetTM()</a>, <a class="el" href="classOGRSpatialReference.html#abe110e083fb4550660ccabe69eaa0c1b">SetTMG()</a>, <a class="el" href="classOGRSpatialReference.html#abf9060b4d8eadf22e146619c5714dac2">SetTMSO()</a>, <a class="el" href="classOGRSpatialReference.html#ae3a6fa2ec0371725279c7f11dbe7b98f">SetTMVariant()</a>, <a class="el" href="classOGRSpatialReference.html#a9ecda5156bdb754ca576509d21d2e1f0">SetTPED()</a>, <a class="el" href="classOGRSpatialReference.html#a0c4f6fcab663c9eb6d465787cad3833c">SetUTM()</a>, <a class="el" href="classOGRSpatialReference.html#aefc0572f3a97a5a9aaad41916b56def9">SetVDG()</a>, and <a class="el" href="classOGRSpatialReference.html#abcf567c9fe6bb8bfb1d758947a4d5daf">SetWagner()</a>.</p> </div> </div> <a class="anchor" id="aaa2027f62b01d61d9aab83629dd86cda"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetProjParm </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszParmName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfValue</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set a projection parameter value. </p> <p>Adds a new PARAMETER under the PROJCS with the indicated name and value.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a4d5e808bb57731e36da56626f48d1626" title="Set a projection parameter value. ">OSRSetProjParm()</a>.</p> <p>Please check <a href="http://www.remotesensing.org/geotiff/proj_list">http://www.remotesensing.org/geotiff/proj_list</a> pages for legal parameter names for specific projections.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszParmName</td><td>the parameter name, which should be selected from the macros in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>, such as SRS_PP_CENTRAL_MERIDIAN.</td></tr> <tr><td class="paramname">dfValue</td><td>value to assign.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, and <a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">OGR_SRSNode::SetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#adaab3d6e836f93974022bd78e221c4b4">SetLinearUnitsAndUpdateParameters()</a>, and <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>.</p> </div> </div> <a class="anchor" id="aa7ef801c3bece207b4972ad25229e866"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetPS </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Polar Stereographic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a371ea654e13a284a67862674655d930f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetRobinson </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Robinson </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a28eeee5688ff6cea07e74ccd4c18a3b0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRSpatialReference::SetRoot </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td> <td class="paramname"><em>poNewRoot</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the root SRS node. </p> <p>If the object has an existing tree of OGR_SRSNodes, they are destroyed as part of assigning the new root. Ownership of the passed <a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> is is assumed by the <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poNewRoot</td><td>object to assign as root. </td></tr> </table> </dd> </dl> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a0c1e2b108255487f91ae448f5c11f67c">CloneGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#a1c8d3eaf2751d9912797c75f477549fe">SetGeogCS()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#a4764cca1641b045a63afa95d01922add">SetVertCS()</a>, and <a class="el" href="classOGRSpatialReference.html#aff482ab330681678d7baff602389e7fc">StripVertical()</a>.</p> </div> </div> <a class="anchor" id="a2d3ceed1839820c00a45b31411046446"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetSinusoidal </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sinusoidal </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="ab2fd66fae7d41793c750d25070094a8a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetSOC </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfLatitudeOfOrigin</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCentralMeridian</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Swiss Oblique Cylindrical </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> </div> </div> <a class="anchor" id="a6ab764b384e4b60790cf480789ddb7bc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetStatePlane </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>nZone</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bNAD83</em> = <code>TRUE</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszOverrideUnitName</em> = <code>NULL</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfOverrideUnit</em> = <code>0.0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set State Plane projection definition. </p> <p>State Plane</p> <p>This will attempt to generate a complete definition of a state plane zone based on generating the entire SRS from the EPSG tables. If the EPSG tables are unavailable, it will produce a stubbed LOCAL_CS definition and return OGRERR_FAILURE.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#af8bbb49338378b4789f7005f509f0159" title="Set State Plane projection definition. ">OSRSetStatePlaneWithUnits()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">nZone</td><td>State plane zone number, in the USGS numbering scheme (as dinstinct from the Arc/Info and Erdas numbering scheme.</td></tr> <tr><td class="paramname">bNAD83</td><td>TRUE if the NAD83 zone definition should be used or FALSE if the NAD27 zone definition should be used.</td></tr> <tr><td class="paramname">pszOverrideUnitName</td><td>Linear unit name to apply overriding the legal definition for this zone.</td></tr> <tr><td class="paramname">dfOverrideUnit</td><td>Linear unit conversion factor to apply overriding the legal definition for this zone.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, or OGRERR_FAILURE on failure, mostly likely due to the EPSG tables not being accessable. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="cpl__conv_8h.html#afb5bf88066f997b1ab3b3911f5e9b722">CPLAtof()</a>, <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGRSpatialReference.html#af2821ab555a3bb2d6bb1df49d076a198">GetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#aa50f2dbc9a893110177ebeb847b70316">GetNormProjParm()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a3aad2472b5c38757a3bc606ee048c1c7">SetLocalCS()</a>, and <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a7cee263b477072d49648b3320b240f25"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetStereographic </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Stereographic </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a6a2c45c441de09c329ea0676d4e2e9d8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetTargetLinearUnits </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszTargetKey</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszUnitsName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfInMeters</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the linear units for the projection. </p> <p>This method creates a UNIT subnode with the specified values as a child of the target node.</p> <p>This method does the same as the C function <a class="el" href="ogr__srs__api_8h.html#a30110f6bb89523a1ea1e76622374b883" title="Set the linear units for the target node. ">OSRSetTargetLinearUnits()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszTargetKey</td><td>the keyword to set the linear units for. ie. "PROJCS" or "VERT_CS"</td></tr> <tr><td class="paramname">pszUnitsName</td><td>the units name to be used. Some preferred units names can be found in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a> such as SRS_UL_METER, SRS_UL_FOOT and SRS_UL_US_FOOT.</td></tr> <tr><td class="paramname">dfInMeters</td><td>the value to multiple by a length in the indicated units to transform to meters. Some standard conversion factors can be found in <a class="el" href="ogr__srs__api_8h.html">ogr_srs_api.h</a>.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success.</dd></dl> <dl class="section since"><dt>Since</dt><dd>OGR 1.9.0 </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, <a class="el" href="classOGRSpatialReference.html#ac16afe94b0d129c0b47e04a6f8b78bef">IsVertical()</a>, and <a class="el" href="classOGR__SRSNode.html#a07094ad4ae48e6760d0816ff14d2a8ad">OGR_SRSNode::SetValue()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>.</p> </div> </div> <a class="anchor" id="a5b6822d6fd4dc947ccb89ef4020d7323"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetTM </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Transverse Mercator </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>.</p> </div> </div> <a class="anchor" id="abe110e083fb4550660ccabe69eaa0c1b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetTMG </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Tunesia Mining Grid </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> </div> </div> <a class="anchor" id="abf9060b4d8eadf22e146619c5714dac2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetTMSO </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Transverse Mercator (South Oriented) </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="ae3a6fa2ec0371725279c7f11dbe7b98f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetTMVariant </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszVariantName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfScale</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Transverse Mercator variants. </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> </div> </div> <a class="anchor" id="af8be55999021cd06a75fb86416097156"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetTOWGS84 </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfDX</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfDY</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfDZ</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfEX</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfEY</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfEZ</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfPPM</em> = <code>0.0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the Bursa-Wolf conversion to WGS84. </p> <p>This will create the TOWGS84 node as a child of the DATUM. It will fail if there is no existing DATUM node. Unlike most <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> methods it will insert itself in the appropriate order, and will replace an existing TOWGS84 node if there is one.</p> <p>The parameters have the same meaning as EPSG transformation 9606 (Position Vector 7-param. transformation).</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#aa80d301d664f0d2e0b40afaee2c03552" title="Set the Bursa-Wolf conversion to WGS84. ">OSRSetTOWGS84()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">dfDX</td><td>X child in meters. </td></tr> <tr><td class="paramname">dfDY</td><td>Y child in meters. </td></tr> <tr><td class="paramname">dfDZ</td><td>Z child in meters. </td></tr> <tr><td class="paramname">dfEX</td><td>X rotation in arc seconds (optional, defaults to zero). </td></tr> <tr><td class="paramname">dfEY</td><td>Y rotation in arc seconds (optional, defaults to zero). </td></tr> <tr><td class="paramname">dfEZ</td><td>Z rotation in arc seconds (optional, defaults to zero). </td></tr> <tr><td class="paramname">dfPPM</td><td>scaling factor (parts per million).</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGR__SRSNode.html#ad292fa90c3d86e79a7dcc0d1ed7bfa72">OGR_SRSNode::DestroyChild()</a>, <a class="el" href="classOGR__SRSNode.html#a047ce17a7a2f76ab0a6c4c7f5cab06a9">OGR_SRSNode::FindChild()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#a5edbb6ed55d8a20c3d689a4ed80a8285">OGR_SRSNode::GetChildCount()</a>, and <a class="el" href="classOGR__SRSNode.html#a56c84c7cfcadf8ee273eb5f265b5dcd9">OGR_SRSNode::InsertChild()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, and <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a9ecda5156bdb754ca576509d21d2e1f0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetTPED </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfLat1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfLong1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfLat2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfLong2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Two Point Equidistant </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>.</p> </div> </div> <a class="anchor" id="a0c4f6fcab663c9eb6d465787cad3833c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetUTM </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>nZone</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>bNorth</em> = <code>TRUE</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set UTM projection definition. </p> <p>Universal Transverse Mercator</p> <p>This will generate a projection definition with the full set of transverse mercator projection parameters for the given UTM zone. If no PROJCS[] description is set yet, one will be set to look like "UTM Zone %d, {Northern, Southern} Hemisphere".</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#ad176f04d7b43e91e8aaf78d6f94082ab" title="Set UTM projection definition. ">OSRSetUTM()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">nZone</td><td>UTM zone.</td></tr> <tr><td class="paramname">bNorth</td><td>TRUE for northern hemisphere, or FALSE for southern hemisphere.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#acc815e7bd21c1c052304368c0eefe8be">GetAttrValue()</a>, <a class="el" href="classOGRSpatialReference.html#a2016fee7b234666c5e94d528661e6729">SetLinearUnits()</a>, <a class="el" href="classOGRSpatialReference.html#a5de745a68a65e0471df833b2f930538c">SetNode()</a>, <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a84c754327d7081c25358e1a4a6dcf002">importFromOzi()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, and <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>.</p> </div> </div> <a class="anchor" id="aefc0572f3a97a5a9aaad41916b56def9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetVDG </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLong</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>VanDerGrinten </p> <p>References <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a52f1557adb638b64487afd9c430148f4">importFromPCI()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a4764cca1641b045a63afa95d01922add"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetVertCS </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszVertCSName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszVertDatumName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nVertDatumType</em> = <code>2005</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set the user visible VERT_CS name. </p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a261596f6a4dceacfef55851814f8cc47" title="Setup the vertical coordinate system. ">OSRSetVertCS()</a>.</p> <p>This method will ensure a VERT_CS node is created if needed. If the existing coordinate system is GEOGCS or PROJCS rooted, then it will be turned into a COMPD_CS.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszVertCSName</td><td>the user visible name of the vertical coordinate system. Not used as a key.</td></tr> <tr><td class="paramname">pszVertDatumName</td><td>the user visible name of the vertical datum. It is helpful if this matches the EPSG name.</td></tr> <tr><td class="paramname">nVertDatumType</td><td>the OGC vertical datum type, usually 2005.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success.</dd></dl> <dl class="section since"><dt>Since</dt><dd>OGR 1.9.0 </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a161233efeab69c02691bfdfb8acda20d">OGR_SRSNode::AddChild()</a>, <a class="el" href="classOGRSpatialReference.html#ab9d2695768309948130772917b47366b">Clear()</a>, <a class="el" href="classOGRSpatialReference.html#a529996d77052abd060d95883ad27258d">GetAttrNode()</a>, <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>, <a class="el" href="classOGRSpatialReference.html#a1186e3473d7ac2f81ec2ca5d0c4ec027">IsProjected()</a>, and <a class="el" href="classOGRSpatialReference.html#a28eeee5688ff6cea07e74ccd4c18a3b0">SetRoot()</a>.</p> </div> </div> <a class="anchor" id="abcf567c9fe6bb8bfb1d758947a4d5daf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetWagner </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>nVariation</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfCenterLat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseEasting</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>dfFalseNorthing</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Wagner I – VII </p> <p>References <a class="el" href="cpl__error_8h.html#aad2b98dd58e4de706a245faddac90403">CPLError()</a>, <a class="el" href="classOGRSpatialReference.html#a9a050293b297acba00bd3da7d71d7ea0">SetNormProjParm()</a>, and <a class="el" href="classOGRSpatialReference.html#a45fc71e8c327e9aa274cb699b16f51ef">SetProjection()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, and <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>.</p> </div> </div> <a class="anchor" id="a096b8dde4fd2eb475acd376060940b02"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::SetWellKnownGeogCS </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>pszName</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set a GeogCS based on well known name. </p> <p>This may be called on an empty <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> to make a geographic coordinate system, or on something with an existing PROJCS node to set the underlying geographic coordinate system of a projected coordinate system.</p> <p>The following well known text values are currently supported: </p> <ul> <li> "WGS84": same as "EPSG:4326" but has no dependence on EPSG data files. </li> <li> "WGS72": same as "EPSG:4322" but has no dependence on EPSG data files. </li> <li> "NAD27": same as "EPSG:4267" but has no dependence on EPSG data files. </li> <li> "NAD83": same as "EPSG:4269" but has no dependence on EPSG data files. </li> <li> "EPSG:n": same as doing an ImportFromEPSG(n). </li> </ul> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pszName</td><td>name of well known geographic coordinate system. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success, or OGRERR_FAILURE if the name isn't recognised, the target object is already initialized, or an EPSG value can't be successfully looked up. </dd></dl> <p>References <a class="el" href="classOGRSpatialReference.html#a2f0172f9c1d69f347cbe429f7d39a3fa">CopyGeogCSFrom()</a>, <a class="el" href="classOGRSpatialReference.html#a8a5b8c9a205eedc6b88a14aa0c219969">importFromEPSG()</a>, <a class="el" href="classOGRSpatialReference.html#aaa6965a1df98cdc673dfb20697eab613">importFromEPSGA()</a>, <a class="el" href="classOGRSpatialReference.html#ab74cfc985bd05404a4c61d2d633a6343">importFromWkt()</a>, and <a class="el" href="classOGRSpatialReference.html#a764ba5d91530ad721d78ac629c0eaba8">IsGeographic()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#af91af2639702e2793daf93ffe231b577">importFromESRI()</a>, <a class="el" href="classOGRSpatialReference.html#a6a534e7d862a17c92a31d821848533c8">importFromPanorama()</a>, <a class="el" href="classOGRSpatialReference.html#af1a29550373c2c14bd11514641e58e7c">importFromProj4()</a>, <a class="el" href="classOGRSpatialReference.html#a3db677257b3a288473ebe66857aec97d">importFromUSGS()</a>, <a class="el" href="classOGRSpatialReference.html#a8d1d4cf6b5d2e62ca2fd2162dc80624c">importFromWMSAUTO()</a>, and <a class="el" href="classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796">SetFromUserInput()</a>.</p> </div> </div> <a class="anchor" id="aa3972cb59efaf55618e0a49b9af174c0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::StripCTParms </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGR__SRSNode.html">OGR_SRSNode</a> * </td> <td class="paramname"><em>poCurrent</em> = <code>NULL</code></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Strip OGC CT Parameters. </p> <p>This method will remove all components of the coordinate system that are specific to the OGC CT Specification. That is it will attempt to strip it down to being compatible with the Simple Features 1.0 specification.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#aa2d1f5a4fc3d492a0c30aa91545989ab" title="Strip OGC CT Parameters. ">OSRStripCTParms()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">poCurrent</td><td>node to operate on. NULL to operate on whole tree.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE on success or an error code. </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#a49c27a55eba526197af3206ac7b7a94e">OGR_SRSNode::GetValue()</a>, <a class="el" href="classOGR__SRSNode.html#a181ab5c7787769906e42ad54101e326a">OGR_SRSNode::StripNodes()</a>, and <a class="el" href="classOGRSpatialReference.html#aff482ab330681678d7baff602389e7fc">StripVertical()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#ad556dfdc04d9ec5f1714fc6b5e0eb6a6">morphFromESRI()</a>, and <a class="el" href="classOGRSpatialReference.html#aac948450b15fa3d8814ab440b9f705b7">morphToESRI()</a>.</p> </div> </div> <a class="anchor" id="aff482ab330681678d7baff602389e7fc"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::StripVertical </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Convert a compound cs into a horizontal CS. </p> <p>If this SRS is of type COMPD_CS[] then the vertical CS and the root COMPD_CS nodes are stripped resulting and only the horizontal coordinate system portion remains (normally PROJCS, GEOGCS or LOCAL_CS).</p> <p>If this is not a compound coordinate system then nothing is changed.</p> <dl class="section since"><dt>Since</dt><dd>OGR 1.8.0 </dd></dl> <p>References <a class="el" href="classOGR__SRSNode.html#af82e237ee7c6ac0ca77447be35471e7f">OGR_SRSNode::Clone()</a>, <a class="el" href="classOGR__SRSNode.html#aad8c07e21a228cdd2e58a9944aa86d76">OGR_SRSNode::GetChild()</a>, and <a class="el" href="classOGRSpatialReference.html#a28eeee5688ff6cea07e74ccd4c18a3b0">SetRoot()</a>.</p> <p>Referenced by <a class="el" href="classOGRSpatialReference.html#aa3972cb59efaf55618e0a49b9af174c0">StripCTParms()</a>.</p> </div> </div> <a class="anchor" id="aae2d987b92bc798f9bea5b1a18cf0ad2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OGRErr OGRSpatialReference::Validate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Validate SRS tokens. </p> <p>This method attempts to verify that the spatial reference system is well formed, and consists of known tokens. The validation is not comprehensive.</p> <p>This method is the same as the C function <a class="el" href="ogr__srs__api_8h.html#a9ca0d0a02a7cd9933c0074cee292de38" title="Validate SRS tokens. ">OSRValidate()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>OGRERR_NONE if all is fine, OGRERR_CORRUPT_DATA if the SRS is not well formed, and OGRERR_UNSUPPORTED_SRS if the SRS is well formed, but contains non-standard PROJECTION[] values. </dd></dl> <p>References <a class="el" href="cpl__error_8h.html#ad0c5d3481dd34c1f3a0f7775ebf74817">CPLDebug()</a>, <a class="el" href="cpl__conv_8h.html#a8b249211d68e4b6b1844004891e5ca5a">CPLGetConfigOption()</a>, <a class="el" href="cpl__string_8h.html#ada798bb0fafd08c7908d0f3716f341b3">CSLTestBoolean()</a>, and <a class="el" href="classOGRSpatialReference.html#a596b8e527d66a5054408159f0006fdac">exportToWkt()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="ogr__spatialref_8h_source.html">ogr_spatialref.h</a></li> <li>ogr_fromepsg.cpp</li> <li>ogr_srs_dict.cpp</li> <li>ogr_srs_erm.cpp</li> <li>ogr_srs_esri.cpp</li> <li>ogr_srs_ozi.cpp</li> <li>ogr_srs_panorama.cpp</li> <li>ogr_srs_pci.cpp</li> <li>ogr_srs_proj4.cpp</li> <li>ogr_srs_usgs.cpp</li> <li>ogr_srs_validate.cpp</li> <li>ogr_srs_xml.cpp</li> <li>ogrspatialreference.cpp</li> </ul> </div><!-- contents --> <hr> Generated for GDAL by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.8.5. </body> </html>