LCOV - code coverage report
Current view: top level - build-coverage/swig/csharp - osr_wrap.cpp (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 326 3464 9.4 %
Date: 2024-05-13 13:33:37 Functions: 53 430 12.3 %

          Line data    Source code
       1             : /* ----------------------------------------------------------------------------
       2             :  * This file was automatically generated by SWIG (http://www.swig.org).
       3             :  * Version 4.0.1
       4             :  *
       5             :  * This file is not intended to be easily readable and contains a number of
       6             :  * coding conventions designed to improve portability and efficiency. Do not make
       7             :  * changes to this file unless you know what you are doing--modify the SWIG
       8             :  * interface file instead.
       9             :  * ----------------------------------------------------------------------------- */
      10             : 
      11             : 
      12             : #ifndef SWIGCSHARP
      13             : #define SWIGCSHARP
      14             : #endif
      15             : 
      16             : 
      17             : 
      18             : #ifdef __cplusplus
      19             : /* SwigValueWrapper is described in swig.swg */
      20             : template<typename T> class SwigValueWrapper {
      21             :   struct SwigMovePointer {
      22             :     T *ptr;
      23             :     SwigMovePointer(T *p) : ptr(p) { }
      24             :     ~SwigMovePointer() { delete ptr; }
      25             :     SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
      26             :   } pointer;
      27             :   SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
      28             :   SwigValueWrapper(const SwigValueWrapper<T>& rhs);
      29             : public:
      30             :   SwigValueWrapper() : pointer(0) { }
      31             :   SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
      32             :   operator T&() const { return *pointer.ptr; }
      33             :   T *operator&() { return pointer.ptr; }
      34             : };
      35             : 
      36             : template <typename T> T SwigValueInit() {
      37             :   return T();
      38             : }
      39             : #endif
      40             : 
      41             : /* -----------------------------------------------------------------------------
      42             :  *  This section contains generic SWIG labels for method/variable
      43             :  *  declarations/attributes, and other compiler dependent labels.
      44             :  * ----------------------------------------------------------------------------- */
      45             : 
      46             : /* template workaround for compilers that cannot correctly implement the C++ standard */
      47             : #ifndef SWIGTEMPLATEDISAMBIGUATOR
      48             : # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
      49             : #  define SWIGTEMPLATEDISAMBIGUATOR template
      50             : # elif defined(__HP_aCC)
      51             : /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
      52             : /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
      53             : #  define SWIGTEMPLATEDISAMBIGUATOR template
      54             : # else
      55             : #  define SWIGTEMPLATEDISAMBIGUATOR
      56             : # endif
      57             : #endif
      58             : 
      59             : /* inline attribute */
      60             : #ifndef SWIGINLINE
      61             : # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
      62             : #   define SWIGINLINE inline
      63             : # else
      64             : #   define SWIGINLINE
      65             : # endif
      66             : #endif
      67             : 
      68             : /* attribute recognised by some compilers to avoid 'unused' warnings */
      69             : #ifndef SWIGUNUSED
      70             : # if defined(__GNUC__)
      71             : #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
      72             : #     define SWIGUNUSED __attribute__ ((__unused__))
      73             : #   else
      74             : #     define SWIGUNUSED
      75             : #   endif
      76             : # elif defined(__ICC)
      77             : #   define SWIGUNUSED __attribute__ ((__unused__))
      78             : # else
      79             : #   define SWIGUNUSED
      80             : # endif
      81             : #endif
      82             : 
      83             : #ifndef SWIG_MSC_UNSUPPRESS_4505
      84             : # if defined(_MSC_VER)
      85             : #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
      86             : # endif
      87             : #endif
      88             : 
      89             : #ifndef SWIGUNUSEDPARM
      90             : # ifdef __cplusplus
      91             : #   define SWIGUNUSEDPARM(p)
      92             : # else
      93             : #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
      94             : # endif
      95             : #endif
      96             : 
      97             : /* internal SWIG method */
      98             : #ifndef SWIGINTERN
      99             : # define SWIGINTERN static SWIGUNUSED
     100             : #endif
     101             : 
     102             : /* internal inline SWIG method */
     103             : #ifndef SWIGINTERNINLINE
     104             : # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
     105             : #endif
     106             : 
     107             : /* exporting methods */
     108             : #if defined(__GNUC__)
     109             : #  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
     110             : #    ifndef GCC_HASCLASSVISIBILITY
     111             : #      define GCC_HASCLASSVISIBILITY
     112             : #    endif
     113             : #  endif
     114             : #endif
     115             : 
     116             : #ifndef SWIGEXPORT
     117             : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
     118             : #   if defined(STATIC_LINKED)
     119             : #     define SWIGEXPORT
     120             : #   else
     121             : #     define SWIGEXPORT __declspec(dllexport)
     122             : #   endif
     123             : # else
     124             : #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
     125             : #     define SWIGEXPORT __attribute__ ((visibility("default")))
     126             : #   else
     127             : #     define SWIGEXPORT
     128             : #   endif
     129             : # endif
     130             : #endif
     131             : 
     132             : /* calling conventions for Windows */
     133             : #ifndef SWIGSTDCALL
     134             : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
     135             : #   define SWIGSTDCALL __stdcall
     136             : # else
     137             : #   define SWIGSTDCALL
     138             : # endif
     139             : #endif
     140             : 
     141             : /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
     142             : #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
     143             : # define _CRT_SECURE_NO_DEPRECATE
     144             : #endif
     145             : 
     146             : /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
     147             : #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
     148             : # define _SCL_SECURE_NO_DEPRECATE
     149             : #endif
     150             : 
     151             : /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
     152             : #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
     153             : # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
     154             : #endif
     155             : 
     156             : /* Intel's compiler complains if a variable which was never initialised is
     157             :  * cast to void, which is a common idiom which we use to indicate that we
     158             :  * are aware a variable isn't used.  So we just silence that warning.
     159             :  * See: https://github.com/swig/swig/issues/192 for more discussion.
     160             :  */
     161             : #ifdef __INTEL_COMPILER
     162             : # pragma warning disable 592
     163             : #endif
     164             : 
     165             : 
     166             : #include <stdlib.h>
     167             : #include <string.h>
     168             : #include <stdio.h>
     169             : 
     170             : 
     171             : /* Support for throwing C# exceptions from C/C++. There are two types: 
     172             :  * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */
     173             : typedef enum {
     174             :   SWIG_CSharpApplicationException,
     175             :   SWIG_CSharpArithmeticException,
     176             :   SWIG_CSharpDivideByZeroException,
     177             :   SWIG_CSharpIndexOutOfRangeException,
     178             :   SWIG_CSharpInvalidCastException,
     179             :   SWIG_CSharpInvalidOperationException,
     180             :   SWIG_CSharpIOException,
     181             :   SWIG_CSharpNullReferenceException,
     182             :   SWIG_CSharpOutOfMemoryException,
     183             :   SWIG_CSharpOverflowException,
     184             :   SWIG_CSharpSystemException
     185             : } SWIG_CSharpExceptionCodes;
     186             : 
     187             : typedef enum {
     188             :   SWIG_CSharpArgumentException,
     189             :   SWIG_CSharpArgumentNullException,
     190             :   SWIG_CSharpArgumentOutOfRangeException
     191             : } SWIG_CSharpExceptionArgumentCodes;
     192             : 
     193             : typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *);
     194             : typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *);
     195             : 
     196             : typedef struct {
     197             :   SWIG_CSharpExceptionCodes code;
     198             :   SWIG_CSharpExceptionCallback_t callback;
     199             : } SWIG_CSharpException_t;
     200             : 
     201             : typedef struct {
     202             :   SWIG_CSharpExceptionArgumentCodes code;
     203             :   SWIG_CSharpExceptionArgumentCallback_t callback;
     204             : } SWIG_CSharpExceptionArgument_t;
     205             : 
     206             : static SWIG_CSharpException_t SWIG_csharp_exceptions[] = {
     207             :   { SWIG_CSharpApplicationException, NULL },
     208             :   { SWIG_CSharpArithmeticException, NULL },
     209             :   { SWIG_CSharpDivideByZeroException, NULL },
     210             :   { SWIG_CSharpIndexOutOfRangeException, NULL },
     211             :   { SWIG_CSharpInvalidCastException, NULL },
     212             :   { SWIG_CSharpInvalidOperationException, NULL },
     213             :   { SWIG_CSharpIOException, NULL },
     214             :   { SWIG_CSharpNullReferenceException, NULL },
     215             :   { SWIG_CSharpOutOfMemoryException, NULL },
     216             :   { SWIG_CSharpOverflowException, NULL },
     217             :   { SWIG_CSharpSystemException, NULL }
     218             : };
     219             : 
     220             : static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = {
     221             :   { SWIG_CSharpArgumentException, NULL },
     222             :   { SWIG_CSharpArgumentNullException, NULL },
     223             :   { SWIG_CSharpArgumentOutOfRangeException, NULL }
     224             : };
     225             : 
     226           0 : static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) {
     227           0 :   SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback;
     228           0 :   if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) {
     229           0 :     callback = SWIG_csharp_exceptions[code].callback;
     230             :   }
     231           0 :   callback(msg);
     232           0 : }
     233             : 
     234           0 : static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) {
     235           0 :   SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback;
     236           0 :   if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) {
     237           0 :     callback = SWIG_csharp_exceptions_argument[code].callback;
     238             :   }
     239           0 :   callback(msg, param_name);
     240           0 : }
     241             : 
     242             : 
     243             : #ifdef __cplusplus
     244             : extern "C" 
     245             : #endif
     246           3 : SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_Osr(
     247             :                                                 SWIG_CSharpExceptionCallback_t applicationCallback,
     248             :                                                 SWIG_CSharpExceptionCallback_t arithmeticCallback,
     249             :                                                 SWIG_CSharpExceptionCallback_t divideByZeroCallback, 
     250             :                                                 SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback, 
     251             :                                                 SWIG_CSharpExceptionCallback_t invalidCastCallback,
     252             :                                                 SWIG_CSharpExceptionCallback_t invalidOperationCallback,
     253             :                                                 SWIG_CSharpExceptionCallback_t ioCallback,
     254             :                                                 SWIG_CSharpExceptionCallback_t nullReferenceCallback,
     255             :                                                 SWIG_CSharpExceptionCallback_t outOfMemoryCallback, 
     256             :                                                 SWIG_CSharpExceptionCallback_t overflowCallback, 
     257             :                                                 SWIG_CSharpExceptionCallback_t systemCallback) {
     258           3 :   SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback = applicationCallback;
     259           3 :   SWIG_csharp_exceptions[SWIG_CSharpArithmeticException].callback = arithmeticCallback;
     260           3 :   SWIG_csharp_exceptions[SWIG_CSharpDivideByZeroException].callback = divideByZeroCallback;
     261           3 :   SWIG_csharp_exceptions[SWIG_CSharpIndexOutOfRangeException].callback = indexOutOfRangeCallback;
     262           3 :   SWIG_csharp_exceptions[SWIG_CSharpInvalidCastException].callback = invalidCastCallback;
     263           3 :   SWIG_csharp_exceptions[SWIG_CSharpInvalidOperationException].callback = invalidOperationCallback;
     264           3 :   SWIG_csharp_exceptions[SWIG_CSharpIOException].callback = ioCallback;
     265           3 :   SWIG_csharp_exceptions[SWIG_CSharpNullReferenceException].callback = nullReferenceCallback;
     266           3 :   SWIG_csharp_exceptions[SWIG_CSharpOutOfMemoryException].callback = outOfMemoryCallback;
     267           3 :   SWIG_csharp_exceptions[SWIG_CSharpOverflowException].callback = overflowCallback;
     268           3 :   SWIG_csharp_exceptions[SWIG_CSharpSystemException].callback = systemCallback;
     269           3 : }
     270             : 
     271             : #ifdef __cplusplus
     272             : extern "C" 
     273             : #endif
     274           3 : SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_Osr(
     275             :                                                 SWIG_CSharpExceptionArgumentCallback_t argumentCallback,
     276             :                                                 SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback,
     277             :                                                 SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) {
     278           3 :   SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback = argumentCallback;
     279           3 :   SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentNullException].callback = argumentNullCallback;
     280           3 :   SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentOutOfRangeException].callback = argumentOutOfRangeCallback;
     281           3 : }
     282             : 
     283             : 
     284             : /* Callback for returning strings to C# without leaking memory */
     285             : typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
     286             : static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL;
     287             : 
     288             : 
     289             : #ifdef __cplusplus
     290             : extern "C" 
     291             : #endif
     292           3 : SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_Osr(SWIG_CSharpStringHelperCallback callback) {
     293           3 :   SWIG_csharp_string_callback = callback;
     294           3 : }
     295             : 
     296             : 
     297             : /* Contract support */
     298             : 
     299             : #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
     300             : 
     301             : /*  Errors in SWIG */
     302             : #define  SWIG_UnknownError         -1
     303             : #define  SWIG_IOError            -2
     304             : #define  SWIG_RuntimeError       -3
     305             : #define  SWIG_IndexError         -4
     306             : #define  SWIG_TypeError          -5
     307             : #define  SWIG_DivisionByZero     -6
     308             : #define  SWIG_OverflowError      -7
     309             : #define  SWIG_SyntaxError        -8
     310             : #define  SWIG_ValueError         -9
     311             : #define  SWIG_SystemError        -10
     312             : #define  SWIG_AttributeError     -11
     313             : #define  SWIG_MemoryError        -12
     314             : #define  SWIG_NullReferenceError   -13
     315             : 
     316             : 
     317             : 
     318             : 
     319           0 : SWIGINTERN void SWIG_CSharpException(int code, const char *msg) {
     320           0 :   if (code == SWIG_ValueError) {
     321           0 :     SWIG_CSharpExceptionArgumentCodes exception_code = SWIG_CSharpArgumentOutOfRangeException;
     322           0 :     SWIG_CSharpSetPendingExceptionArgument(exception_code, msg, 0);
     323             :   } else {
     324           0 :     SWIG_CSharpExceptionCodes exception_code = SWIG_CSharpApplicationException;
     325           0 :     switch(code) {
     326           0 :     case SWIG_MemoryError:
     327           0 :       exception_code = SWIG_CSharpOutOfMemoryException;
     328           0 :       break;
     329           0 :     case SWIG_IndexError:
     330           0 :       exception_code = SWIG_CSharpIndexOutOfRangeException;
     331           0 :       break;
     332           0 :     case SWIG_DivisionByZero:
     333           0 :       exception_code = SWIG_CSharpDivideByZeroException;
     334           0 :       break;
     335           0 :     case SWIG_IOError:
     336           0 :       exception_code = SWIG_CSharpIOException;
     337           0 :       break;
     338           0 :     case SWIG_OverflowError:
     339           0 :       exception_code = SWIG_CSharpOverflowException;
     340           0 :       break;
     341           0 :     case SWIG_RuntimeError:
     342             :     case SWIG_TypeError:
     343             :     case SWIG_SyntaxError:
     344             :     case SWIG_SystemError:
     345             :     case SWIG_UnknownError:
     346             :     default:
     347           0 :       exception_code = SWIG_CSharpApplicationException;
     348           0 :       break;
     349             :     }
     350           0 :     SWIG_CSharpSetPendingException(exception_code, msg);
     351             :   }
     352           0 : }
     353             : 
     354             : 
     355             : #include <typeinfo>
     356             : #include <stdexcept>
     357             : 
     358             : 
     359             : typedef char retStringAndCPLFree;
     360             : 
     361             : 
     362             : #include <iostream>
     363             : using namespace std;
     364             : 
     365             : #define CPL_SUPRESS_CPLUSPLUS
     366             : 
     367             : #include "cpl_string.h"
     368             : #include "cpl_conv.h"
     369             : 
     370             : #include "ogr_srs_api.h"
     371             : 
     372             : #ifdef DEBUG
     373             : typedef struct OGRSpatialReferenceHS OSRSpatialReferenceShadow;
     374             : typedef struct OGRCoordinateTransformationHS OSRCoordinateTransformationShadow;
     375             : typedef struct OGRCoordinateTransformationHS OGRCoordinateTransformationShadow;
     376             : #else
     377             : typedef void OSRSpatialReferenceShadow;
     378             : typedef void OSRCoordinateTransformationShadow;
     379             : #endif
     380             : 
     381             : 
     382           0 : void VeryQuietErrorHandler(CPLErr eclass, int code, const char *msg ) {
     383             :   /* If the error class is CE_Fatal, we want to have a message issued
     384             :      because the CPL support code does an abort() before any exception
     385             :      can be generated */
     386           0 :   if (eclass == CE_Fatal ) {
     387           0 :     CPLDefaultErrorHandler(eclass, code, msg );
     388             :   }
     389           0 : }
     390             : 
     391             : 
     392           0 : void UseExceptions() {
     393           0 :   CPLSetErrorHandler( (CPLErrorHandler) VeryQuietErrorHandler );
     394           0 : }
     395             : 
     396           0 : void DontUseExceptions() {
     397           0 :   CPLSetErrorHandler( CPLDefaultErrorHandler );
     398           0 : }
     399             : 
     400             : 
     401           0 :     void StringListDestroy(void *buffer_ptr) {
     402           0 :        CSLDestroy((char**)buffer_ptr);
     403           0 :     }
     404             : 
     405             : 
     406             : typedef OSRCRSInfo* OSRCRSInfoList;
     407             : 
     408          20 : SWIGINTERN OSRCRSInfo *OSRCRSInfoList_get(OSRCRSInfoList *self,int index){
     409          20 :      return self[index];
     410             :   }
     411           1 : SWIGINTERN void delete_OSRCRSInfoList(OSRCRSInfoList *self){
     412           1 :     OSRDestroyCRSInfoList(self);
     413           1 :   }
     414             : 
     415           1 : OSRCRSInfoList* GetCRSInfoListFromDatabase( char* authName, int* pnListCount )
     416             : {
     417           1 :     return (OSRCRSInfoList*)OSRGetCRSInfoListFromDatabase(authName, NULL, pnListCount);
     418             : }
     419             : 
     420             : 
     421           0 : OGRErr GetWellKnownGeogCSAsWKT( const char *name, char **argout ) {
     422           0 :   OGRSpatialReferenceH srs = OSRNewSpatialReference("");
     423           0 :   OGRErr rcode = OSRSetWellKnownGeogCS( srs, name );
     424           0 :   if( rcode == OGRERR_NONE )
     425           0 :       rcode = OSRExportToWkt ( srs, argout );
     426           0 :   OSRRelease( srs );
     427           0 :   return rcode;
     428             : }
     429             : 
     430             : 
     431             : static char const *
     432           0 : OGRErrMessages( int rc ) {
     433           0 :   switch( rc ) {
     434           0 :   case 0:
     435           0 :     return "OGR Error %d: None";
     436           0 :   case 1:
     437           0 :     return "OGR Error %d: Not enough data";
     438           0 :   case 2:
     439           0 :     return "OGR Error %d: Unsupported geometry type";
     440           0 :   case 3:
     441           0 :     return "OGR Error %d: Unsupported operation";
     442           0 :   case 4:
     443           0 :     return "OGR Error %d: Corrupt data";
     444           0 :   case 5:
     445           0 :     return "OGR Error %d: General Error";
     446           0 :   case 6:
     447           0 :     return "OGR Error %d: Unsupported SRS";
     448           0 :   default:
     449           0 :     return "OGR Error %d: Unknown";
     450             :   }
     451             : }
     452             : 
     453             : 
     454           0 : OGRErr GetUserInputAsWKT( const char *name, char **argout ) {
     455           0 :   OGRSpatialReferenceH srs = OSRNewSpatialReference("");
     456           0 :   OGRErr rcode = OSRSetFromUserInput( srs, name );
     457           0 :   if( rcode == OGRERR_NONE )
     458           0 :       rcode = OSRExportToWkt ( srs, argout );
     459           0 :   OSRRelease( srs );
     460           0 :   return rcode;
     461             : }
     462             : 
     463             : 
     464             : typedef struct
     465             : {
     466             :   double west_lon_degree;
     467             :   double south_lat_degree;
     468             :   double east_lon_degree;
     469             :   double north_lat_degree;
     470             :   char* name;
     471             : } OSRAreaOfUse;
     472             : 
     473           0 : SWIGINTERN OSRAreaOfUse *new_OSRAreaOfUse(double west_lon_degree,double south_lat_degree,double east_lon_degree,double north_lat_degree,char *name){
     474           0 :     OSRAreaOfUse *self = (OSRAreaOfUse*) CPLMalloc( sizeof( OSRAreaOfUse ) );
     475           0 :     self->west_lon_degree = west_lon_degree;
     476           0 :     self->south_lat_degree = south_lat_degree;
     477           0 :     self->east_lon_degree = east_lon_degree;
     478           0 :     self->north_lat_degree = north_lat_degree;
     479           0 :     self->name = name ? CPLStrdup(name) : NULL;
     480           0 :     return self;
     481             :   }
     482           0 : SWIGINTERN void delete_OSRAreaOfUse(OSRAreaOfUse *self){
     483           0 :     CPLFree( self->name );
     484           0 :     CPLFree( self );
     485           0 :   }
     486             : 
     487             : 
     488           0 : double OSRAreaOfUse_west_lon_degree_get( OSRAreaOfUse *area ) {
     489           0 :   return area->west_lon_degree;
     490             : }
     491             : 
     492           0 : double OSRAreaOfUse_south_lat_degree_get( OSRAreaOfUse *area ) {
     493           0 :   return area->south_lat_degree;
     494             : }
     495             : 
     496           0 : double OSRAreaOfUse_east_lon_degree_get( OSRAreaOfUse *area ) {
     497           0 :   return area->east_lon_degree;
     498             : }
     499             : 
     500           0 : double OSRAreaOfUse_north_lat_degree_get( OSRAreaOfUse *area ) {
     501           0 :   return area->north_lat_degree;
     502             : }
     503             : 
     504           0 : const char* OSRAreaOfUse_name_get( OSRAreaOfUse *area ) {
     505           0 :   return area->name;
     506             : }
     507             : 
     508             : 
     509           3 : SWIGINTERN OSRSpatialReferenceShadow *new_OSRSpatialReferenceShadow(char const *wkt=""){
     510           3 :     return (OSRSpatialReferenceShadow*) OSRNewSpatialReference(wkt);
     511             :   }
     512           3 : SWIGINTERN void delete_OSRSpatialReferenceShadow(OSRSpatialReferenceShadow *self){
     513           3 :     OSRRelease( self );
     514           3 :   }
     515           0 : SWIGINTERN retStringAndCPLFree *OSRSpatialReferenceShadow___str__(OSRSpatialReferenceShadow *self){
     516           0 :     char *buf = 0;
     517           0 :     OSRExportToPrettyWkt( self, &buf, 0 );
     518           0 :     return buf;
     519             :   }
     520           0 : SWIGINTERN char const *OSRSpatialReferenceShadow_GetName(OSRSpatialReferenceShadow *self){
     521           0 :     return OSRGetName( self );
     522             :   }
     523           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsSame(OSRSpatialReferenceShadow *self,OSRSpatialReferenceShadow *rhs,char **options=NULL){
     524           0 :     return OSRIsSameEx( self, rhs, options );
     525             :   }
     526           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsSameGeogCS(OSRSpatialReferenceShadow *self,OSRSpatialReferenceShadow *rhs){
     527           0 :     return OSRIsSameGeogCS( self, rhs );
     528             :   }
     529           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsSameVertCS(OSRSpatialReferenceShadow *self,OSRSpatialReferenceShadow *rhs){
     530           0 :     return OSRIsSameVertCS( self, rhs );
     531             :   }
     532           2 : SWIGINTERN int OSRSpatialReferenceShadow_IsGeographic(OSRSpatialReferenceShadow *self){
     533           2 :     return OSRIsGeographic(self);
     534             :   }
     535           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsDerivedGeographic(OSRSpatialReferenceShadow *self){
     536           0 :     return OSRIsDerivedGeographic(self);
     537             :   }
     538           2 : SWIGINTERN int OSRSpatialReferenceShadow_IsProjected(OSRSpatialReferenceShadow *self){
     539           2 :     return OSRIsProjected(self);
     540             :   }
     541           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsDerivedProjected(OSRSpatialReferenceShadow *self){
     542           0 :     return OSRIsDerivedProjected(self);
     543             :   }
     544           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsCompound(OSRSpatialReferenceShadow *self){
     545           0 :     return OSRIsCompound(self);
     546             :   }
     547           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsGeocentric(OSRSpatialReferenceShadow *self){
     548           0 :     return OSRIsGeocentric(self);
     549             :   }
     550           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsLocal(OSRSpatialReferenceShadow *self){
     551           0 :     return OSRIsLocal(self);
     552             :   }
     553           0 : SWIGINTERN int OSRSpatialReferenceShadow_IsVertical(OSRSpatialReferenceShadow *self){
     554           0 :     return OSRIsVertical(self);
     555             :   }
     556           0 : SWIGINTERN bool OSRSpatialReferenceShadow_IsDynamic(OSRSpatialReferenceShadow *self){
     557           0 :     return OSRIsDynamic(self);
     558             :   }
     559           0 : SWIGINTERN bool OSRSpatialReferenceShadow_HasPointMotionOperation(OSRSpatialReferenceShadow *self){
     560           0 :     return OSRHasPointMotionOperation(self);
     561             :   }
     562           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetCoordinateEpoch(OSRSpatialReferenceShadow *self){
     563           0 :     return OSRGetCoordinateEpoch(self);
     564             :   }
     565           0 : SWIGINTERN void OSRSpatialReferenceShadow_SetCoordinateEpoch(OSRSpatialReferenceShadow *self,double coordinateEpoch){
     566           0 :     OSRSetCoordinateEpoch(self, coordinateEpoch);
     567           0 :   }
     568           0 : SWIGINTERN int OSRSpatialReferenceShadow_EPSGTreatsAsLatLong(OSRSpatialReferenceShadow *self){
     569           0 :     return OSREPSGTreatsAsLatLong(self);
     570             :   }
     571           0 : SWIGINTERN int OSRSpatialReferenceShadow_EPSGTreatsAsNorthingEasting(OSRSpatialReferenceShadow *self){
     572           0 :     return OSREPSGTreatsAsNorthingEasting(self);
     573             :   }
     574           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetAuthority(OSRSpatialReferenceShadow *self,char const *pszTargetKey,char const *pszAuthority,int nCode){
     575           0 :     return OSRSetAuthority( self, pszTargetKey, pszAuthority, nCode );
     576             :   }
     577           0 : SWIGINTERN char const *OSRSpatialReferenceShadow_GetAttrValue(OSRSpatialReferenceShadow *self,char const *name,int child=0){
     578           0 :     return OSRGetAttrValue( self, name, child );
     579             :   }
     580           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetAttrValue(OSRSpatialReferenceShadow *self,char const *name,char const *value){
     581           0 :     return OSRSetAttrValue( self, name, value );
     582             :   }
     583           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetAngularUnits(OSRSpatialReferenceShadow *self,char const *name,double to_radians){
     584           0 :     return OSRSetAngularUnits( self, name, to_radians );
     585             :   }
     586           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetAngularUnits(OSRSpatialReferenceShadow *self){
     587             :     // Return code ignored.
     588           0 :     return OSRGetAngularUnits( self, 0 );
     589             :   }
     590           0 : SWIGINTERN char const *OSRSpatialReferenceShadow_GetAngularUnitsName(OSRSpatialReferenceShadow *self){
     591           0 :     char *name = 0;
     592           0 :     OSRGetAngularUnits( self, &name );
     593             :     // This is really a const char* that is returned and shouldn't be freed
     594           0 :     return (const char*)name;
     595             :   }
     596           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetTargetLinearUnits(OSRSpatialReferenceShadow *self,char const *target,char const *name,double to_meters){
     597           0 :     return OSRSetTargetLinearUnits( self, target, name, to_meters );
     598             :   }
     599           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetLinearUnits(OSRSpatialReferenceShadow *self,char const *name,double to_meters){
     600           0 :     return OSRSetLinearUnits( self, name, to_meters );
     601             :   }
     602           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetLinearUnitsAndUpdateParameters(OSRSpatialReferenceShadow *self,char const *name,double to_meters){
     603           0 :     return OSRSetLinearUnitsAndUpdateParameters( self, name, to_meters );
     604             :   }
     605           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetTargetLinearUnits(OSRSpatialReferenceShadow *self,char const *target_key){
     606             :     // Return code ignored.
     607           0 :     return OSRGetTargetLinearUnits( self, target_key, 0 );
     608             :   }
     609           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetLinearUnits(OSRSpatialReferenceShadow *self){
     610             :     // Return code ignored.
     611           0 :     return OSRGetLinearUnits( self, 0 );
     612             :   }
     613           0 : SWIGINTERN char const *OSRSpatialReferenceShadow_GetLinearUnitsName(OSRSpatialReferenceShadow *self){
     614           0 :     char *name = NULL;
     615             :     // Return code ignored.
     616           0 :     OSRGetLinearUnits( self, &name );
     617           0 :     return (const char*)name;
     618             :   }
     619           0 : SWIGINTERN char const *OSRSpatialReferenceShadow_GetAuthorityCode(OSRSpatialReferenceShadow *self,char const *target_key){
     620           0 :     return OSRGetAuthorityCode( self, target_key );
     621             :   }
     622           0 : SWIGINTERN char const *OSRSpatialReferenceShadow_GetAuthorityName(OSRSpatialReferenceShadow *self,char const *target_key){
     623           0 :     return OSRGetAuthorityName( self, target_key );
     624             :   }
     625           0 : SWIGINTERN OSRAreaOfUse *OSRSpatialReferenceShadow_GetAreaOfUse(OSRSpatialReferenceShadow *self){
     626           0 :     OSRAreaOfUse* pArea = new_OSRAreaOfUse(0,0,0,0,NULL);
     627           0 :     const char* name = NULL;
     628           0 :     if( !OSRGetAreaOfUse(self,
     629             :                     &pArea->west_lon_degree,
     630             :                     &pArea->south_lat_degree,
     631             :                     &pArea->east_lon_degree,
     632             :                     &pArea->north_lat_degree,
     633             :                     &name) )
     634             :     {
     635           0 :         delete_OSRAreaOfUse(pArea);
     636           0 :         return NULL;
     637             :     }
     638           0 :     pArea->name = name ? CPLStrdup(name) : NULL;
     639           0 :     return pArea;
     640             :   }
     641           0 : SWIGINTERN char const *OSRSpatialReferenceShadow_GetAxisName(OSRSpatialReferenceShadow *self,char const *target_key,int iAxis){
     642           0 :     return OSRGetAxis( self, target_key, iAxis, NULL );
     643             :   }
     644           0 : SWIGINTERN int OSRSpatialReferenceShadow_GetAxesCount(OSRSpatialReferenceShadow *self){
     645           0 :     return OSRGetAxesCount(self);
     646             :   }
     647           0 : SWIGINTERN OGRAxisOrientation OSRSpatialReferenceShadow_GetAxisOrientation(OSRSpatialReferenceShadow *self,char const *target_key,int iAxis){
     648           0 :     OGRAxisOrientation orientation = OAO_Other;
     649           0 :     OSRGetAxis( self, target_key, iAxis, &orientation );
     650           0 :     return orientation;
     651             :   }
     652           0 : SWIGINTERN OSRAxisMappingStrategy OSRSpatialReferenceShadow_GetAxisMappingStrategy(OSRSpatialReferenceShadow *self){
     653           0 :     return OSRGetAxisMappingStrategy(self);
     654             :   }
     655           0 : SWIGINTERN void OSRSpatialReferenceShadow_SetAxisMappingStrategy(OSRSpatialReferenceShadow *self,OSRAxisMappingStrategy strategy){
     656           0 :     OSRSetAxisMappingStrategy(self, strategy);
     657           0 :   }
     658           0 : SWIGINTERN int const *OSRSpatialReferenceShadow_GetDataAxisToSRSAxisMapping(OSRSpatialReferenceShadow *self,int *count){
     659           0 :       return OSRGetDataAxisToSRSAxisMapping(self, count);
     660             :   }
     661           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetDataAxisToSRSAxisMapping(OSRSpatialReferenceShadow *self,int nList,int *pList){
     662           0 :     return OSRSetDataAxisToSRSAxisMapping(self, nList, pList);
     663             :   }
     664           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetUTM(OSRSpatialReferenceShadow *self,int zone,int north=1){
     665           0 :     return OSRSetUTM( self, zone, north );
     666             :   }
     667           0 : SWIGINTERN int OSRSpatialReferenceShadow_GetUTMZone(OSRSpatialReferenceShadow *self){
     668             :     // Note: we will return south zones as negative since it is
     669             :     // hard to return two values as the C API does.
     670           0 :     int bNorth = FALSE;
     671           0 :     int nZone = OSRGetUTMZone( self, &bNorth );
     672           0 :     if( !bNorth )
     673           0 :         nZone = -1 * ABS(nZone);
     674           0 :     return nZone;
     675             :   }
     676           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetStatePlane(OSRSpatialReferenceShadow *self,int zone,int is_nad83=1,char const *unitsname="",double units=0.0){
     677           0 :     return OSRSetStatePlaneWithUnits( self, zone, is_nad83, unitsname, units );
     678             :   }
     679           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_AutoIdentifyEPSG(OSRSpatialReferenceShadow *self){
     680           0 :     return OSRAutoIdentifyEPSG( self );
     681             :   }
     682           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetProjection(OSRSpatialReferenceShadow *self,char const *arg){
     683           0 :     return OSRSetProjection( self, arg );
     684             :   }
     685           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetProjParm(OSRSpatialReferenceShadow *self,char const *name,double val){
     686           0 :     return OSRSetProjParm( self, name, val );
     687             :   }
     688           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetProjParm(OSRSpatialReferenceShadow *self,char const *name,double default_val=0.0){
     689             :     // Return code ignored.
     690           0 :     return OSRGetProjParm( self, name, default_val, 0 );
     691             :   }
     692           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetNormProjParm(OSRSpatialReferenceShadow *self,char const *name,double val){
     693           0 :     return OSRSetNormProjParm( self, name, val );
     694             :   }
     695           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetNormProjParm(OSRSpatialReferenceShadow *self,char const *name,double default_val=0.0){
     696             :     // Return code ignored.
     697           0 :     return OSRGetNormProjParm( self, name, default_val, 0 );
     698             :   }
     699           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetSemiMajor(OSRSpatialReferenceShadow *self){
     700             :     // Return code ignored.
     701           0 :     return OSRGetSemiMajor( self, 0 );
     702             :   }
     703           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetSemiMinor(OSRSpatialReferenceShadow *self){
     704             :     // Return code ignored.
     705           0 :     return OSRGetSemiMinor( self, 0 );
     706             :   }
     707           0 : SWIGINTERN double OSRSpatialReferenceShadow_GetInvFlattening(OSRSpatialReferenceShadow *self){
     708             :     // Return code ignored.
     709           0 :     return OSRGetInvFlattening( self, 0 );
     710             :   }
     711           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetACEA(OSRSpatialReferenceShadow *self,double stdp1,double stdp2,double clat,double clong,double fe,double fn){
     712           0 :     return OSRSetACEA( self, stdp1, stdp2, clat, clong,
     713           0 :                        fe, fn );
     714             :   }
     715           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetAE(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     716           0 :     return OSRSetAE( self, clat, clong,
     717           0 :                      fe, fn );
     718             :   }
     719           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetBonne(OSRSpatialReferenceShadow *self,double stdp,double cm,double fe,double fn){
     720           0 :     return OSRSetBonne( self, stdp, cm, fe, fn );
     721             :   }
     722           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetCEA(OSRSpatialReferenceShadow *self,double stdp1,double cm,double fe,double fn){
     723           0 :     return OSRSetCEA( self, stdp1, cm,
     724           0 :                       fe, fn );
     725             :   }
     726           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetCS(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     727           0 :     return OSRSetCS( self, clat, clong,
     728           0 :                      fe, fn );
     729             :   }
     730           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetEC(OSRSpatialReferenceShadow *self,double stdp1,double stdp2,double clat,double clong,double fe,double fn){
     731           0 :     return OSRSetEC( self, stdp1, stdp2, clat, clong,
     732           0 :                      fe, fn );
     733             :   }
     734           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetEckertIV(OSRSpatialReferenceShadow *self,double cm,double fe,double fn){
     735           0 :     return OSRSetEckertIV( self, cm, fe, fn);
     736             :   }
     737           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetEckertVI(OSRSpatialReferenceShadow *self,double cm,double fe,double fn){
     738           0 :     return OSRSetEckertVI( self, cm, fe, fn);
     739             :   }
     740           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetEquirectangular(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     741           0 :     return OSRSetEquirectangular( self, clat, clong,
     742           0 :                                   fe, fn );
     743             :   }
     744           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetEquirectangular2(OSRSpatialReferenceShadow *self,double clat,double clong,double pseudostdparallellat,double fe,double fn){
     745           0 :     return OSRSetEquirectangular2( self, clat, clong,
     746             :                                    pseudostdparallellat,
     747           0 :                                    fe, fn );
     748             :   }
     749           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetGaussSchreiberTMercator(OSRSpatialReferenceShadow *self,double clat,double clong,double sc,double fe,double fn){
     750           0 :     return OSRSetGaussSchreiberTMercator( self, clat, clong, sc, fe, fn );
     751             :   }
     752           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetGS(OSRSpatialReferenceShadow *self,double cm,double fe,double fn){
     753           0 :     return OSRSetGS( self, cm, fe, fn );
     754             :   }
     755           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetGH(OSRSpatialReferenceShadow *self,double cm,double fe,double fn){
     756           0 :     return OSRSetGH( self, cm, fe, fn );
     757             :   }
     758           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetIGH(OSRSpatialReferenceShadow *self){
     759           0 :     return OSRSetIGH( self );
     760             :   }
     761           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetGEOS(OSRSpatialReferenceShadow *self,double cm,double satelliteheight,double fe,double fn){
     762           0 :     return OSRSetGEOS( self, cm, satelliteheight,
     763           0 :                        fe, fn );
     764             :   }
     765           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetGnomonic(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     766           0 :     return OSRSetGnomonic( self, clat, clong,
     767           0 :                            fe, fn );
     768             :   }
     769           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetHOM(OSRSpatialReferenceShadow *self,double clat,double clong,double azimuth,double recttoskew,double scale,double fe,double fn){
     770           0 :     return OSRSetHOM( self, clat, clong, azimuth, recttoskew,
     771           0 :                       scale, fe, fn );
     772             :   }
     773           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetHOM2PNO(OSRSpatialReferenceShadow *self,double clat,double dfLat1,double dfLong1,double dfLat2,double dfLong2,double scale,double fe,double fn){
     774           0 :     return OSRSetHOM2PNO( self, clat, dfLat1, dfLong1, dfLat2, dfLong2,
     775           0 :                           scale, fe, fn );
     776             :   }
     777           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetKrovak(OSRSpatialReferenceShadow *self,double clat,double clong,double azimuth,double pseudostdparallellat,double scale,double fe,double fn){
     778           0 :     return OSRSetKrovak( self, clat, clong,
     779             :                          azimuth, pseudostdparallellat,
     780           0 :                          scale, fe, fn );
     781             :   }
     782           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetLAEA(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     783           0 :     return OSRSetLAEA( self, clat, clong,
     784           0 :                        fe, fn );
     785             :   }
     786           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetLCC(OSRSpatialReferenceShadow *self,double stdp1,double stdp2,double clat,double clong,double fe,double fn){
     787           0 :     return OSRSetLCC( self, stdp1, stdp2, clat, clong,
     788           0 :                       fe, fn );
     789             :   }
     790           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetLCC1SP(OSRSpatialReferenceShadow *self,double clat,double clong,double scale,double fe,double fn){
     791           0 :     return OSRSetLCC1SP( self, clat, clong, scale,
     792           0 :                          fe, fn );
     793             :   }
     794           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetLCCB(OSRSpatialReferenceShadow *self,double stdp1,double stdp2,double clat,double clong,double fe,double fn){
     795           0 :     return OSRSetLCCB( self, stdp1, stdp2, clat, clong,
     796           0 :                        fe, fn );
     797             :   }
     798           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetMC(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     799           0 :     return OSRSetMC( self, clat, clong,
     800           0 :                      fe, fn );
     801             :   }
     802           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetMercator(OSRSpatialReferenceShadow *self,double clat,double clong,double scale,double fe,double fn){
     803           0 :     return OSRSetMercator( self, clat, clong,
     804           0 :                            scale, fe, fn );
     805             :   }
     806           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetMercator2SP(OSRSpatialReferenceShadow *self,double stdp1,double clat,double clong,double fe,double fn){
     807           0 :     return OSRSetMercator2SP( self, stdp1, clat, clong, fe, fn );
     808             :   }
     809           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetMollweide(OSRSpatialReferenceShadow *self,double cm,double fe,double fn){
     810           0 :     return OSRSetMollweide( self, cm,
     811           0 :                             fe, fn );
     812             :   }
     813           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetNZMG(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     814           0 :     return OSRSetNZMG( self, clat, clong,
     815           0 :                        fe, fn );
     816             :   }
     817           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetOS(OSRSpatialReferenceShadow *self,double dfOriginLat,double dfCMeridian,double scale,double fe,double fn){
     818           0 :     return OSRSetOS( self, dfOriginLat, dfCMeridian, scale,
     819           0 :                      fe, fn );
     820             :   }
     821           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetOrthographic(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     822           0 :     return OSRSetOrthographic( self, clat, clong,
     823           0 :                                fe, fn );
     824             :   }
     825           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetPolyconic(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     826           0 :     return OSRSetPolyconic( self, clat, clong,
     827           0 :                             fe, fn );
     828             :   }
     829           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetPS(OSRSpatialReferenceShadow *self,double clat,double clong,double scale,double fe,double fn){
     830           0 :     return OSRSetPS( self, clat, clong, scale,
     831           0 :                      fe, fn );
     832             :   }
     833           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetRobinson(OSRSpatialReferenceShadow *self,double clong,double fe,double fn){
     834           0 :     return OSRSetRobinson( self, clong, fe, fn );
     835             :   }
     836           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetSinusoidal(OSRSpatialReferenceShadow *self,double clong,double fe,double fn){
     837           0 :     return OSRSetSinusoidal( self, clong, fe, fn );
     838             :   }
     839           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetStereographic(OSRSpatialReferenceShadow *self,double clat,double clong,double scale,double fe,double fn){
     840           0 :     return OSRSetStereographic( self, clat, clong, scale,
     841           0 :                                 fe, fn );
     842             :   }
     843           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetSOC(OSRSpatialReferenceShadow *self,double latitudeoforigin,double cm,double fe,double fn){
     844           0 :     return OSRSetSOC( self, latitudeoforigin, cm,
     845           0 :                 fe, fn );
     846             :   }
     847           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetTM(OSRSpatialReferenceShadow *self,double clat,double clong,double scale,double fe,double fn){
     848           0 :     return OSRSetTM( self, clat, clong, scale,
     849           0 :                      fe, fn );
     850             :   }
     851           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetTMVariant(OSRSpatialReferenceShadow *self,char const *pszVariantName,double clat,double clong,double scale,double fe,double fn){
     852           0 :     return OSRSetTMVariant( self, pszVariantName, clat, clong,
     853           0 :                             scale, fe, fn );
     854             :   }
     855           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetTMG(OSRSpatialReferenceShadow *self,double clat,double clong,double fe,double fn){
     856           0 :     return OSRSetTMG( self, clat, clong,
     857           0 :                       fe, fn );
     858             :   }
     859           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetTMSO(OSRSpatialReferenceShadow *self,double clat,double clong,double scale,double fe,double fn){
     860           0 :     return OSRSetTMSO( self, clat, clong, scale,
     861           0 :                        fe, fn );
     862             :   }
     863           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetVDG(OSRSpatialReferenceShadow *self,double clong,double fe,double fn){
     864           0 :     return OSRSetVDG( self, clong, fe, fn );
     865             :   }
     866           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetVerticalPerspective(OSRSpatialReferenceShadow *self,double topoOriginLat,double topoOriginLon,double topoOriginHeight,double viewPointHeight,double fe,double fn){
     867           0 :     return OSRSetVerticalPerspective( self,
     868           0 :         topoOriginLat, topoOriginLon, topoOriginHeight, viewPointHeight, fe, fn );
     869             :   }
     870           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetWellKnownGeogCS(OSRSpatialReferenceShadow *self,char const *name){
     871           0 :     return OSRSetWellKnownGeogCS( self, name );
     872             :   }
     873           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetFromUserInput__SWIG_0(OSRSpatialReferenceShadow *self,char const *name){
     874           0 :     return OSRSetFromUserInputEx( self, name, NULL );
     875             :   }
     876           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetFromUserInput__SWIG_1(OSRSpatialReferenceShadow *self,char const *name,char **options){
     877           0 :     return OSRSetFromUserInputEx( self, name, options );
     878             :   }
     879           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_CopyGeogCSFrom(OSRSpatialReferenceShadow *self,OSRSpatialReferenceShadow *rhs){
     880           0 :     return OSRCopyGeogCSFrom( self, rhs );
     881             :   }
     882           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetTOWGS84(OSRSpatialReferenceShadow *self,double p1,double p2,double p3,double p4=0.0,double p5=0.0,double p6=0.0,double p7=0.0){
     883             : 
     884           0 :     return OSRSetTOWGS84( self, p1, p2, p3, p4, p5, p6, p7 );
     885             :   }
     886           0 : SWIGINTERN bool OSRSpatialReferenceShadow_HasTOWGS84(OSRSpatialReferenceShadow *self){
     887             :     double ignored[7];
     888           0 :     return OSRGetTOWGS84( self, ignored, 7 ) == OGRERR_NONE;
     889             :   }
     890           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_GetTOWGS84(OSRSpatialReferenceShadow *self,double argout[7]){
     891           0 :     return OSRGetTOWGS84( self, argout, 7 );
     892             :   }
     893           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_AddGuessedTOWGS84(OSRSpatialReferenceShadow *self){
     894           0 :     return OSRAddGuessedTOWGS84( self );
     895             :   }
     896           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetLocalCS(OSRSpatialReferenceShadow *self,char const *pszName){
     897           0 :     return OSRSetLocalCS( self, pszName );
     898             :   }
     899           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetGeogCS(OSRSpatialReferenceShadow *self,char const *pszGeogName,char const *pszDatumName,char const *pszEllipsoidName,double dfSemiMajor,double dfInvFlattening,char const *pszPMName="Greenwich",double dfPMOffset=0.0,char const *pszUnits="degree",double dfConvertToRadians=0.0174532925199433){
     900           0 :     return OSRSetGeogCS( self, pszGeogName, pszDatumName, pszEllipsoidName,
     901             :                          dfSemiMajor, dfInvFlattening,
     902           0 :                          pszPMName, dfPMOffset, pszUnits, dfConvertToRadians );
     903             :   }
     904           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetProjCS(OSRSpatialReferenceShadow *self,char const *name="unnamed"){
     905           0 :     return OSRSetProjCS( self, name );
     906             :   }
     907           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetGeocCS(OSRSpatialReferenceShadow *self,char const *name="unnamed"){
     908           0 :     return OSRSetGeocCS( self, name );
     909             :   }
     910           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetVertCS(OSRSpatialReferenceShadow *self,char const *VertCSName="unnamed",char const *VertDatumName="unnamed",int VertDatumType=0){
     911           0 :     return OSRSetVertCS( self, VertCSName, VertDatumName, VertDatumType );
     912             :   }
     913           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_SetCompoundCS(OSRSpatialReferenceShadow *self,char const *name,OSRSpatialReferenceShadow *horizcs,OSRSpatialReferenceShadow *vertcs){
     914           0 :     return OSRSetCompoundCS( self, name, horizcs, vertcs );
     915             :   }
     916           1 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromWkt(OSRSpatialReferenceShadow *self,char **ppszInput){
     917           1 :     return OSRImportFromWkt( self, ppszInput );
     918             :   }
     919           2 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromProj4(OSRSpatialReferenceShadow *self,char *ppszInput){
     920           2 :     return OSRImportFromProj4( self, ppszInput );
     921             :   }
     922           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromUrl(OSRSpatialReferenceShadow *self,char *url){
     923           0 :     return OSRImportFromUrl( self, url );
     924             :   }
     925           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromESRI(OSRSpatialReferenceShadow *self,char **ppszInput){
     926           0 :     return OSRImportFromESRI( self, ppszInput );
     927             :   }
     928           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromEPSG(OSRSpatialReferenceShadow *self,int arg){
     929           0 :     return OSRImportFromEPSG(self, arg);
     930             :   }
     931           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromEPSGA(OSRSpatialReferenceShadow *self,int arg){
     932           0 :     return OSRImportFromEPSGA(self, arg);
     933             :   }
     934           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromPCI(OSRSpatialReferenceShadow *self,char const *proj,char const *units="METRE",double argin[17]=0){
     935           0 :     return OSRImportFromPCI( self, proj, units, argin );
     936             :   }
     937           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromUSGS(OSRSpatialReferenceShadow *self,long proj_code,long zone=0,double argin[15]=0,long datum_code=0){
     938           0 :     return OSRImportFromUSGS( self, proj_code, zone, argin, datum_code );
     939             :   }
     940           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromXML(OSRSpatialReferenceShadow *self,char const *xmlString){
     941           0 :     return OSRImportFromXML( self, xmlString );
     942             :   }
     943           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromERM(OSRSpatialReferenceShadow *self,char const *proj,char const *datum,char const *units){
     944           0 :     return OSRImportFromERM( self, proj, datum, units );
     945             :   }
     946           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromMICoordSys(OSRSpatialReferenceShadow *self,char const *pszCoordSys){
     947           0 :     return OSRImportFromMICoordSys( self, pszCoordSys );
     948             :   }
     949           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromOzi(OSRSpatialReferenceShadow *self,char const *const *papszLines){
     950           0 :     return OSRImportFromOzi( self, papszLines );
     951             :   }
     952           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ImportFromCF1(OSRSpatialReferenceShadow *self,char **keyValues,char const *units=NULL){
     953           0 :       return OSRImportFromCF1(self, keyValues, units);
     954             :   }
     955           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToWkt(OSRSpatialReferenceShadow *self,char **argout,char **options=NULL){
     956           0 :     return OSRExportToWktEx( self, argout, options );
     957             :   }
     958           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToPrettyWkt(OSRSpatialReferenceShadow *self,char **argout,int simplify=0){
     959           0 :     return OSRExportToPrettyWkt( self, argout, simplify );
     960             :   }
     961           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToPROJJSON(OSRSpatialReferenceShadow *self,char **argout,char **options=NULL){
     962           0 :     return OSRExportToPROJJSON( self, argout, options );
     963             :   }
     964           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToProj4(OSRSpatialReferenceShadow *self,char **argout){
     965           0 :     return OSRExportToProj4( self, argout );
     966             :   }
     967           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToPCI(OSRSpatialReferenceShadow *self,char **proj,char **units,double *params[17]){
     968           0 :     return OSRExportToPCI( self, proj, units, params );
     969             :   }
     970           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToUSGS(OSRSpatialReferenceShadow *self,long *code,long *zone,double *params[15],long *datum){
     971           0 :     return OSRExportToUSGS( self, code, zone, params, datum );
     972             :   }
     973           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToERM(OSRSpatialReferenceShadow *self,char **proj,char **datum,char **units){
     974           0 :     char szProj[32] = {0}, szDatum[32] = {0}, szUnits[32] = {0};
     975           0 :     OGRErr ret = OSRExportToERM( self, szProj, szDatum, szUnits );
     976           0 :     *proj = CPLStrdup(szProj);
     977           0 :     *datum = CPLStrdup(szDatum);
     978           0 :     *units = CPLStrdup(szUnits);
     979           0 :     return ret;
     980             :   }
     981           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToXML(OSRSpatialReferenceShadow *self,char **argout,char const *dialect=""){
     982           0 :     return OSRExportToXML( self, argout, dialect );
     983             :   }
     984           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_ExportToMICoordSys(OSRSpatialReferenceShadow *self,char **argout){
     985           0 :     return OSRExportToMICoordSys( self, argout );
     986             :   }
     987           0 : SWIGINTERN char **OSRSpatialReferenceShadow_ExportToCF1(OSRSpatialReferenceShadow *self,char **options=NULL){
     988           0 :     char** ret = NULL;
     989           0 :     OSRExportToCF1(self, NULL, &ret, NULL, options);
     990           0 :     return ret;
     991             :   }
     992           0 : SWIGINTERN retStringAndCPLFree *OSRSpatialReferenceShadow_ExportToCF1Units(OSRSpatialReferenceShadow *self,char **options=NULL){
     993           0 :     char* units = NULL;
     994           0 :     OSRExportToCF1(self, NULL, NULL, &units, options);
     995           0 :     return units;
     996             :  }
     997           0 : SWIGINTERN OSRSpatialReferenceShadow *OSRSpatialReferenceShadow_CloneGeogCS(OSRSpatialReferenceShadow *self){
     998           0 :     return (OSRSpatialReferenceShadow*) OSRCloneGeogCS(self);
     999             :   }
    1000           0 : SWIGINTERN OSRSpatialReferenceShadow *OSRSpatialReferenceShadow_Clone(OSRSpatialReferenceShadow *self){
    1001           0 :     return (OSRSpatialReferenceShadow*) OSRClone(self);
    1002             :   }
    1003           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_StripVertical(OSRSpatialReferenceShadow *self){
    1004           0 :     return OSRStripVertical(self);
    1005             :   }
    1006           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_Validate(OSRSpatialReferenceShadow *self){
    1007           0 :     return OSRValidate(self);
    1008             :   }
    1009           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_MorphToESRI(OSRSpatialReferenceShadow *self){
    1010           0 :     return OSRMorphToESRI(self);
    1011             :   }
    1012           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_MorphFromESRI(OSRSpatialReferenceShadow *self){
    1013           0 :     return OSRMorphFromESRI(self);
    1014             :   }
    1015           0 : SWIGINTERN OSRSpatialReferenceShadow *OSRSpatialReferenceShadow_ConvertToOtherProjection(OSRSpatialReferenceShadow *self,char const *other_projection,char **options=NULL){
    1016           0 :     return OSRConvertToOtherProjection(self, other_projection, options);
    1017             :   }
    1018           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_PromoteTo3D(OSRSpatialReferenceShadow *self,char const *name=NULL){
    1019           0 :     return OSRPromoteTo3D(self, name);
    1020             :   }
    1021           0 : SWIGINTERN OGRErr OSRSpatialReferenceShadow_DemoteTo2D(OSRSpatialReferenceShadow *self,char const *name=NULL){
    1022           0 :     return OSRDemoteTo2D(self, name);
    1023             :   }
    1024           0 : SWIGINTERN OGRCoordinateTransformationOptions *new_OGRCoordinateTransformationOptions(){
    1025           0 :     return OCTNewCoordinateTransformationOptions();
    1026             :   }
    1027           0 : SWIGINTERN void delete_OGRCoordinateTransformationOptions(OGRCoordinateTransformationOptions *self){
    1028           0 :     OCTDestroyCoordinateTransformationOptions( self );
    1029           0 :   }
    1030           0 : SWIGINTERN bool OGRCoordinateTransformationOptions_SetAreaOfInterest(OGRCoordinateTransformationOptions *self,double westLongitudeDeg,double southLatitudeDeg,double eastLongitudeDeg,double northLatitudeDeg){
    1031           0 :     return OCTCoordinateTransformationOptionsSetAreaOfInterest(self,
    1032             :         westLongitudeDeg, southLatitudeDeg,
    1033           0 :         eastLongitudeDeg, northLatitudeDeg);
    1034             :   }
    1035           0 : SWIGINTERN bool OGRCoordinateTransformationOptions_SetOperation(OGRCoordinateTransformationOptions *self,char const *operation,bool inverseCT=false){
    1036           0 :     return OCTCoordinateTransformationOptionsSetOperation(self, operation, inverseCT);
    1037             :   }
    1038           0 : SWIGINTERN bool OGRCoordinateTransformationOptions_SetDesiredAccuracy(OGRCoordinateTransformationOptions *self,double accuracy){
    1039           0 :     return OCTCoordinateTransformationOptionsSetDesiredAccuracy(self, accuracy);
    1040             :   }
    1041           0 : SWIGINTERN bool OGRCoordinateTransformationOptions_SetBallparkAllowed(OGRCoordinateTransformationOptions *self,bool allowBallpark){
    1042           0 :     return OCTCoordinateTransformationOptionsSetBallparkAllowed(self, allowBallpark);
    1043             :   }
    1044           0 : SWIGINTERN bool OGRCoordinateTransformationOptions_SetOnlyBest(OGRCoordinateTransformationOptions *self,bool onlyBest){
    1045           0 :     return OCTCoordinateTransformationOptionsSetOnlyBest(self, onlyBest);
    1046             :   }
    1047           1 : SWIGINTERN OSRCoordinateTransformationShadow *new_OSRCoordinateTransformationShadow__SWIG_0(OSRSpatialReferenceShadow *src,OSRSpatialReferenceShadow *dst){
    1048           1 :     return (OSRCoordinateTransformationShadow*) OCTNewCoordinateTransformation(src, dst);
    1049             :   }
    1050           0 : SWIGINTERN OSRCoordinateTransformationShadow *new_OSRCoordinateTransformationShadow__SWIG_1(OSRSpatialReferenceShadow *src,OSRSpatialReferenceShadow *dst,OGRCoordinateTransformationOptions *options){
    1051             :     return (OSRCoordinateTransformationShadow*)
    1052           0 :         options ? OCTNewCoordinateTransformationEx( src, dst, options ) : OCTNewCoordinateTransformation(src, dst);
    1053             :   }
    1054           1 : SWIGINTERN void delete_OSRCoordinateTransformationShadow(OSRCoordinateTransformationShadow *self){
    1055           1 :     OCTDestroyCoordinateTransformation( self );
    1056           1 :   }
    1057           0 : SWIGINTERN OSRCoordinateTransformationShadow *OSRCoordinateTransformationShadow_GetInverse(OSRCoordinateTransformationShadow *self){
    1058           0 :     return OCTGetInverse(self);
    1059             :   }
    1060           1 : SWIGINTERN void OSRCoordinateTransformationShadow_TransformPoint__SWIG_0(OSRCoordinateTransformationShadow *self,double inout[3]){
    1061             : 
    1062           1 :     if (self == NULL)
    1063           0 :         return;
    1064           1 :     OCTTransform( self, 1, &inout[0], &inout[1], &inout[2] );
    1065             :   }
    1066           1 : SWIGINTERN void OSRCoordinateTransformationShadow_TransformPoint__SWIG_2(OSRCoordinateTransformationShadow *self,double argout[3],double x,double y,double z=0.0){
    1067           1 :     if (self == NULL)
    1068           0 :         return;
    1069           1 :     argout[0] = x;
    1070           1 :     argout[1] = y;
    1071           1 :     argout[2] = z;
    1072           1 :     OCTTransform( self, 1, &argout[0], &argout[1], &argout[2] );
    1073             :   }
    1074           0 : SWIGINTERN void OSRCoordinateTransformationShadow_TransformPoint__SWIG_3(OSRCoordinateTransformationShadow *self,double argout[4],double x,double y,double z,double t){
    1075           0 :     if (self == NULL)
    1076           0 :         return;
    1077           0 :     argout[0] = x;
    1078           0 :     argout[1] = y;
    1079           0 :     argout[2] = z;
    1080           0 :     argout[3] = t;
    1081           0 :     OCTTransform4D( self, 1, &argout[0], &argout[1], &argout[2], &argout[3], NULL );
    1082             :   }
    1083           0 : SWIGINTERN int OSRCoordinateTransformationShadow_TransformPointWithErrorCode(OSRCoordinateTransformationShadow *self,double argout[4],double x,double y,double z,double t){
    1084           0 :     if (self == NULL)
    1085           0 :         return -1;
    1086           0 :     argout[0] = x;
    1087           0 :     argout[1] = y;
    1088           0 :     argout[2] = z;
    1089           0 :     argout[3] = t;
    1090           0 :     int errorCode = 0;
    1091           0 :     OCTTransform4DWithErrorCodes( self, 1, &argout[0], &argout[1], &argout[2], &argout[3], &errorCode );
    1092           0 :     return errorCode;
    1093             :   }
    1094           0 : SWIGINTERN void OSRCoordinateTransformationShadow_TransformPoints(OSRCoordinateTransformationShadow *self,int nCount,double *x,double *y,double *z){
    1095           0 :     if (self == NULL)
    1096           0 :         return;
    1097           0 :     OCTTransform( self, nCount, x, y, z );
    1098             :   }
    1099           0 : SWIGINTERN void OSRCoordinateTransformationShadow_TransformBounds(OSRCoordinateTransformationShadow *self,double argout[4],double minx,double miny,double maxx,double maxy,int densify_pts){
    1100           0 :     argout[0] = HUGE_VAL;
    1101           0 :     argout[1] = HUGE_VAL;
    1102           0 :     argout[2] = HUGE_VAL;
    1103           0 :     argout[3] = HUGE_VAL;
    1104           0 :     if (self == NULL)
    1105           0 :         return;
    1106           0 :     OCTTransformBounds(
    1107             :         self,
    1108             :         minx, miny, maxx, maxy,
    1109             :         &argout[0], &argout[1], &argout[2], &argout[3],
    1110             :         densify_pts
    1111             :     );
    1112             : }
    1113             : 
    1114           0 :   OSRCoordinateTransformationShadow *CreateCoordinateTransformation( OSRSpatialReferenceShadow *src, OSRSpatialReferenceShadow *dst, OGRCoordinateTransformationOptions* options = NULL ) {
    1115             :     return (OSRCoordinateTransformationShadow*)
    1116           0 :         options ? OCTNewCoordinateTransformationEx( src, dst, options ) : OCTNewCoordinateTransformation(src, dst);
    1117             : }
    1118             : 
    1119           0 : SWIGINTERN OSRCRSInfo *new_OSRCRSInfo(char const *auth_name,char const *code,char const *name,OSRCRSType type,bool deprecated,bool bbox_valid,double west_lon_degree,double south_lat_degree,double east_lon_degree,double north_lat_degree,char const *area_name,char const *projection_method){
    1120           0 :     OSRCRSInfo *self = (OSRCRSInfo*) CPLMalloc( sizeof( OSRCRSInfo ) );
    1121           0 :     self->pszAuthName = auth_name ? CPLStrdup(auth_name) : NULL;
    1122           0 :     self->pszCode = code ? CPLStrdup(code) : NULL;
    1123           0 :     self->pszName = name ? CPLStrdup(name) : NULL;
    1124           0 :     self->eType = type;
    1125           0 :     self->bDeprecated = deprecated;
    1126           0 :     self->bBboxValid = bbox_valid;
    1127           0 :     self->dfWestLongitudeDeg = west_lon_degree;
    1128           0 :     self->dfSouthLatitudeDeg = south_lat_degree;
    1129           0 :     self->dfEastLongitudeDeg = east_lon_degree;
    1130           0 :     self->dfNorthLatitudeDeg = north_lat_degree;
    1131           0 :     self->pszAreaName = area_name ? CPLStrdup(area_name) : NULL;
    1132           0 :     self->pszProjectionMethod = projection_method ? CPLStrdup(projection_method) : NULL;
    1133           0 :     return self;
    1134             :   }
    1135           0 : SWIGINTERN void delete_OSRCRSInfo(OSRCRSInfo *self){
    1136           0 :     CPLFree( self->pszAuthName );
    1137           0 :     CPLFree( self->pszCode );
    1138           0 :     CPLFree( self->pszName );
    1139           0 :     CPLFree( self->pszAreaName );
    1140           0 :     CPLFree( self->pszProjectionMethod );
    1141           0 :     CPLFree( self );
    1142           0 :   }
    1143             : 
    1144             : 
    1145          20 : const char* OSRCRSInfo_auth_name_get( OSRCRSInfo *crsInfo ) {
    1146          20 :   return crsInfo->pszAuthName;
    1147             : }
    1148             : 
    1149          20 : const char* OSRCRSInfo_code_get( OSRCRSInfo *crsInfo ) {
    1150          20 :   return crsInfo->pszCode;
    1151             : }
    1152             : 
    1153          20 : const char* OSRCRSInfo_name_get( OSRCRSInfo *crsInfo ) {
    1154          20 :   return crsInfo->pszName;
    1155             : }
    1156             : 
    1157          20 : OSRCRSType OSRCRSInfo_type_get( OSRCRSInfo *crsInfo ) {
    1158          20 :   return crsInfo->eType;
    1159             : }
    1160             : 
    1161          20 : bool OSRCRSInfo_deprecated_get( OSRCRSInfo *crsInfo ) {
    1162          20 :   return crsInfo->bDeprecated;
    1163             : }
    1164             : 
    1165          20 : bool OSRCRSInfo_bbox_valid_get( OSRCRSInfo *crsInfo ) {
    1166          20 :   return crsInfo->bBboxValid;
    1167             : }
    1168             : 
    1169          20 : double OSRCRSInfo_west_lon_degree_get( OSRCRSInfo *crsInfo ) {
    1170          20 :   return crsInfo->dfWestLongitudeDeg;
    1171             : }
    1172             : 
    1173          20 : double OSRCRSInfo_south_lat_degree_get( OSRCRSInfo *crsInfo ) {
    1174          20 :   return crsInfo->dfSouthLatitudeDeg;
    1175             : }
    1176             : 
    1177          20 : double OSRCRSInfo_east_lon_degree_get( OSRCRSInfo *crsInfo ) {
    1178          20 :   return crsInfo->dfEastLongitudeDeg;
    1179             : }
    1180             : 
    1181          20 : double OSRCRSInfo_north_lat_degree_get( OSRCRSInfo *crsInfo ) {
    1182          20 :   return crsInfo->dfNorthLatitudeDeg;
    1183             : }
    1184             : 
    1185          20 : const char* OSRCRSInfo_area_name_get( OSRCRSInfo *crsInfo ) {
    1186          20 :   return crsInfo->pszAreaName;
    1187             : }
    1188             : 
    1189          20 : const char* OSRCRSInfo_projection_method_get( OSRCRSInfo *crsInfo ) {
    1190          20 :   return crsInfo->pszProjectionMethod;
    1191             : }
    1192             : 
    1193             : 
    1194             : 
    1195           0 : void SetPROJSearchPath( const char *utf8_path )
    1196             : {
    1197           0 :     const char* const apszPaths[2] = { utf8_path, NULL };
    1198           0 :     OSRSetPROJSearchPaths(apszPaths);
    1199           0 : }
    1200             : 
    1201             : 
    1202           0 : void SetPROJSearchPaths( char** paths )
    1203             : {
    1204           0 :     OSRSetPROJSearchPaths(paths);
    1205           0 : }
    1206             : 
    1207             : 
    1208           0 : char** GetPROJSearchPaths()
    1209             : {
    1210           0 :     return OSRGetPROJSearchPaths();
    1211             : }
    1212             : 
    1213             : 
    1214           0 : int GetPROJVersionMajor()
    1215             : {
    1216             :     int num;
    1217           0 :     OSRGetPROJVersion(&num, NULL, NULL);
    1218           0 :     return num;
    1219             : }
    1220             : 
    1221           0 : int GetPROJVersionMinor()
    1222             : {
    1223             :     int num;
    1224           0 :     OSRGetPROJVersion(NULL, &num, NULL);
    1225           0 :     return num;
    1226             : }
    1227             : 
    1228           0 : int GetPROJVersionMicro()
    1229             : {
    1230             :     int num;
    1231           0 :     OSRGetPROJVersion(NULL, NULL, &num);
    1232           0 :     return num;
    1233             : }
    1234             : 
    1235           0 : bool GetPROJEnableNetwork()
    1236             : {
    1237           0 :     return OSRGetPROJEnableNetwork();
    1238             : }
    1239             : 
    1240           0 : void SetPROJEnableNetwork(bool enabled)
    1241             : {
    1242           0 :     OSRSetPROJEnableNetwork(enabled);
    1243           0 : }
    1244             : 
    1245             : 
    1246           0 : void SetPROJAuxDbPath( const char *utf8_path )
    1247             : {
    1248           0 :     const char* const apszPaths[2] = { utf8_path, NULL };
    1249           0 :     OSRSetPROJAuxDbPaths(apszPaths);
    1250           0 : }
    1251             : 
    1252             : 
    1253           0 : void SetPROJAuxDbPaths( char** paths )
    1254             : {
    1255           0 :     OSRSetPROJAuxDbPaths(paths);
    1256           0 : }
    1257             : 
    1258             : 
    1259           0 : char** GetPROJAuxDbPaths()
    1260             : {
    1261           0 :     return OSRGetPROJAuxDbPaths();
    1262             : }
    1263             : 
    1264             : 
    1265             : #ifdef __cplusplus
    1266             : extern "C" {
    1267             : #endif
    1268             : 
    1269           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_UseExceptions___() {
    1270           0 :   UseExceptions();
    1271           0 : }
    1272             : 
    1273             : 
    1274           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_DontUseExceptions___() {
    1275           0 :   DontUseExceptions();
    1276           0 : }
    1277             : 
    1278             : 
    1279           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_StringListDestroy___(void * jarg1) {
    1280           0 :   void *arg1 = (void *) 0 ;
    1281             :   
    1282           0 :   arg1 = (void *)jarg1; 
    1283             :   {
    1284           0 :     CPLErrorReset();
    1285           0 :     StringListDestroy(arg1);
    1286           0 :     CPLErr eclass = CPLGetLastErrorType();
    1287           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1288           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1289             :       
    1290             :       
    1291             :       
    1292             :     }
    1293             :   }
    1294           0 : }
    1295             : 
    1296             : 
    1297          20 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_CRSInfoList_get___(void * jarg1, int jarg2) {
    1298             :   void * jresult ;
    1299          20 :   OSRCRSInfoList *arg1 = (OSRCRSInfoList *) 0 ;
    1300             :   int arg2 ;
    1301          20 :   OSRCRSInfo *result = 0 ;
    1302             :   
    1303          20 :   arg1 = (OSRCRSInfoList *)jarg1; 
    1304          20 :   arg2 = (int)jarg2; 
    1305             :   {
    1306          20 :     CPLErrorReset();
    1307          20 :     result = (OSRCRSInfo *)OSRCRSInfoList_get(arg1,arg2);
    1308          20 :     CPLErr eclass = CPLGetLastErrorType();
    1309          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1310           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1311             :       
    1312             :       
    1313             :       
    1314             :     }
    1315             :   }
    1316          20 :   jresult = (void *)result; 
    1317          20 :   return jresult;
    1318             : }
    1319             : 
    1320             : 
    1321           1 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_delete_CRSInfoList___(void * jarg1) {
    1322           1 :   OSRCRSInfoList *arg1 = (OSRCRSInfoList *) 0 ;
    1323             :   
    1324           1 :   arg1 = (OSRCRSInfoList *)jarg1; 
    1325             :   {
    1326           1 :     CPLErrorReset();
    1327           1 :     delete_OSRCRSInfoList(arg1);
    1328           1 :     CPLErr eclass = CPLGetLastErrorType();
    1329           1 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1330           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1331             :       
    1332             :       
    1333             :       
    1334             :     }
    1335             :   }
    1336           1 : }
    1337             : 
    1338             : 
    1339           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_new_CRSInfoList___() {
    1340             :   void * jresult ;
    1341           0 :   OSRCRSInfoList *result = 0 ;
    1342             :   
    1343             :   {
    1344           0 :     CPLErrorReset();
    1345           0 :     result = (OSRCRSInfoList *)new OSRCRSInfoList();
    1346           0 :     CPLErr eclass = CPLGetLastErrorType();
    1347           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1348           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1349             :       
    1350             :       
    1351             :       
    1352             :     }
    1353             :   }
    1354           0 :   jresult = (void *)result; 
    1355           0 :   return jresult;
    1356             : }
    1357             : 
    1358             : 
    1359           1 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_GetCRSInfoListFromDatabase___(char * jarg1, void * jarg2) {
    1360             :   void * jresult ;
    1361           1 :   char *arg1 = (char *) 0 ;
    1362           1 :   int *arg2 = (int *) 0 ;
    1363           1 :   OSRCRSInfoList *result = 0 ;
    1364             :   
    1365           1 :   arg1 = (char *)jarg1; 
    1366             :   {
    1367             :     /* %typemap(in) (int *hasval) */
    1368           1 :     arg2 = (int *)jarg2;
    1369             :   }
    1370             :   {
    1371           1 :     CPLErrorReset();
    1372           1 :     result = (OSRCRSInfoList *)GetCRSInfoListFromDatabase(arg1,arg2);
    1373           1 :     CPLErr eclass = CPLGetLastErrorType();
    1374           1 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1375           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1376             :       
    1377             :       
    1378             :       
    1379             :     }
    1380             :   }
    1381           1 :   jresult = (void *)result; 
    1382           1 :   return jresult;
    1383             : }
    1384             : 
    1385             : 
    1386           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_GetWellKnownGeogCSAsWKT___(char * jarg1, void * jarg2) {
    1387             :   int jresult ;
    1388           0 :   char *arg1 = (char *) 0 ;
    1389           0 :   char **arg2 = (char **) 0 ;
    1390             :   OGRErr result;
    1391             :   
    1392           0 :   arg1 = (char *)jarg1; 
    1393             :   {
    1394             :     /* %typemap(in) (char **argout) */
    1395           0 :     arg2 = (char **)jarg2;
    1396             :   }
    1397             :   {
    1398           0 :     if (!arg1) {
    1399             :       {
    1400           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1401             :       };
    1402             :     }
    1403             :   }
    1404             :   {
    1405           0 :     CPLErrorReset();
    1406           0 :     result = (OGRErr)GetWellKnownGeogCSAsWKT((char const *)arg1,arg2);
    1407           0 :     CPLErr eclass = CPLGetLastErrorType();
    1408           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1409           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1410             :       
    1411             :       
    1412             :       
    1413             :     }
    1414             :   }
    1415             :   {
    1416             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    1417           0 :     jresult = result;
    1418             :   }
    1419             :   {
    1420             :     /* %typemap(argout) (char **argout) */
    1421             :     char* temp_string;
    1422           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    1423           0 :     if (*arg2)
    1424           0 :     CPLFree(*arg2);
    1425           0 :     *arg2 = temp_string;
    1426             :   }
    1427             :   {
    1428             :     /* %typemap(ret) OGRErr */
    1429             :     
    1430             :   }
    1431           0 :   return jresult;
    1432             : }
    1433             : 
    1434             : 
    1435           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_GetUserInputAsWKT___(char * jarg1, void * jarg2) {
    1436             :   int jresult ;
    1437           0 :   char *arg1 = (char *) 0 ;
    1438           0 :   char **arg2 = (char **) 0 ;
    1439             :   OGRErr result;
    1440             :   
    1441           0 :   arg1 = (char *)jarg1; 
    1442             :   {
    1443             :     /* %typemap(in) (char **argout) */
    1444           0 :     arg2 = (char **)jarg2;
    1445             :   }
    1446             :   {
    1447           0 :     if (!arg1) {
    1448             :       {
    1449           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1450             :       };
    1451             :     }
    1452             :   }
    1453             :   {
    1454           0 :     CPLErrorReset();
    1455           0 :     result = (OGRErr)GetUserInputAsWKT((char const *)arg1,arg2);
    1456           0 :     CPLErr eclass = CPLGetLastErrorType();
    1457           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1458           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1459             :       
    1460             :       
    1461             :       
    1462             :     }
    1463             :   }
    1464             :   {
    1465             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    1466           0 :     jresult = result;
    1467             :   }
    1468             :   {
    1469             :     /* %typemap(argout) (char **argout) */
    1470             :     char* temp_string;
    1471           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    1472           0 :     if (*arg2)
    1473           0 :     CPLFree(*arg2);
    1474           0 :     *arg2 = temp_string;
    1475             :   }
    1476             :   {
    1477             :     /* %typemap(ret) OGRErr */
    1478             :     
    1479             :   }
    1480           0 :   return jresult;
    1481             : }
    1482             : 
    1483             : 
    1484           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_AreaOfUse_west_lon_degree_get___(void * jarg1) {
    1485             :   double jresult ;
    1486           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1487             :   double result;
    1488             :   
    1489           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1490             :   {
    1491           0 :     CPLErrorReset();
    1492           0 :     result = (double)OSRAreaOfUse_west_lon_degree_get(arg1);
    1493           0 :     CPLErr eclass = CPLGetLastErrorType();
    1494           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1495           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1496             :       
    1497             :       
    1498             :       
    1499             :     }
    1500             :   }
    1501           0 :   jresult = result; 
    1502           0 :   return jresult;
    1503             : }
    1504             : 
    1505             : 
    1506           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_AreaOfUse_south_lat_degree_get___(void * jarg1) {
    1507             :   double jresult ;
    1508           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1509             :   double result;
    1510             :   
    1511           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1512             :   {
    1513           0 :     CPLErrorReset();
    1514           0 :     result = (double)OSRAreaOfUse_south_lat_degree_get(arg1);
    1515           0 :     CPLErr eclass = CPLGetLastErrorType();
    1516           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1517           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1518             :       
    1519             :       
    1520             :       
    1521             :     }
    1522             :   }
    1523           0 :   jresult = result; 
    1524           0 :   return jresult;
    1525             : }
    1526             : 
    1527             : 
    1528           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_AreaOfUse_east_lon_degree_get___(void * jarg1) {
    1529             :   double jresult ;
    1530           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1531             :   double result;
    1532             :   
    1533           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1534             :   {
    1535           0 :     CPLErrorReset();
    1536           0 :     result = (double)OSRAreaOfUse_east_lon_degree_get(arg1);
    1537           0 :     CPLErr eclass = CPLGetLastErrorType();
    1538           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1539           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1540             :       
    1541             :       
    1542             :       
    1543             :     }
    1544             :   }
    1545           0 :   jresult = result; 
    1546           0 :   return jresult;
    1547             : }
    1548             : 
    1549             : 
    1550           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_AreaOfUse_north_lat_degree_get___(void * jarg1) {
    1551             :   double jresult ;
    1552           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1553             :   double result;
    1554             :   
    1555           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1556             :   {
    1557           0 :     CPLErrorReset();
    1558           0 :     result = (double)OSRAreaOfUse_north_lat_degree_get(arg1);
    1559           0 :     CPLErr eclass = CPLGetLastErrorType();
    1560           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1561           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1562             :       
    1563             :       
    1564             :       
    1565             :     }
    1566             :   }
    1567           0 :   jresult = result; 
    1568           0 :   return jresult;
    1569             : }
    1570             : 
    1571             : 
    1572           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_AreaOfUse_name_get___(void * jarg1) {
    1573             :   char * jresult ;
    1574           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1575           0 :   char *result = 0 ;
    1576             :   
    1577           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1578             :   {
    1579           0 :     CPLErrorReset();
    1580           0 :     result = (char *)OSRAreaOfUse_name_get(arg1);
    1581           0 :     CPLErr eclass = CPLGetLastErrorType();
    1582           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1583           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1584             :       
    1585             :       
    1586             :       
    1587             :     }
    1588             :   }
    1589           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    1590           0 :   return jresult;
    1591             : }
    1592             : 
    1593             : 
    1594           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_new_AreaOfUse___(double jarg1, double jarg2, double jarg3, double jarg4, char * jarg5) {
    1595             :   void * jresult ;
    1596             :   double arg1 ;
    1597             :   double arg2 ;
    1598             :   double arg3 ;
    1599             :   double arg4 ;
    1600           0 :   char *arg5 = (char *) 0 ;
    1601           0 :   OSRAreaOfUse *result = 0 ;
    1602             :   
    1603           0 :   arg1 = (double)jarg1; 
    1604           0 :   arg2 = (double)jarg2; 
    1605           0 :   arg3 = (double)jarg3; 
    1606           0 :   arg4 = (double)jarg4; 
    1607           0 :   arg5 = (char *)jarg5; 
    1608             :   {
    1609           0 :     CPLErrorReset();
    1610           0 :     result = (OSRAreaOfUse *)new_OSRAreaOfUse(arg1,arg2,arg3,arg4,arg5);
    1611           0 :     CPLErr eclass = CPLGetLastErrorType();
    1612           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1613           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1614             :       
    1615             :       
    1616             :       
    1617             :     }
    1618             :   }
    1619           0 :   jresult = (void *)result; 
    1620           0 :   return jresult;
    1621             : }
    1622             : 
    1623             : 
    1624           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_delete_AreaOfUse___(void * jarg1) {
    1625           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1626             :   
    1627           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1628             :   {
    1629           0 :     CPLErrorReset();
    1630           0 :     delete_OSRAreaOfUse(arg1);
    1631           0 :     CPLErr eclass = CPLGetLastErrorType();
    1632           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1633           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1634             :       
    1635             :       
    1636             :       
    1637             :     }
    1638             :   }
    1639           0 : }
    1640             : 
    1641             : 
    1642           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_OSRAreaOfUse_west_lon_degree_get___(void * jarg1) {
    1643             :   double jresult ;
    1644           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1645             :   double result;
    1646             :   
    1647           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1648             :   {
    1649           0 :     if (!arg1) {
    1650             :       {
    1651           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1652             :       };
    1653             :     }
    1654             :   }
    1655             :   {
    1656           0 :     CPLErrorReset();
    1657           0 :     result = (double)OSRAreaOfUse_west_lon_degree_get(arg1);
    1658           0 :     CPLErr eclass = CPLGetLastErrorType();
    1659           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1660           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1661             :       
    1662             :       
    1663             :       
    1664             :     }
    1665             :   }
    1666           0 :   jresult = result; 
    1667           0 :   return jresult;
    1668             : }
    1669             : 
    1670             : 
    1671           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_OSRAreaOfUse_south_lat_degree_get___(void * jarg1) {
    1672             :   double jresult ;
    1673           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1674             :   double result;
    1675             :   
    1676           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1677             :   {
    1678           0 :     if (!arg1) {
    1679             :       {
    1680           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1681             :       };
    1682             :     }
    1683             :   }
    1684             :   {
    1685           0 :     CPLErrorReset();
    1686           0 :     result = (double)OSRAreaOfUse_south_lat_degree_get(arg1);
    1687           0 :     CPLErr eclass = CPLGetLastErrorType();
    1688           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1689           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1690             :       
    1691             :       
    1692             :       
    1693             :     }
    1694             :   }
    1695           0 :   jresult = result; 
    1696           0 :   return jresult;
    1697             : }
    1698             : 
    1699             : 
    1700           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_OSRAreaOfUse_east_lon_degree_get___(void * jarg1) {
    1701             :   double jresult ;
    1702           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1703             :   double result;
    1704             :   
    1705           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1706             :   {
    1707           0 :     if (!arg1) {
    1708             :       {
    1709           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1710             :       };
    1711             :     }
    1712             :   }
    1713             :   {
    1714           0 :     CPLErrorReset();
    1715           0 :     result = (double)OSRAreaOfUse_east_lon_degree_get(arg1);
    1716           0 :     CPLErr eclass = CPLGetLastErrorType();
    1717           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1718           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1719             :       
    1720             :       
    1721             :       
    1722             :     }
    1723             :   }
    1724           0 :   jresult = result; 
    1725           0 :   return jresult;
    1726             : }
    1727             : 
    1728             : 
    1729           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_OSRAreaOfUse_north_lat_degree_get___(void * jarg1) {
    1730             :   double jresult ;
    1731           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1732             :   double result;
    1733             :   
    1734           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1735             :   {
    1736           0 :     if (!arg1) {
    1737             :       {
    1738           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1739             :       };
    1740             :     }
    1741             :   }
    1742             :   {
    1743           0 :     CPLErrorReset();
    1744           0 :     result = (double)OSRAreaOfUse_north_lat_degree_get(arg1);
    1745           0 :     CPLErr eclass = CPLGetLastErrorType();
    1746           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1747           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1748             :       
    1749             :       
    1750             :       
    1751             :     }
    1752             :   }
    1753           0 :   jresult = result; 
    1754           0 :   return jresult;
    1755             : }
    1756             : 
    1757             : 
    1758           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_OSRAreaOfUse_name_get___(void * jarg1) {
    1759             :   char * jresult ;
    1760           0 :   OSRAreaOfUse *arg1 = (OSRAreaOfUse *) 0 ;
    1761           0 :   char *result = 0 ;
    1762             :   
    1763           0 :   arg1 = (OSRAreaOfUse *)jarg1; 
    1764             :   {
    1765           0 :     if (!arg1) {
    1766             :       {
    1767           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1768             :       };
    1769             :     }
    1770             :   }
    1771             :   {
    1772           0 :     CPLErrorReset();
    1773           0 :     result = (char *)OSRAreaOfUse_name_get(arg1);
    1774           0 :     CPLErr eclass = CPLGetLastErrorType();
    1775           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1776           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1777             :       
    1778             :       
    1779             :       
    1780             :     }
    1781             :   }
    1782           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    1783           0 :   return jresult;
    1784             : }
    1785             : 
    1786             : 
    1787           3 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_new_SpatialReference___(char * jarg1) {
    1788             :   void * jresult ;
    1789           3 :   char *arg1 = (char *) "" ;
    1790           3 :   OSRSpatialReferenceShadow *result = 0 ;
    1791             :   
    1792           3 :   arg1 = (char *)jarg1; 
    1793             :   {
    1794           3 :     CPLErrorReset();
    1795           3 :     result = (OSRSpatialReferenceShadow *)new_OSRSpatialReferenceShadow((char const *)arg1);
    1796           3 :     CPLErr eclass = CPLGetLastErrorType();
    1797           3 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1798           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1799             :       
    1800             :       
    1801             :       
    1802             :     }
    1803             :   }
    1804           3 :   jresult = (void *)result; 
    1805           3 :   return jresult;
    1806             : }
    1807             : 
    1808             : 
    1809           3 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_delete_SpatialReference___(void * jarg1) {
    1810           3 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    1811             :   
    1812           3 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    1813             :   {
    1814           3 :     CPLErrorReset();
    1815           3 :     delete_OSRSpatialReferenceShadow(arg1);
    1816           3 :     CPLErr eclass = CPLGetLastErrorType();
    1817           3 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1818           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1819             :       
    1820             :       
    1821             :       
    1822             :     }
    1823             :   }
    1824           3 : }
    1825             : 
    1826             : 
    1827           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference___str_____(void * jarg1) {
    1828             :   char * jresult ;
    1829           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    1830           0 :   retStringAndCPLFree *result = 0 ;
    1831             :   
    1832           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    1833             :   {
    1834           0 :     CPLErrorReset();
    1835           0 :     result = (retStringAndCPLFree *)OSRSpatialReferenceShadow___str__(arg1);
    1836           0 :     CPLErr eclass = CPLGetLastErrorType();
    1837           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1838           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1839             :       
    1840             :       
    1841             :       
    1842             :     }
    1843             :   }
    1844             :   
    1845             :   /* %typemap(out) (retStringAndCPLFree*) */
    1846           0 :   if(result)
    1847             :   {
    1848           0 :     jresult = SWIG_csharp_string_callback((const char *)result);
    1849           0 :     CPLFree(result);
    1850             :   }
    1851             :   else
    1852             :   {
    1853           0 :     jresult = NULL;
    1854             :   }
    1855             :   
    1856           0 :   return jresult;
    1857             : }
    1858             : 
    1859             : 
    1860           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetName___(void * jarg1) {
    1861             :   char * jresult ;
    1862           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    1863           0 :   char *result = 0 ;
    1864             :   
    1865           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    1866             :   {
    1867           0 :     CPLErrorReset();
    1868           0 :     result = (char *)OSRSpatialReferenceShadow_GetName(arg1);
    1869           0 :     CPLErr eclass = CPLGetLastErrorType();
    1870           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1871           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1872             :       
    1873             :       
    1874             :       
    1875             :     }
    1876             :   }
    1877           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    1878           0 :   return jresult;
    1879             : }
    1880             : 
    1881             : 
    1882           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsSame___(void * jarg1, void * jarg2, void * jarg3) {
    1883             :   int jresult ;
    1884           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    1885           0 :   OSRSpatialReferenceShadow *arg2 = (OSRSpatialReferenceShadow *) 0 ;
    1886           0 :   char **arg3 = (char **) NULL ;
    1887             :   int result;
    1888             :   
    1889           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    1890           0 :   arg2 = (OSRSpatialReferenceShadow *)jarg2; 
    1891           0 :   arg3 = (char **)jarg3; 
    1892             :   {
    1893           0 :     if (!arg2) {
    1894             :       {
    1895           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1896             :       };
    1897             :     }
    1898             :   }
    1899             :   {
    1900           0 :     CPLErrorReset();
    1901           0 :     result = (int)OSRSpatialReferenceShadow_IsSame(arg1,arg2,arg3);
    1902           0 :     CPLErr eclass = CPLGetLastErrorType();
    1903           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1904           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1905             :       
    1906             :       
    1907             :       
    1908             :     }
    1909             :   }
    1910           0 :   jresult = result; 
    1911           0 :   return jresult;
    1912             : }
    1913             : 
    1914             : 
    1915           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsSameGeogCS___(void * jarg1, void * jarg2) {
    1916             :   int jresult ;
    1917           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    1918           0 :   OSRSpatialReferenceShadow *arg2 = (OSRSpatialReferenceShadow *) 0 ;
    1919             :   int result;
    1920             :   
    1921           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    1922           0 :   arg2 = (OSRSpatialReferenceShadow *)jarg2; 
    1923             :   {
    1924           0 :     if (!arg2) {
    1925             :       {
    1926           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1927             :       };
    1928             :     }
    1929             :   }
    1930             :   {
    1931           0 :     CPLErrorReset();
    1932           0 :     result = (int)OSRSpatialReferenceShadow_IsSameGeogCS(arg1,arg2);
    1933           0 :     CPLErr eclass = CPLGetLastErrorType();
    1934           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1935           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1936             :       
    1937             :       
    1938             :       
    1939             :     }
    1940             :   }
    1941           0 :   jresult = result; 
    1942           0 :   return jresult;
    1943             : }
    1944             : 
    1945             : 
    1946           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsSameVertCS___(void * jarg1, void * jarg2) {
    1947             :   int jresult ;
    1948           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    1949           0 :   OSRSpatialReferenceShadow *arg2 = (OSRSpatialReferenceShadow *) 0 ;
    1950             :   int result;
    1951             :   
    1952           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    1953           0 :   arg2 = (OSRSpatialReferenceShadow *)jarg2; 
    1954             :   {
    1955           0 :     if (!arg2) {
    1956             :       {
    1957           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    1958             :       };
    1959             :     }
    1960             :   }
    1961             :   {
    1962           0 :     CPLErrorReset();
    1963           0 :     result = (int)OSRSpatialReferenceShadow_IsSameVertCS(arg1,arg2);
    1964           0 :     CPLErr eclass = CPLGetLastErrorType();
    1965           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1966           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1967             :       
    1968             :       
    1969             :       
    1970             :     }
    1971             :   }
    1972           0 :   jresult = result; 
    1973           0 :   return jresult;
    1974             : }
    1975             : 
    1976             : 
    1977           2 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsGeographic___(void * jarg1) {
    1978             :   int jresult ;
    1979           2 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    1980             :   int result;
    1981             :   
    1982           2 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    1983             :   {
    1984           2 :     CPLErrorReset();
    1985           2 :     result = (int)OSRSpatialReferenceShadow_IsGeographic(arg1);
    1986           2 :     CPLErr eclass = CPLGetLastErrorType();
    1987           2 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    1988           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    1989             :       
    1990             :       
    1991             :       
    1992             :     }
    1993             :   }
    1994           2 :   jresult = result; 
    1995           2 :   return jresult;
    1996             : }
    1997             : 
    1998             : 
    1999           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsDerivedGeographic___(void * jarg1) {
    2000             :   int jresult ;
    2001           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2002             :   int result;
    2003             :   
    2004           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2005             :   {
    2006           0 :     CPLErrorReset();
    2007           0 :     result = (int)OSRSpatialReferenceShadow_IsDerivedGeographic(arg1);
    2008           0 :     CPLErr eclass = CPLGetLastErrorType();
    2009           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2010           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2011             :       
    2012             :       
    2013             :       
    2014             :     }
    2015             :   }
    2016           0 :   jresult = result; 
    2017           0 :   return jresult;
    2018             : }
    2019             : 
    2020             : 
    2021           2 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsProjected___(void * jarg1) {
    2022             :   int jresult ;
    2023           2 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2024             :   int result;
    2025             :   
    2026           2 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2027             :   {
    2028           2 :     CPLErrorReset();
    2029           2 :     result = (int)OSRSpatialReferenceShadow_IsProjected(arg1);
    2030           2 :     CPLErr eclass = CPLGetLastErrorType();
    2031           2 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2032           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2033             :       
    2034             :       
    2035             :       
    2036             :     }
    2037             :   }
    2038           2 :   jresult = result; 
    2039           2 :   return jresult;
    2040             : }
    2041             : 
    2042             : 
    2043           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsDerivedProjected___(void * jarg1) {
    2044             :   int jresult ;
    2045           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2046             :   int result;
    2047             :   
    2048           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2049             :   {
    2050           0 :     CPLErrorReset();
    2051           0 :     result = (int)OSRSpatialReferenceShadow_IsDerivedProjected(arg1);
    2052           0 :     CPLErr eclass = CPLGetLastErrorType();
    2053           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2054           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2055             :       
    2056             :       
    2057             :       
    2058             :     }
    2059             :   }
    2060           0 :   jresult = result; 
    2061           0 :   return jresult;
    2062             : }
    2063             : 
    2064             : 
    2065           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsCompound___(void * jarg1) {
    2066             :   int jresult ;
    2067           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2068             :   int result;
    2069             :   
    2070           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2071             :   {
    2072           0 :     CPLErrorReset();
    2073           0 :     result = (int)OSRSpatialReferenceShadow_IsCompound(arg1);
    2074           0 :     CPLErr eclass = CPLGetLastErrorType();
    2075           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2076           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2077             :       
    2078             :       
    2079             :       
    2080             :     }
    2081             :   }
    2082           0 :   jresult = result; 
    2083           0 :   return jresult;
    2084             : }
    2085             : 
    2086             : 
    2087           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsGeocentric___(void * jarg1) {
    2088             :   int jresult ;
    2089           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2090             :   int result;
    2091             :   
    2092           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2093             :   {
    2094           0 :     CPLErrorReset();
    2095           0 :     result = (int)OSRSpatialReferenceShadow_IsGeocentric(arg1);
    2096           0 :     CPLErr eclass = CPLGetLastErrorType();
    2097           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2098           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2099             :       
    2100             :       
    2101             :       
    2102             :     }
    2103             :   }
    2104           0 :   jresult = result; 
    2105           0 :   return jresult;
    2106             : }
    2107             : 
    2108             : 
    2109           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsLocal___(void * jarg1) {
    2110             :   int jresult ;
    2111           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2112             :   int result;
    2113             :   
    2114           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2115             :   {
    2116           0 :     CPLErrorReset();
    2117           0 :     result = (int)OSRSpatialReferenceShadow_IsLocal(arg1);
    2118           0 :     CPLErr eclass = CPLGetLastErrorType();
    2119           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2120           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2121             :       
    2122             :       
    2123             :       
    2124             :     }
    2125             :   }
    2126           0 :   jresult = result; 
    2127           0 :   return jresult;
    2128             : }
    2129             : 
    2130             : 
    2131           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsVertical___(void * jarg1) {
    2132             :   int jresult ;
    2133           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2134             :   int result;
    2135             :   
    2136           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2137             :   {
    2138           0 :     CPLErrorReset();
    2139           0 :     result = (int)OSRSpatialReferenceShadow_IsVertical(arg1);
    2140           0 :     CPLErr eclass = CPLGetLastErrorType();
    2141           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2142           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2143             :       
    2144             :       
    2145             :       
    2146             :     }
    2147             :   }
    2148           0 :   jresult = result; 
    2149           0 :   return jresult;
    2150             : }
    2151             : 
    2152             : 
    2153           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_IsDynamic___(void * jarg1) {
    2154             :   unsigned int jresult ;
    2155           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2156             :   bool result;
    2157             :   
    2158           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2159             :   {
    2160           0 :     CPLErrorReset();
    2161           0 :     result = (bool)OSRSpatialReferenceShadow_IsDynamic(arg1);
    2162           0 :     CPLErr eclass = CPLGetLastErrorType();
    2163           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2164           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2165             :       
    2166             :       
    2167             :       
    2168             :     }
    2169             :   }
    2170           0 :   jresult = result; 
    2171           0 :   return jresult;
    2172             : }
    2173             : 
    2174             : 
    2175           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_HasPointMotionOperation___(void * jarg1) {
    2176             :   unsigned int jresult ;
    2177           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2178             :   bool result;
    2179             :   
    2180           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2181             :   {
    2182           0 :     CPLErrorReset();
    2183           0 :     result = (bool)OSRSpatialReferenceShadow_HasPointMotionOperation(arg1);
    2184           0 :     CPLErr eclass = CPLGetLastErrorType();
    2185           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2186           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2187             :       
    2188             :       
    2189             :       
    2190             :     }
    2191             :   }
    2192           0 :   jresult = result; 
    2193           0 :   return jresult;
    2194             : }
    2195             : 
    2196             : 
    2197           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetCoordinateEpoch___(void * jarg1) {
    2198             :   double jresult ;
    2199           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2200             :   double result;
    2201             :   
    2202           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2203             :   {
    2204           0 :     CPLErrorReset();
    2205           0 :     result = (double)OSRSpatialReferenceShadow_GetCoordinateEpoch(arg1);
    2206           0 :     CPLErr eclass = CPLGetLastErrorType();
    2207           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2208           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2209             :       
    2210             :       
    2211             :       
    2212             :     }
    2213             :   }
    2214           0 :   jresult = result; 
    2215           0 :   return jresult;
    2216             : }
    2217             : 
    2218             : 
    2219           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetCoordinateEpoch___(void * jarg1, double jarg2) {
    2220           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2221             :   double arg2 ;
    2222             :   
    2223           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2224           0 :   arg2 = (double)jarg2; 
    2225             :   {
    2226           0 :     CPLErrorReset();
    2227           0 :     OSRSpatialReferenceShadow_SetCoordinateEpoch(arg1,arg2);
    2228           0 :     CPLErr eclass = CPLGetLastErrorType();
    2229           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2230           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2231             :       
    2232             :       
    2233             :       
    2234             :     }
    2235             :   }
    2236           0 : }
    2237             : 
    2238             : 
    2239           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_EPSGTreatsAsLatLong___(void * jarg1) {
    2240             :   int jresult ;
    2241           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2242             :   int result;
    2243             :   
    2244           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2245             :   {
    2246           0 :     CPLErrorReset();
    2247           0 :     result = (int)OSRSpatialReferenceShadow_EPSGTreatsAsLatLong(arg1);
    2248           0 :     CPLErr eclass = CPLGetLastErrorType();
    2249           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2250           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2251             :       
    2252             :       
    2253             :       
    2254             :     }
    2255             :   }
    2256           0 :   jresult = result; 
    2257           0 :   return jresult;
    2258             : }
    2259             : 
    2260             : 
    2261           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_EPSGTreatsAsNorthingEasting___(void * jarg1) {
    2262             :   int jresult ;
    2263           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2264             :   int result;
    2265             :   
    2266           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2267             :   {
    2268           0 :     CPLErrorReset();
    2269           0 :     result = (int)OSRSpatialReferenceShadow_EPSGTreatsAsNorthingEasting(arg1);
    2270           0 :     CPLErr eclass = CPLGetLastErrorType();
    2271           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2272           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2273             :       
    2274             :       
    2275             :       
    2276             :     }
    2277             :   }
    2278           0 :   jresult = result; 
    2279           0 :   return jresult;
    2280             : }
    2281             : 
    2282             : 
    2283           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetAuthority___(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
    2284             :   int jresult ;
    2285           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2286           0 :   char *arg2 = (char *) 0 ;
    2287           0 :   char *arg3 = (char *) 0 ;
    2288             :   int arg4 ;
    2289             :   OGRErr result;
    2290             :   
    2291           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2292           0 :   arg2 = (char *)jarg2; 
    2293           0 :   arg3 = (char *)jarg3; 
    2294           0 :   arg4 = (int)jarg4; 
    2295             :   {
    2296           0 :     CPLErrorReset();
    2297           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetAuthority(arg1,(char const *)arg2,(char const *)arg3,arg4);
    2298           0 :     CPLErr eclass = CPLGetLastErrorType();
    2299           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2300           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2301             :       
    2302             :       
    2303             :       
    2304             :     }
    2305             :   }
    2306             :   {
    2307             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2308           0 :     jresult = result;
    2309             :   }
    2310             :   {
    2311             :     /* %typemap(ret) OGRErr */
    2312             :     
    2313             :   }
    2314           0 :   return jresult;
    2315             : }
    2316             : 
    2317             : 
    2318           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAttrValue___(void * jarg1, char * jarg2, int jarg3) {
    2319             :   char * jresult ;
    2320           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2321           0 :   char *arg2 = (char *) 0 ;
    2322           0 :   int arg3 = (int) 0 ;
    2323           0 :   char *result = 0 ;
    2324             :   
    2325           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2326           0 :   arg2 = (char *)jarg2; 
    2327           0 :   arg3 = (int)jarg3; 
    2328             :   {
    2329           0 :     if (!arg2) {
    2330             :       {
    2331           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    2332             :       };
    2333             :     }
    2334             :   }
    2335             :   {
    2336           0 :     CPLErrorReset();
    2337           0 :     result = (char *)OSRSpatialReferenceShadow_GetAttrValue(arg1,(char const *)arg2,arg3);
    2338           0 :     CPLErr eclass = CPLGetLastErrorType();
    2339           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2340           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2341             :       
    2342             :       
    2343             :       
    2344             :     }
    2345             :   }
    2346           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    2347           0 :   return jresult;
    2348             : }
    2349             : 
    2350             : 
    2351           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetAttrValue___(void * jarg1, char * jarg2, char * jarg3) {
    2352             :   int jresult ;
    2353           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2354           0 :   char *arg2 = (char *) 0 ;
    2355           0 :   char *arg3 = (char *) 0 ;
    2356             :   OGRErr result;
    2357             :   
    2358           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2359           0 :   arg2 = (char *)jarg2; 
    2360           0 :   arg3 = (char *)jarg3; 
    2361             :   {
    2362           0 :     if (!arg2) {
    2363             :       {
    2364           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    2365             :       };
    2366             :     }
    2367             :   }
    2368             :   {
    2369           0 :     CPLErrorReset();
    2370           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetAttrValue(arg1,(char const *)arg2,(char const *)arg3);
    2371           0 :     CPLErr eclass = CPLGetLastErrorType();
    2372           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2373           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2374             :       
    2375             :       
    2376             :       
    2377             :     }
    2378             :   }
    2379             :   {
    2380             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2381           0 :     jresult = result;
    2382             :   }
    2383             :   {
    2384             :     /* %typemap(ret) OGRErr */
    2385             :     
    2386             :   }
    2387           0 :   return jresult;
    2388             : }
    2389             : 
    2390             : 
    2391           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetAngularUnits___(void * jarg1, char * jarg2, double jarg3) {
    2392             :   int jresult ;
    2393           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2394           0 :   char *arg2 = (char *) 0 ;
    2395             :   double arg3 ;
    2396             :   OGRErr result;
    2397             :   
    2398           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2399           0 :   arg2 = (char *)jarg2; 
    2400           0 :   arg3 = (double)jarg3; 
    2401             :   {
    2402           0 :     if (!arg2) {
    2403             :       {
    2404           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    2405             :       };
    2406             :     }
    2407             :   }
    2408             :   {
    2409           0 :     CPLErrorReset();
    2410           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetAngularUnits(arg1,(char const *)arg2,arg3);
    2411           0 :     CPLErr eclass = CPLGetLastErrorType();
    2412           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2413           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2414             :       
    2415             :       
    2416             :       
    2417             :     }
    2418             :   }
    2419             :   {
    2420             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2421           0 :     jresult = result;
    2422             :   }
    2423             :   {
    2424             :     /* %typemap(ret) OGRErr */
    2425             :     
    2426             :   }
    2427           0 :   return jresult;
    2428             : }
    2429             : 
    2430             : 
    2431           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAngularUnits___(void * jarg1) {
    2432             :   double jresult ;
    2433           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2434             :   double result;
    2435             :   
    2436           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2437             :   {
    2438           0 :     CPLErrorReset();
    2439           0 :     result = (double)OSRSpatialReferenceShadow_GetAngularUnits(arg1);
    2440           0 :     CPLErr eclass = CPLGetLastErrorType();
    2441           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2442           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2443             :       
    2444             :       
    2445             :       
    2446             :     }
    2447             :   }
    2448           0 :   jresult = result; 
    2449           0 :   return jresult;
    2450             : }
    2451             : 
    2452             : 
    2453           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAngularUnitsName___(void * jarg1) {
    2454             :   char * jresult ;
    2455           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2456           0 :   char *result = 0 ;
    2457             :   
    2458           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2459             :   {
    2460           0 :     CPLErrorReset();
    2461           0 :     result = (char *)OSRSpatialReferenceShadow_GetAngularUnitsName(arg1);
    2462           0 :     CPLErr eclass = CPLGetLastErrorType();
    2463           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2464           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2465             :       
    2466             :       
    2467             :       
    2468             :     }
    2469             :   }
    2470           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    2471           0 :   return jresult;
    2472             : }
    2473             : 
    2474             : 
    2475           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetTargetLinearUnits___(void * jarg1, char * jarg2, char * jarg3, double jarg4) {
    2476             :   int jresult ;
    2477           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2478           0 :   char *arg2 = (char *) 0 ;
    2479           0 :   char *arg3 = (char *) 0 ;
    2480             :   double arg4 ;
    2481             :   OGRErr result;
    2482             :   
    2483           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2484           0 :   arg2 = (char *)jarg2; 
    2485           0 :   arg3 = (char *)jarg3; 
    2486           0 :   arg4 = (double)jarg4; 
    2487             :   {
    2488           0 :     if (!arg3) {
    2489             :       {
    2490           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    2491             :       };
    2492             :     }
    2493             :   }
    2494             :   {
    2495           0 :     CPLErrorReset();
    2496           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetTargetLinearUnits(arg1,(char const *)arg2,(char const *)arg3,arg4);
    2497           0 :     CPLErr eclass = CPLGetLastErrorType();
    2498           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2499           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2500             :       
    2501             :       
    2502             :       
    2503             :     }
    2504             :   }
    2505             :   {
    2506             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2507           0 :     jresult = result;
    2508             :   }
    2509             :   {
    2510             :     /* %typemap(ret) OGRErr */
    2511             :     
    2512             :   }
    2513           0 :   return jresult;
    2514             : }
    2515             : 
    2516             : 
    2517           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetLinearUnits___(void * jarg1, char * jarg2, double jarg3) {
    2518             :   int jresult ;
    2519           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2520           0 :   char *arg2 = (char *) 0 ;
    2521             :   double arg3 ;
    2522             :   OGRErr result;
    2523             :   
    2524           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2525           0 :   arg2 = (char *)jarg2; 
    2526           0 :   arg3 = (double)jarg3; 
    2527             :   {
    2528           0 :     if (!arg2) {
    2529             :       {
    2530           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    2531             :       };
    2532             :     }
    2533             :   }
    2534             :   {
    2535           0 :     CPLErrorReset();
    2536           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetLinearUnits(arg1,(char const *)arg2,arg3);
    2537           0 :     CPLErr eclass = CPLGetLastErrorType();
    2538           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2539           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2540             :       
    2541             :       
    2542             :       
    2543             :     }
    2544             :   }
    2545             :   {
    2546             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2547           0 :     jresult = result;
    2548             :   }
    2549             :   {
    2550             :     /* %typemap(ret) OGRErr */
    2551             :     
    2552             :   }
    2553           0 :   return jresult;
    2554             : }
    2555             : 
    2556             : 
    2557           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetLinearUnitsAndUpdateParameters___(void * jarg1, char * jarg2, double jarg3) {
    2558             :   int jresult ;
    2559           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2560           0 :   char *arg2 = (char *) 0 ;
    2561             :   double arg3 ;
    2562             :   OGRErr result;
    2563             :   
    2564           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2565           0 :   arg2 = (char *)jarg2; 
    2566           0 :   arg3 = (double)jarg3; 
    2567             :   {
    2568           0 :     if (!arg2) {
    2569             :       {
    2570           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    2571             :       };
    2572             :     }
    2573             :   }
    2574             :   {
    2575           0 :     CPLErrorReset();
    2576           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetLinearUnitsAndUpdateParameters(arg1,(char const *)arg2,arg3);
    2577           0 :     CPLErr eclass = CPLGetLastErrorType();
    2578           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2579           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2580             :       
    2581             :       
    2582             :       
    2583             :     }
    2584             :   }
    2585             :   {
    2586             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2587           0 :     jresult = result;
    2588             :   }
    2589             :   {
    2590             :     /* %typemap(ret) OGRErr */
    2591             :     
    2592             :   }
    2593           0 :   return jresult;
    2594             : }
    2595             : 
    2596             : 
    2597           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetTargetLinearUnits___(void * jarg1, char * jarg2) {
    2598             :   double jresult ;
    2599           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2600           0 :   char *arg2 = (char *) 0 ;
    2601             :   double result;
    2602             :   
    2603           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2604           0 :   arg2 = (char *)jarg2; 
    2605             :   {
    2606           0 :     CPLErrorReset();
    2607           0 :     result = (double)OSRSpatialReferenceShadow_GetTargetLinearUnits(arg1,(char const *)arg2);
    2608           0 :     CPLErr eclass = CPLGetLastErrorType();
    2609           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2610           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2611             :       
    2612             :       
    2613             :       
    2614             :     }
    2615             :   }
    2616           0 :   jresult = result; 
    2617           0 :   return jresult;
    2618             : }
    2619             : 
    2620             : 
    2621           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetLinearUnits___(void * jarg1) {
    2622             :   double jresult ;
    2623           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2624             :   double result;
    2625             :   
    2626           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2627             :   {
    2628           0 :     CPLErrorReset();
    2629           0 :     result = (double)OSRSpatialReferenceShadow_GetLinearUnits(arg1);
    2630           0 :     CPLErr eclass = CPLGetLastErrorType();
    2631           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2632           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2633             :       
    2634             :       
    2635             :       
    2636             :     }
    2637             :   }
    2638           0 :   jresult = result; 
    2639           0 :   return jresult;
    2640             : }
    2641             : 
    2642             : 
    2643           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetLinearUnitsName___(void * jarg1) {
    2644             :   char * jresult ;
    2645           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2646           0 :   char *result = 0 ;
    2647             :   
    2648           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2649             :   {
    2650           0 :     CPLErrorReset();
    2651           0 :     result = (char *)OSRSpatialReferenceShadow_GetLinearUnitsName(arg1);
    2652           0 :     CPLErr eclass = CPLGetLastErrorType();
    2653           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2654           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2655             :       
    2656             :       
    2657             :       
    2658             :     }
    2659             :   }
    2660           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    2661           0 :   return jresult;
    2662             : }
    2663             : 
    2664             : 
    2665           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAuthorityCode___(void * jarg1, char * jarg2) {
    2666             :   char * jresult ;
    2667           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2668           0 :   char *arg2 = (char *) 0 ;
    2669           0 :   char *result = 0 ;
    2670             :   
    2671           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2672           0 :   arg2 = (char *)jarg2; 
    2673             :   {
    2674           0 :     CPLErrorReset();
    2675           0 :     result = (char *)OSRSpatialReferenceShadow_GetAuthorityCode(arg1,(char const *)arg2);
    2676           0 :     CPLErr eclass = CPLGetLastErrorType();
    2677           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2678           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2679             :       
    2680             :       
    2681             :       
    2682             :     }
    2683             :   }
    2684           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    2685           0 :   return jresult;
    2686             : }
    2687             : 
    2688             : 
    2689           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAuthorityName___(void * jarg1, char * jarg2) {
    2690             :   char * jresult ;
    2691           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2692           0 :   char *arg2 = (char *) 0 ;
    2693           0 :   char *result = 0 ;
    2694             :   
    2695           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2696           0 :   arg2 = (char *)jarg2; 
    2697             :   {
    2698           0 :     CPLErrorReset();
    2699           0 :     result = (char *)OSRSpatialReferenceShadow_GetAuthorityName(arg1,(char const *)arg2);
    2700           0 :     CPLErr eclass = CPLGetLastErrorType();
    2701           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2702           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2703             :       
    2704             :       
    2705             :       
    2706             :     }
    2707             :   }
    2708           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    2709           0 :   return jresult;
    2710             : }
    2711             : 
    2712             : 
    2713           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAreaOfUse___(void * jarg1) {
    2714             :   void * jresult ;
    2715           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2716           0 :   OSRAreaOfUse *result = 0 ;
    2717             :   
    2718           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2719             :   {
    2720           0 :     CPLErrorReset();
    2721           0 :     result = (OSRAreaOfUse *)OSRSpatialReferenceShadow_GetAreaOfUse(arg1);
    2722           0 :     CPLErr eclass = CPLGetLastErrorType();
    2723           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2724           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2725             :       
    2726             :       
    2727             :       
    2728             :     }
    2729             :   }
    2730           0 :   jresult = (void *)result; 
    2731           0 :   return jresult;
    2732             : }
    2733             : 
    2734             : 
    2735           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAxisName___(void * jarg1, char * jarg2, int jarg3) {
    2736             :   char * jresult ;
    2737           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2738           0 :   char *arg2 = (char *) 0 ;
    2739             :   int arg3 ;
    2740           0 :   char *result = 0 ;
    2741             :   
    2742           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2743           0 :   arg2 = (char *)jarg2; 
    2744           0 :   arg3 = (int)jarg3; 
    2745             :   {
    2746           0 :     CPLErrorReset();
    2747           0 :     result = (char *)OSRSpatialReferenceShadow_GetAxisName(arg1,(char const *)arg2,arg3);
    2748           0 :     CPLErr eclass = CPLGetLastErrorType();
    2749           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2750           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2751             :       
    2752             :       
    2753             :       
    2754             :     }
    2755             :   }
    2756           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    2757           0 :   return jresult;
    2758             : }
    2759             : 
    2760             : 
    2761           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAxesCount___(void * jarg1) {
    2762             :   int jresult ;
    2763           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2764             :   int result;
    2765             :   
    2766           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2767             :   {
    2768           0 :     CPLErrorReset();
    2769           0 :     result = (int)OSRSpatialReferenceShadow_GetAxesCount(arg1);
    2770           0 :     CPLErr eclass = CPLGetLastErrorType();
    2771           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2772           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2773             :       
    2774             :       
    2775             :       
    2776             :     }
    2777             :   }
    2778           0 :   jresult = result; 
    2779           0 :   return jresult;
    2780             : }
    2781             : 
    2782             : 
    2783           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAxisOrientation___(void * jarg1, char * jarg2, int jarg3) {
    2784             :   int jresult ;
    2785           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2786           0 :   char *arg2 = (char *) 0 ;
    2787             :   int arg3 ;
    2788             :   OGRAxisOrientation result;
    2789             :   
    2790           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2791           0 :   arg2 = (char *)jarg2; 
    2792           0 :   arg3 = (int)jarg3; 
    2793             :   {
    2794           0 :     CPLErrorReset();
    2795           0 :     result = (OGRAxisOrientation)OSRSpatialReferenceShadow_GetAxisOrientation(arg1,(char const *)arg2,arg3);
    2796           0 :     CPLErr eclass = CPLGetLastErrorType();
    2797           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2798           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2799             :       
    2800             :       
    2801             :       
    2802             :     }
    2803             :   }
    2804           0 :   jresult = (int)result; 
    2805           0 :   return jresult;
    2806             : }
    2807             : 
    2808             : 
    2809           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetAxisMappingStrategy___(void * jarg1) {
    2810             :   int jresult ;
    2811           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2812             :   OSRAxisMappingStrategy result;
    2813             :   
    2814           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2815             :   {
    2816           0 :     CPLErrorReset();
    2817           0 :     result = (OSRAxisMappingStrategy)OSRSpatialReferenceShadow_GetAxisMappingStrategy(arg1);
    2818           0 :     CPLErr eclass = CPLGetLastErrorType();
    2819           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2820           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2821             :       
    2822             :       
    2823             :       
    2824             :     }
    2825             :   }
    2826           0 :   jresult = (int)result; 
    2827           0 :   return jresult;
    2828             : }
    2829             : 
    2830             : 
    2831           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetAxisMappingStrategy___(void * jarg1, int jarg2) {
    2832           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2833             :   OSRAxisMappingStrategy arg2 ;
    2834             :   
    2835           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2836           0 :   arg2 = (OSRAxisMappingStrategy)jarg2; 
    2837             :   {
    2838           0 :     CPLErrorReset();
    2839           0 :     OSRSpatialReferenceShadow_SetAxisMappingStrategy(arg1,arg2);
    2840           0 :     CPLErr eclass = CPLGetLastErrorType();
    2841           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2842           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2843             :       
    2844             :       
    2845             :       
    2846             :     }
    2847             :   }
    2848           0 : }
    2849             : 
    2850             : 
    2851           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetDataAxisToSRSAxisMapping___(void * jarg1, void * jarg2) {
    2852             :   void * jresult ;
    2853           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2854           0 :   int *arg2 = (int *) 0 ;
    2855           0 :   int *result = 0 ;
    2856             :   
    2857           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2858             :   {
    2859             :     /* %typemap(in) (int *hasval) */
    2860           0 :     arg2 = (int *)jarg2;
    2861             :   }
    2862             :   {
    2863           0 :     CPLErrorReset();
    2864           0 :     result = (int *)OSRSpatialReferenceShadow_GetDataAxisToSRSAxisMapping(arg1,arg2);
    2865           0 :     CPLErr eclass = CPLGetLastErrorType();
    2866           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2867           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2868             :       
    2869             :       
    2870             :       
    2871             :     }
    2872             :   }
    2873           0 :   jresult = result; 
    2874           0 :   return jresult;
    2875             : }
    2876             : 
    2877             : 
    2878           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetDataAxisToSRSAxisMapping___(void * jarg1, int jarg2, void * jarg3) {
    2879             :   int jresult ;
    2880           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2881             :   int arg2 ;
    2882           0 :   int *arg3 = (int *) 0 ;
    2883             :   OGRErr result;
    2884             :   
    2885           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2886           0 :   arg2 = (int)jarg2; 
    2887             :   {
    2888             :     /* %typemap(in) (int inout[ANY]) */
    2889           0 :     arg3 = (int *)jarg3;
    2890             :   }
    2891             :   {
    2892           0 :     CPLErrorReset();
    2893           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetDataAxisToSRSAxisMapping(arg1,arg2,arg3);
    2894           0 :     CPLErr eclass = CPLGetLastErrorType();
    2895           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2896           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2897             :       
    2898             :       
    2899             :       
    2900             :     }
    2901             :   }
    2902             :   {
    2903             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2904           0 :     jresult = result;
    2905             :   }
    2906             :   {
    2907             :     /* %typemap(ret) OGRErr */
    2908             :     
    2909             :   }
    2910           0 :   return jresult;
    2911             : }
    2912             : 
    2913             : 
    2914           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetUTM___(void * jarg1, int jarg2, int jarg3) {
    2915             :   int jresult ;
    2916           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2917             :   int arg2 ;
    2918           0 :   int arg3 = (int) 1 ;
    2919             :   OGRErr result;
    2920             :   
    2921           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2922           0 :   arg2 = (int)jarg2; 
    2923           0 :   arg3 = (int)jarg3; 
    2924             :   {
    2925           0 :     CPLErrorReset();
    2926           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetUTM(arg1,arg2,arg3);
    2927           0 :     CPLErr eclass = CPLGetLastErrorType();
    2928           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2929           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2930             :       
    2931             :       
    2932             :       
    2933             :     }
    2934             :   }
    2935             :   {
    2936             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2937           0 :     jresult = result;
    2938             :   }
    2939             :   {
    2940             :     /* %typemap(ret) OGRErr */
    2941             :     
    2942             :   }
    2943           0 :   return jresult;
    2944             : }
    2945             : 
    2946             : 
    2947           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetUTMZone___(void * jarg1) {
    2948             :   int jresult ;
    2949           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2950             :   int result;
    2951             :   
    2952           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2953             :   {
    2954           0 :     CPLErrorReset();
    2955           0 :     result = (int)OSRSpatialReferenceShadow_GetUTMZone(arg1);
    2956           0 :     CPLErr eclass = CPLGetLastErrorType();
    2957           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2958           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2959             :       
    2960             :       
    2961             :       
    2962             :     }
    2963             :   }
    2964           0 :   jresult = result; 
    2965           0 :   return jresult;
    2966             : }
    2967             : 
    2968             : 
    2969           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetStatePlane___(void * jarg1, int jarg2, int jarg3, char * jarg4, double jarg5) {
    2970             :   int jresult ;
    2971           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    2972             :   int arg2 ;
    2973           0 :   int arg3 = (int) 1 ;
    2974           0 :   char *arg4 = (char *) "" ;
    2975           0 :   double arg5 = (double) 0.0 ;
    2976             :   OGRErr result;
    2977             :   
    2978           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    2979           0 :   arg2 = (int)jarg2; 
    2980           0 :   arg3 = (int)jarg3; 
    2981           0 :   arg4 = (char *)jarg4; 
    2982           0 :   arg5 = (double)jarg5; 
    2983             :   {
    2984           0 :     CPLErrorReset();
    2985           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetStatePlane(arg1,arg2,arg3,(char const *)arg4,arg5);
    2986           0 :     CPLErr eclass = CPLGetLastErrorType();
    2987           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    2988           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    2989             :       
    2990             :       
    2991             :       
    2992             :     }
    2993             :   }
    2994             :   {
    2995             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    2996           0 :     jresult = result;
    2997             :   }
    2998             :   {
    2999             :     /* %typemap(ret) OGRErr */
    3000             :     
    3001             :   }
    3002           0 :   return jresult;
    3003             : }
    3004             : 
    3005             : 
    3006           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_AutoIdentifyEPSG___(void * jarg1) {
    3007             :   int jresult ;
    3008           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3009             :   OGRErr result;
    3010             :   
    3011           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3012             :   {
    3013           0 :     CPLErrorReset();
    3014           0 :     result = (OGRErr)OSRSpatialReferenceShadow_AutoIdentifyEPSG(arg1);
    3015           0 :     CPLErr eclass = CPLGetLastErrorType();
    3016           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3017           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3018             :       
    3019             :       
    3020             :       
    3021             :     }
    3022             :   }
    3023             :   {
    3024             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3025           0 :     jresult = result;
    3026             :   }
    3027             :   {
    3028             :     /* %typemap(ret) OGRErr */
    3029             :     
    3030             :   }
    3031           0 :   return jresult;
    3032             : }
    3033             : 
    3034             : 
    3035           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetProjection___(void * jarg1, char * jarg2) {
    3036             :   int jresult ;
    3037           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3038           0 :   char *arg2 = (char *) 0 ;
    3039             :   OGRErr result;
    3040             :   
    3041           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3042           0 :   arg2 = (char *)jarg2; 
    3043             :   {
    3044           0 :     CPLErrorReset();
    3045           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetProjection(arg1,(char const *)arg2);
    3046           0 :     CPLErr eclass = CPLGetLastErrorType();
    3047           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3048           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3049             :       
    3050             :       
    3051             :       
    3052             :     }
    3053             :   }
    3054             :   {
    3055             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3056           0 :     jresult = result;
    3057             :   }
    3058             :   {
    3059             :     /* %typemap(ret) OGRErr */
    3060             :     
    3061             :   }
    3062           0 :   return jresult;
    3063             : }
    3064             : 
    3065             : 
    3066           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetProjParm___(void * jarg1, char * jarg2, double jarg3) {
    3067             :   int jresult ;
    3068           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3069           0 :   char *arg2 = (char *) 0 ;
    3070             :   double arg3 ;
    3071             :   OGRErr result;
    3072             :   
    3073           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3074           0 :   arg2 = (char *)jarg2; 
    3075           0 :   arg3 = (double)jarg3; 
    3076             :   {
    3077           0 :     if (!arg2) {
    3078             :       {
    3079           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    3080             :       };
    3081             :     }
    3082             :   }
    3083             :   {
    3084           0 :     CPLErrorReset();
    3085           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetProjParm(arg1,(char const *)arg2,arg3);
    3086           0 :     CPLErr eclass = CPLGetLastErrorType();
    3087           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3088           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3089             :       
    3090             :       
    3091             :       
    3092             :     }
    3093             :   }
    3094             :   {
    3095             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3096           0 :     jresult = result;
    3097             :   }
    3098             :   {
    3099             :     /* %typemap(ret) OGRErr */
    3100             :     
    3101             :   }
    3102           0 :   return jresult;
    3103             : }
    3104             : 
    3105             : 
    3106           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetProjParm___(void * jarg1, char * jarg2, double jarg3) {
    3107             :   double jresult ;
    3108           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3109           0 :   char *arg2 = (char *) 0 ;
    3110           0 :   double arg3 = (double) 0.0 ;
    3111             :   double result;
    3112             :   
    3113           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3114           0 :   arg2 = (char *)jarg2; 
    3115           0 :   arg3 = (double)jarg3; 
    3116             :   {
    3117           0 :     if (!arg2) {
    3118             :       {
    3119           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    3120             :       };
    3121             :     }
    3122             :   }
    3123             :   {
    3124           0 :     CPLErrorReset();
    3125           0 :     result = (double)OSRSpatialReferenceShadow_GetProjParm(arg1,(char const *)arg2,arg3);
    3126           0 :     CPLErr eclass = CPLGetLastErrorType();
    3127           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3128           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3129             :       
    3130             :       
    3131             :       
    3132             :     }
    3133             :   }
    3134           0 :   jresult = result; 
    3135           0 :   return jresult;
    3136             : }
    3137             : 
    3138             : 
    3139           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetNormProjParm___(void * jarg1, char * jarg2, double jarg3) {
    3140             :   int jresult ;
    3141           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3142           0 :   char *arg2 = (char *) 0 ;
    3143             :   double arg3 ;
    3144             :   OGRErr result;
    3145             :   
    3146           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3147           0 :   arg2 = (char *)jarg2; 
    3148           0 :   arg3 = (double)jarg3; 
    3149             :   {
    3150           0 :     if (!arg2) {
    3151             :       {
    3152           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    3153             :       };
    3154             :     }
    3155             :   }
    3156             :   {
    3157           0 :     CPLErrorReset();
    3158           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetNormProjParm(arg1,(char const *)arg2,arg3);
    3159           0 :     CPLErr eclass = CPLGetLastErrorType();
    3160           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3161           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3162             :       
    3163             :       
    3164             :       
    3165             :     }
    3166             :   }
    3167             :   {
    3168             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3169           0 :     jresult = result;
    3170             :   }
    3171             :   {
    3172             :     /* %typemap(ret) OGRErr */
    3173             :     
    3174             :   }
    3175           0 :   return jresult;
    3176             : }
    3177             : 
    3178             : 
    3179           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetNormProjParm___(void * jarg1, char * jarg2, double jarg3) {
    3180             :   double jresult ;
    3181           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3182           0 :   char *arg2 = (char *) 0 ;
    3183           0 :   double arg3 = (double) 0.0 ;
    3184             :   double result;
    3185             :   
    3186           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3187           0 :   arg2 = (char *)jarg2; 
    3188           0 :   arg3 = (double)jarg3; 
    3189             :   {
    3190           0 :     if (!arg2) {
    3191             :       {
    3192           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    3193             :       };
    3194             :     }
    3195             :   }
    3196             :   {
    3197           0 :     CPLErrorReset();
    3198           0 :     result = (double)OSRSpatialReferenceShadow_GetNormProjParm(arg1,(char const *)arg2,arg3);
    3199           0 :     CPLErr eclass = CPLGetLastErrorType();
    3200           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3201           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3202             :       
    3203             :       
    3204             :       
    3205             :     }
    3206             :   }
    3207           0 :   jresult = result; 
    3208           0 :   return jresult;
    3209             : }
    3210             : 
    3211             : 
    3212           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetSemiMajor___(void * jarg1) {
    3213             :   double jresult ;
    3214           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3215             :   double result;
    3216             :   
    3217           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3218             :   {
    3219           0 :     CPLErrorReset();
    3220           0 :     result = (double)OSRSpatialReferenceShadow_GetSemiMajor(arg1);
    3221           0 :     CPLErr eclass = CPLGetLastErrorType();
    3222           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3223           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3224             :       
    3225             :       
    3226             :       
    3227             :     }
    3228             :   }
    3229           0 :   jresult = result; 
    3230           0 :   return jresult;
    3231             : }
    3232             : 
    3233             : 
    3234           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetSemiMinor___(void * jarg1) {
    3235             :   double jresult ;
    3236           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3237             :   double result;
    3238             :   
    3239           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3240             :   {
    3241           0 :     CPLErrorReset();
    3242           0 :     result = (double)OSRSpatialReferenceShadow_GetSemiMinor(arg1);
    3243           0 :     CPLErr eclass = CPLGetLastErrorType();
    3244           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3245           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3246             :       
    3247             :       
    3248             :       
    3249             :     }
    3250             :   }
    3251           0 :   jresult = result; 
    3252           0 :   return jresult;
    3253             : }
    3254             : 
    3255             : 
    3256           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetInvFlattening___(void * jarg1) {
    3257             :   double jresult ;
    3258           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3259             :   double result;
    3260             :   
    3261           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3262             :   {
    3263           0 :     CPLErrorReset();
    3264           0 :     result = (double)OSRSpatialReferenceShadow_GetInvFlattening(arg1);
    3265           0 :     CPLErr eclass = CPLGetLastErrorType();
    3266           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3267           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3268             :       
    3269             :       
    3270             :       
    3271             :     }
    3272             :   }
    3273           0 :   jresult = result; 
    3274           0 :   return jresult;
    3275             : }
    3276             : 
    3277             : 
    3278           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetACEA___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7) {
    3279             :   int jresult ;
    3280           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3281             :   double arg2 ;
    3282             :   double arg3 ;
    3283             :   double arg4 ;
    3284             :   double arg5 ;
    3285             :   double arg6 ;
    3286             :   double arg7 ;
    3287             :   OGRErr result;
    3288             :   
    3289           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3290           0 :   arg2 = (double)jarg2; 
    3291           0 :   arg3 = (double)jarg3; 
    3292           0 :   arg4 = (double)jarg4; 
    3293           0 :   arg5 = (double)jarg5; 
    3294           0 :   arg6 = (double)jarg6; 
    3295           0 :   arg7 = (double)jarg7; 
    3296             :   {
    3297           0 :     CPLErrorReset();
    3298           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetACEA(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    3299           0 :     CPLErr eclass = CPLGetLastErrorType();
    3300           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3301           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3302             :       
    3303             :       
    3304             :       
    3305             :     }
    3306             :   }
    3307             :   {
    3308             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3309           0 :     jresult = result;
    3310             :   }
    3311             :   {
    3312             :     /* %typemap(ret) OGRErr */
    3313             :     
    3314             :   }
    3315           0 :   return jresult;
    3316             : }
    3317             : 
    3318             : 
    3319           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetAE___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    3320             :   int jresult ;
    3321           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3322             :   double arg2 ;
    3323             :   double arg3 ;
    3324             :   double arg4 ;
    3325             :   double arg5 ;
    3326             :   OGRErr result;
    3327             :   
    3328           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3329           0 :   arg2 = (double)jarg2; 
    3330           0 :   arg3 = (double)jarg3; 
    3331           0 :   arg4 = (double)jarg4; 
    3332           0 :   arg5 = (double)jarg5; 
    3333             :   {
    3334           0 :     CPLErrorReset();
    3335           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetAE(arg1,arg2,arg3,arg4,arg5);
    3336           0 :     CPLErr eclass = CPLGetLastErrorType();
    3337           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3338           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3339             :       
    3340             :       
    3341             :       
    3342             :     }
    3343             :   }
    3344             :   {
    3345             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3346           0 :     jresult = result;
    3347             :   }
    3348             :   {
    3349             :     /* %typemap(ret) OGRErr */
    3350             :     
    3351             :   }
    3352           0 :   return jresult;
    3353             : }
    3354             : 
    3355             : 
    3356           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetBonne___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    3357             :   int jresult ;
    3358           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3359             :   double arg2 ;
    3360             :   double arg3 ;
    3361             :   double arg4 ;
    3362             :   double arg5 ;
    3363             :   OGRErr result;
    3364             :   
    3365           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3366           0 :   arg2 = (double)jarg2; 
    3367           0 :   arg3 = (double)jarg3; 
    3368           0 :   arg4 = (double)jarg4; 
    3369           0 :   arg5 = (double)jarg5; 
    3370             :   {
    3371           0 :     CPLErrorReset();
    3372           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetBonne(arg1,arg2,arg3,arg4,arg5);
    3373           0 :     CPLErr eclass = CPLGetLastErrorType();
    3374           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3375           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3376             :       
    3377             :       
    3378             :       
    3379             :     }
    3380             :   }
    3381             :   {
    3382             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3383           0 :     jresult = result;
    3384             :   }
    3385             :   {
    3386             :     /* %typemap(ret) OGRErr */
    3387             :     
    3388             :   }
    3389           0 :   return jresult;
    3390             : }
    3391             : 
    3392             : 
    3393           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetCEA___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    3394             :   int jresult ;
    3395           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3396             :   double arg2 ;
    3397             :   double arg3 ;
    3398             :   double arg4 ;
    3399             :   double arg5 ;
    3400             :   OGRErr result;
    3401             :   
    3402           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3403           0 :   arg2 = (double)jarg2; 
    3404           0 :   arg3 = (double)jarg3; 
    3405           0 :   arg4 = (double)jarg4; 
    3406           0 :   arg5 = (double)jarg5; 
    3407             :   {
    3408           0 :     CPLErrorReset();
    3409           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetCEA(arg1,arg2,arg3,arg4,arg5);
    3410           0 :     CPLErr eclass = CPLGetLastErrorType();
    3411           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3412           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3413             :       
    3414             :       
    3415             :       
    3416             :     }
    3417             :   }
    3418             :   {
    3419             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3420           0 :     jresult = result;
    3421             :   }
    3422             :   {
    3423             :     /* %typemap(ret) OGRErr */
    3424             :     
    3425             :   }
    3426           0 :   return jresult;
    3427             : }
    3428             : 
    3429             : 
    3430           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetCS___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    3431             :   int jresult ;
    3432           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3433             :   double arg2 ;
    3434             :   double arg3 ;
    3435             :   double arg4 ;
    3436             :   double arg5 ;
    3437             :   OGRErr result;
    3438             :   
    3439           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3440           0 :   arg2 = (double)jarg2; 
    3441           0 :   arg3 = (double)jarg3; 
    3442           0 :   arg4 = (double)jarg4; 
    3443           0 :   arg5 = (double)jarg5; 
    3444             :   {
    3445           0 :     CPLErrorReset();
    3446           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetCS(arg1,arg2,arg3,arg4,arg5);
    3447           0 :     CPLErr eclass = CPLGetLastErrorType();
    3448           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3449           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3450             :       
    3451             :       
    3452             :       
    3453             :     }
    3454             :   }
    3455             :   {
    3456             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3457           0 :     jresult = result;
    3458             :   }
    3459             :   {
    3460             :     /* %typemap(ret) OGRErr */
    3461             :     
    3462             :   }
    3463           0 :   return jresult;
    3464             : }
    3465             : 
    3466             : 
    3467           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetEC___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7) {
    3468             :   int jresult ;
    3469           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3470             :   double arg2 ;
    3471             :   double arg3 ;
    3472             :   double arg4 ;
    3473             :   double arg5 ;
    3474             :   double arg6 ;
    3475             :   double arg7 ;
    3476             :   OGRErr result;
    3477             :   
    3478           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3479           0 :   arg2 = (double)jarg2; 
    3480           0 :   arg3 = (double)jarg3; 
    3481           0 :   arg4 = (double)jarg4; 
    3482           0 :   arg5 = (double)jarg5; 
    3483           0 :   arg6 = (double)jarg6; 
    3484           0 :   arg7 = (double)jarg7; 
    3485             :   {
    3486           0 :     CPLErrorReset();
    3487           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetEC(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    3488           0 :     CPLErr eclass = CPLGetLastErrorType();
    3489           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3490           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3491             :       
    3492             :       
    3493             :       
    3494             :     }
    3495             :   }
    3496             :   {
    3497             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3498           0 :     jresult = result;
    3499             :   }
    3500             :   {
    3501             :     /* %typemap(ret) OGRErr */
    3502             :     
    3503             :   }
    3504           0 :   return jresult;
    3505             : }
    3506             : 
    3507             : 
    3508           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetEckertIV___(void * jarg1, double jarg2, double jarg3, double jarg4) {
    3509             :   int jresult ;
    3510           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3511             :   double arg2 ;
    3512             :   double arg3 ;
    3513             :   double arg4 ;
    3514             :   OGRErr result;
    3515             :   
    3516           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3517           0 :   arg2 = (double)jarg2; 
    3518           0 :   arg3 = (double)jarg3; 
    3519           0 :   arg4 = (double)jarg4; 
    3520             :   {
    3521           0 :     CPLErrorReset();
    3522           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetEckertIV(arg1,arg2,arg3,arg4);
    3523           0 :     CPLErr eclass = CPLGetLastErrorType();
    3524           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3525           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3526             :       
    3527             :       
    3528             :       
    3529             :     }
    3530             :   }
    3531             :   {
    3532             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3533           0 :     jresult = result;
    3534             :   }
    3535             :   {
    3536             :     /* %typemap(ret) OGRErr */
    3537             :     
    3538             :   }
    3539           0 :   return jresult;
    3540             : }
    3541             : 
    3542             : 
    3543           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetEckertVI___(void * jarg1, double jarg2, double jarg3, double jarg4) {
    3544             :   int jresult ;
    3545           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3546             :   double arg2 ;
    3547             :   double arg3 ;
    3548             :   double arg4 ;
    3549             :   OGRErr result;
    3550             :   
    3551           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3552           0 :   arg2 = (double)jarg2; 
    3553           0 :   arg3 = (double)jarg3; 
    3554           0 :   arg4 = (double)jarg4; 
    3555             :   {
    3556           0 :     CPLErrorReset();
    3557           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetEckertVI(arg1,arg2,arg3,arg4);
    3558           0 :     CPLErr eclass = CPLGetLastErrorType();
    3559           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3560           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3561             :       
    3562             :       
    3563             :       
    3564             :     }
    3565             :   }
    3566             :   {
    3567             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3568           0 :     jresult = result;
    3569             :   }
    3570             :   {
    3571             :     /* %typemap(ret) OGRErr */
    3572             :     
    3573             :   }
    3574           0 :   return jresult;
    3575             : }
    3576             : 
    3577             : 
    3578           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetEquirectangular___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    3579             :   int jresult ;
    3580           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3581             :   double arg2 ;
    3582             :   double arg3 ;
    3583             :   double arg4 ;
    3584             :   double arg5 ;
    3585             :   OGRErr result;
    3586             :   
    3587           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3588           0 :   arg2 = (double)jarg2; 
    3589           0 :   arg3 = (double)jarg3; 
    3590           0 :   arg4 = (double)jarg4; 
    3591           0 :   arg5 = (double)jarg5; 
    3592             :   {
    3593           0 :     CPLErrorReset();
    3594           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetEquirectangular(arg1,arg2,arg3,arg4,arg5);
    3595           0 :     CPLErr eclass = CPLGetLastErrorType();
    3596           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3597           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3598             :       
    3599             :       
    3600             :       
    3601             :     }
    3602             :   }
    3603             :   {
    3604             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3605           0 :     jresult = result;
    3606             :   }
    3607             :   {
    3608             :     /* %typemap(ret) OGRErr */
    3609             :     
    3610             :   }
    3611           0 :   return jresult;
    3612             : }
    3613             : 
    3614             : 
    3615           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetEquirectangular2___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    3616             :   int jresult ;
    3617           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3618             :   double arg2 ;
    3619             :   double arg3 ;
    3620             :   double arg4 ;
    3621             :   double arg5 ;
    3622             :   double arg6 ;
    3623             :   OGRErr result;
    3624             :   
    3625           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3626           0 :   arg2 = (double)jarg2; 
    3627           0 :   arg3 = (double)jarg3; 
    3628           0 :   arg4 = (double)jarg4; 
    3629           0 :   arg5 = (double)jarg5; 
    3630           0 :   arg6 = (double)jarg6; 
    3631             :   {
    3632           0 :     CPLErrorReset();
    3633           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetEquirectangular2(arg1,arg2,arg3,arg4,arg5,arg6);
    3634           0 :     CPLErr eclass = CPLGetLastErrorType();
    3635           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3636           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3637             :       
    3638             :       
    3639             :       
    3640             :     }
    3641             :   }
    3642             :   {
    3643             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3644           0 :     jresult = result;
    3645             :   }
    3646             :   {
    3647             :     /* %typemap(ret) OGRErr */
    3648             :     
    3649             :   }
    3650           0 :   return jresult;
    3651             : }
    3652             : 
    3653             : 
    3654           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetGaussSchreiberTMercator___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    3655             :   int jresult ;
    3656           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3657             :   double arg2 ;
    3658             :   double arg3 ;
    3659             :   double arg4 ;
    3660             :   double arg5 ;
    3661             :   double arg6 ;
    3662             :   OGRErr result;
    3663             :   
    3664           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3665           0 :   arg2 = (double)jarg2; 
    3666           0 :   arg3 = (double)jarg3; 
    3667           0 :   arg4 = (double)jarg4; 
    3668           0 :   arg5 = (double)jarg5; 
    3669           0 :   arg6 = (double)jarg6; 
    3670             :   {
    3671           0 :     CPLErrorReset();
    3672           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetGaussSchreiberTMercator(arg1,arg2,arg3,arg4,arg5,arg6);
    3673           0 :     CPLErr eclass = CPLGetLastErrorType();
    3674           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3675           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3676             :       
    3677             :       
    3678             :       
    3679             :     }
    3680             :   }
    3681             :   {
    3682             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3683           0 :     jresult = result;
    3684             :   }
    3685             :   {
    3686             :     /* %typemap(ret) OGRErr */
    3687             :     
    3688             :   }
    3689           0 :   return jresult;
    3690             : }
    3691             : 
    3692             : 
    3693           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetGS___(void * jarg1, double jarg2, double jarg3, double jarg4) {
    3694             :   int jresult ;
    3695           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3696             :   double arg2 ;
    3697             :   double arg3 ;
    3698             :   double arg4 ;
    3699             :   OGRErr result;
    3700             :   
    3701           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3702           0 :   arg2 = (double)jarg2; 
    3703           0 :   arg3 = (double)jarg3; 
    3704           0 :   arg4 = (double)jarg4; 
    3705             :   {
    3706           0 :     CPLErrorReset();
    3707           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetGS(arg1,arg2,arg3,arg4);
    3708           0 :     CPLErr eclass = CPLGetLastErrorType();
    3709           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3710           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3711             :       
    3712             :       
    3713             :       
    3714             :     }
    3715             :   }
    3716             :   {
    3717             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3718           0 :     jresult = result;
    3719             :   }
    3720             :   {
    3721             :     /* %typemap(ret) OGRErr */
    3722             :     
    3723             :   }
    3724           0 :   return jresult;
    3725             : }
    3726             : 
    3727             : 
    3728           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetGH___(void * jarg1, double jarg2, double jarg3, double jarg4) {
    3729             :   int jresult ;
    3730           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3731             :   double arg2 ;
    3732             :   double arg3 ;
    3733             :   double arg4 ;
    3734             :   OGRErr result;
    3735             :   
    3736           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3737           0 :   arg2 = (double)jarg2; 
    3738           0 :   arg3 = (double)jarg3; 
    3739           0 :   arg4 = (double)jarg4; 
    3740             :   {
    3741           0 :     CPLErrorReset();
    3742           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetGH(arg1,arg2,arg3,arg4);
    3743           0 :     CPLErr eclass = CPLGetLastErrorType();
    3744           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3745           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3746             :       
    3747             :       
    3748             :       
    3749             :     }
    3750             :   }
    3751             :   {
    3752             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3753           0 :     jresult = result;
    3754             :   }
    3755             :   {
    3756             :     /* %typemap(ret) OGRErr */
    3757             :     
    3758             :   }
    3759           0 :   return jresult;
    3760             : }
    3761             : 
    3762             : 
    3763           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetIGH___(void * jarg1) {
    3764             :   int jresult ;
    3765           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3766             :   OGRErr result;
    3767             :   
    3768           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3769             :   {
    3770           0 :     CPLErrorReset();
    3771           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetIGH(arg1);
    3772           0 :     CPLErr eclass = CPLGetLastErrorType();
    3773           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3774           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3775             :       
    3776             :       
    3777             :       
    3778             :     }
    3779             :   }
    3780             :   {
    3781             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3782           0 :     jresult = result;
    3783             :   }
    3784             :   {
    3785             :     /* %typemap(ret) OGRErr */
    3786             :     
    3787             :   }
    3788           0 :   return jresult;
    3789             : }
    3790             : 
    3791             : 
    3792           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetGEOS___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    3793             :   int jresult ;
    3794           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3795             :   double arg2 ;
    3796             :   double arg3 ;
    3797             :   double arg4 ;
    3798             :   double arg5 ;
    3799             :   OGRErr result;
    3800             :   
    3801           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3802           0 :   arg2 = (double)jarg2; 
    3803           0 :   arg3 = (double)jarg3; 
    3804           0 :   arg4 = (double)jarg4; 
    3805           0 :   arg5 = (double)jarg5; 
    3806             :   {
    3807           0 :     CPLErrorReset();
    3808           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetGEOS(arg1,arg2,arg3,arg4,arg5);
    3809           0 :     CPLErr eclass = CPLGetLastErrorType();
    3810           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3811           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3812             :       
    3813             :       
    3814             :       
    3815             :     }
    3816             :   }
    3817             :   {
    3818             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3819           0 :     jresult = result;
    3820             :   }
    3821             :   {
    3822             :     /* %typemap(ret) OGRErr */
    3823             :     
    3824             :   }
    3825           0 :   return jresult;
    3826             : }
    3827             : 
    3828             : 
    3829           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetGnomonic___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    3830             :   int jresult ;
    3831           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3832             :   double arg2 ;
    3833             :   double arg3 ;
    3834             :   double arg4 ;
    3835             :   double arg5 ;
    3836             :   OGRErr result;
    3837             :   
    3838           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3839           0 :   arg2 = (double)jarg2; 
    3840           0 :   arg3 = (double)jarg3; 
    3841           0 :   arg4 = (double)jarg4; 
    3842           0 :   arg5 = (double)jarg5; 
    3843             :   {
    3844           0 :     CPLErrorReset();
    3845           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetGnomonic(arg1,arg2,arg3,arg4,arg5);
    3846           0 :     CPLErr eclass = CPLGetLastErrorType();
    3847           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3848           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3849             :       
    3850             :       
    3851             :       
    3852             :     }
    3853             :   }
    3854             :   {
    3855             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3856           0 :     jresult = result;
    3857             :   }
    3858             :   {
    3859             :     /* %typemap(ret) OGRErr */
    3860             :     
    3861             :   }
    3862           0 :   return jresult;
    3863             : }
    3864             : 
    3865             : 
    3866           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetHOM___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8) {
    3867             :   int jresult ;
    3868           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3869             :   double arg2 ;
    3870             :   double arg3 ;
    3871             :   double arg4 ;
    3872             :   double arg5 ;
    3873             :   double arg6 ;
    3874             :   double arg7 ;
    3875             :   double arg8 ;
    3876             :   OGRErr result;
    3877             :   
    3878           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3879           0 :   arg2 = (double)jarg2; 
    3880           0 :   arg3 = (double)jarg3; 
    3881           0 :   arg4 = (double)jarg4; 
    3882           0 :   arg5 = (double)jarg5; 
    3883           0 :   arg6 = (double)jarg6; 
    3884           0 :   arg7 = (double)jarg7; 
    3885           0 :   arg8 = (double)jarg8; 
    3886             :   {
    3887           0 :     CPLErrorReset();
    3888           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetHOM(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    3889           0 :     CPLErr eclass = CPLGetLastErrorType();
    3890           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3891           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3892             :       
    3893             :       
    3894             :       
    3895             :     }
    3896             :   }
    3897             :   {
    3898             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3899           0 :     jresult = result;
    3900             :   }
    3901             :   {
    3902             :     /* %typemap(ret) OGRErr */
    3903             :     
    3904             :   }
    3905           0 :   return jresult;
    3906             : }
    3907             : 
    3908             : 
    3909           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetHOM2PNO___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8, double jarg9) {
    3910             :   int jresult ;
    3911           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3912             :   double arg2 ;
    3913             :   double arg3 ;
    3914             :   double arg4 ;
    3915             :   double arg5 ;
    3916             :   double arg6 ;
    3917             :   double arg7 ;
    3918             :   double arg8 ;
    3919             :   double arg9 ;
    3920             :   OGRErr result;
    3921             :   
    3922           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3923           0 :   arg2 = (double)jarg2; 
    3924           0 :   arg3 = (double)jarg3; 
    3925           0 :   arg4 = (double)jarg4; 
    3926           0 :   arg5 = (double)jarg5; 
    3927           0 :   arg6 = (double)jarg6; 
    3928           0 :   arg7 = (double)jarg7; 
    3929           0 :   arg8 = (double)jarg8; 
    3930           0 :   arg9 = (double)jarg9; 
    3931             :   {
    3932           0 :     CPLErrorReset();
    3933           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetHOM2PNO(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
    3934           0 :     CPLErr eclass = CPLGetLastErrorType();
    3935           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3936           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3937             :       
    3938             :       
    3939             :       
    3940             :     }
    3941             :   }
    3942             :   {
    3943             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3944           0 :     jresult = result;
    3945             :   }
    3946             :   {
    3947             :     /* %typemap(ret) OGRErr */
    3948             :     
    3949             :   }
    3950           0 :   return jresult;
    3951             : }
    3952             : 
    3953             : 
    3954           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetKrovak___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8) {
    3955             :   int jresult ;
    3956           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    3957             :   double arg2 ;
    3958             :   double arg3 ;
    3959             :   double arg4 ;
    3960             :   double arg5 ;
    3961             :   double arg6 ;
    3962             :   double arg7 ;
    3963             :   double arg8 ;
    3964             :   OGRErr result;
    3965             :   
    3966           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    3967           0 :   arg2 = (double)jarg2; 
    3968           0 :   arg3 = (double)jarg3; 
    3969           0 :   arg4 = (double)jarg4; 
    3970           0 :   arg5 = (double)jarg5; 
    3971           0 :   arg6 = (double)jarg6; 
    3972           0 :   arg7 = (double)jarg7; 
    3973           0 :   arg8 = (double)jarg8; 
    3974             :   {
    3975           0 :     CPLErrorReset();
    3976           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetKrovak(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    3977           0 :     CPLErr eclass = CPLGetLastErrorType();
    3978           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    3979           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    3980             :       
    3981             :       
    3982             :       
    3983             :     }
    3984             :   }
    3985             :   {
    3986             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    3987           0 :     jresult = result;
    3988             :   }
    3989             :   {
    3990             :     /* %typemap(ret) OGRErr */
    3991             :     
    3992             :   }
    3993           0 :   return jresult;
    3994             : }
    3995             : 
    3996             : 
    3997           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetLAEA___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    3998             :   int jresult ;
    3999           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4000             :   double arg2 ;
    4001             :   double arg3 ;
    4002             :   double arg4 ;
    4003             :   double arg5 ;
    4004             :   OGRErr result;
    4005             :   
    4006           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4007           0 :   arg2 = (double)jarg2; 
    4008           0 :   arg3 = (double)jarg3; 
    4009           0 :   arg4 = (double)jarg4; 
    4010           0 :   arg5 = (double)jarg5; 
    4011             :   {
    4012           0 :     CPLErrorReset();
    4013           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetLAEA(arg1,arg2,arg3,arg4,arg5);
    4014           0 :     CPLErr eclass = CPLGetLastErrorType();
    4015           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4016           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4017             :       
    4018             :       
    4019             :       
    4020             :     }
    4021             :   }
    4022             :   {
    4023             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4024           0 :     jresult = result;
    4025             :   }
    4026             :   {
    4027             :     /* %typemap(ret) OGRErr */
    4028             :     
    4029             :   }
    4030           0 :   return jresult;
    4031             : }
    4032             : 
    4033             : 
    4034           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetLCC___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7) {
    4035             :   int jresult ;
    4036           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4037             :   double arg2 ;
    4038             :   double arg3 ;
    4039             :   double arg4 ;
    4040             :   double arg5 ;
    4041             :   double arg6 ;
    4042             :   double arg7 ;
    4043             :   OGRErr result;
    4044             :   
    4045           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4046           0 :   arg2 = (double)jarg2; 
    4047           0 :   arg3 = (double)jarg3; 
    4048           0 :   arg4 = (double)jarg4; 
    4049           0 :   arg5 = (double)jarg5; 
    4050           0 :   arg6 = (double)jarg6; 
    4051           0 :   arg7 = (double)jarg7; 
    4052             :   {
    4053           0 :     CPLErrorReset();
    4054           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetLCC(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    4055           0 :     CPLErr eclass = CPLGetLastErrorType();
    4056           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4057           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4058             :       
    4059             :       
    4060             :       
    4061             :     }
    4062             :   }
    4063             :   {
    4064             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4065           0 :     jresult = result;
    4066             :   }
    4067             :   {
    4068             :     /* %typemap(ret) OGRErr */
    4069             :     
    4070             :   }
    4071           0 :   return jresult;
    4072             : }
    4073             : 
    4074             : 
    4075           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetLCC1SP___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    4076             :   int jresult ;
    4077           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4078             :   double arg2 ;
    4079             :   double arg3 ;
    4080             :   double arg4 ;
    4081             :   double arg5 ;
    4082             :   double arg6 ;
    4083             :   OGRErr result;
    4084             :   
    4085           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4086           0 :   arg2 = (double)jarg2; 
    4087           0 :   arg3 = (double)jarg3; 
    4088           0 :   arg4 = (double)jarg4; 
    4089           0 :   arg5 = (double)jarg5; 
    4090           0 :   arg6 = (double)jarg6; 
    4091             :   {
    4092           0 :     CPLErrorReset();
    4093           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetLCC1SP(arg1,arg2,arg3,arg4,arg5,arg6);
    4094           0 :     CPLErr eclass = CPLGetLastErrorType();
    4095           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4096           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4097             :       
    4098             :       
    4099             :       
    4100             :     }
    4101             :   }
    4102             :   {
    4103             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4104           0 :     jresult = result;
    4105             :   }
    4106             :   {
    4107             :     /* %typemap(ret) OGRErr */
    4108             :     
    4109             :   }
    4110           0 :   return jresult;
    4111             : }
    4112             : 
    4113             : 
    4114           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetLCCB___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7) {
    4115             :   int jresult ;
    4116           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4117             :   double arg2 ;
    4118             :   double arg3 ;
    4119             :   double arg4 ;
    4120             :   double arg5 ;
    4121             :   double arg6 ;
    4122             :   double arg7 ;
    4123             :   OGRErr result;
    4124             :   
    4125           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4126           0 :   arg2 = (double)jarg2; 
    4127           0 :   arg3 = (double)jarg3; 
    4128           0 :   arg4 = (double)jarg4; 
    4129           0 :   arg5 = (double)jarg5; 
    4130           0 :   arg6 = (double)jarg6; 
    4131           0 :   arg7 = (double)jarg7; 
    4132             :   {
    4133           0 :     CPLErrorReset();
    4134           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetLCCB(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    4135           0 :     CPLErr eclass = CPLGetLastErrorType();
    4136           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4137           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4138             :       
    4139             :       
    4140             :       
    4141             :     }
    4142             :   }
    4143             :   {
    4144             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4145           0 :     jresult = result;
    4146             :   }
    4147             :   {
    4148             :     /* %typemap(ret) OGRErr */
    4149             :     
    4150             :   }
    4151           0 :   return jresult;
    4152             : }
    4153             : 
    4154             : 
    4155           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetMC___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    4156             :   int jresult ;
    4157           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4158             :   double arg2 ;
    4159             :   double arg3 ;
    4160             :   double arg4 ;
    4161             :   double arg5 ;
    4162             :   OGRErr result;
    4163             :   
    4164           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4165           0 :   arg2 = (double)jarg2; 
    4166           0 :   arg3 = (double)jarg3; 
    4167           0 :   arg4 = (double)jarg4; 
    4168           0 :   arg5 = (double)jarg5; 
    4169             :   {
    4170           0 :     CPLErrorReset();
    4171           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetMC(arg1,arg2,arg3,arg4,arg5);
    4172           0 :     CPLErr eclass = CPLGetLastErrorType();
    4173           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4174           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4175             :       
    4176             :       
    4177             :       
    4178             :     }
    4179             :   }
    4180             :   {
    4181             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4182           0 :     jresult = result;
    4183             :   }
    4184             :   {
    4185             :     /* %typemap(ret) OGRErr */
    4186             :     
    4187             :   }
    4188           0 :   return jresult;
    4189             : }
    4190             : 
    4191             : 
    4192           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetMercator___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    4193             :   int jresult ;
    4194           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4195             :   double arg2 ;
    4196             :   double arg3 ;
    4197             :   double arg4 ;
    4198             :   double arg5 ;
    4199             :   double arg6 ;
    4200             :   OGRErr result;
    4201             :   
    4202           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4203           0 :   arg2 = (double)jarg2; 
    4204           0 :   arg3 = (double)jarg3; 
    4205           0 :   arg4 = (double)jarg4; 
    4206           0 :   arg5 = (double)jarg5; 
    4207           0 :   arg6 = (double)jarg6; 
    4208             :   {
    4209           0 :     CPLErrorReset();
    4210           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetMercator(arg1,arg2,arg3,arg4,arg5,arg6);
    4211           0 :     CPLErr eclass = CPLGetLastErrorType();
    4212           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4213           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4214             :       
    4215             :       
    4216             :       
    4217             :     }
    4218             :   }
    4219             :   {
    4220             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4221           0 :     jresult = result;
    4222             :   }
    4223             :   {
    4224             :     /* %typemap(ret) OGRErr */
    4225             :     
    4226             :   }
    4227           0 :   return jresult;
    4228             : }
    4229             : 
    4230             : 
    4231           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetMercator2SP___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    4232             :   int jresult ;
    4233           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4234             :   double arg2 ;
    4235             :   double arg3 ;
    4236             :   double arg4 ;
    4237             :   double arg5 ;
    4238             :   double arg6 ;
    4239             :   OGRErr result;
    4240             :   
    4241           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4242           0 :   arg2 = (double)jarg2; 
    4243           0 :   arg3 = (double)jarg3; 
    4244           0 :   arg4 = (double)jarg4; 
    4245           0 :   arg5 = (double)jarg5; 
    4246           0 :   arg6 = (double)jarg6; 
    4247             :   {
    4248           0 :     CPLErrorReset();
    4249           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetMercator2SP(arg1,arg2,arg3,arg4,arg5,arg6);
    4250           0 :     CPLErr eclass = CPLGetLastErrorType();
    4251           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4252           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4253             :       
    4254             :       
    4255             :       
    4256             :     }
    4257             :   }
    4258             :   {
    4259             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4260           0 :     jresult = result;
    4261             :   }
    4262             :   {
    4263             :     /* %typemap(ret) OGRErr */
    4264             :     
    4265             :   }
    4266           0 :   return jresult;
    4267             : }
    4268             : 
    4269             : 
    4270           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetMollweide___(void * jarg1, double jarg2, double jarg3, double jarg4) {
    4271             :   int jresult ;
    4272           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4273             :   double arg2 ;
    4274             :   double arg3 ;
    4275             :   double arg4 ;
    4276             :   OGRErr result;
    4277             :   
    4278           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4279           0 :   arg2 = (double)jarg2; 
    4280           0 :   arg3 = (double)jarg3; 
    4281           0 :   arg4 = (double)jarg4; 
    4282             :   {
    4283           0 :     CPLErrorReset();
    4284           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetMollweide(arg1,arg2,arg3,arg4);
    4285           0 :     CPLErr eclass = CPLGetLastErrorType();
    4286           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4287           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4288             :       
    4289             :       
    4290             :       
    4291             :     }
    4292             :   }
    4293             :   {
    4294             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4295           0 :     jresult = result;
    4296             :   }
    4297             :   {
    4298             :     /* %typemap(ret) OGRErr */
    4299             :     
    4300             :   }
    4301           0 :   return jresult;
    4302             : }
    4303             : 
    4304             : 
    4305           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetNZMG___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    4306             :   int jresult ;
    4307           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4308             :   double arg2 ;
    4309             :   double arg3 ;
    4310             :   double arg4 ;
    4311             :   double arg5 ;
    4312             :   OGRErr result;
    4313             :   
    4314           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4315           0 :   arg2 = (double)jarg2; 
    4316           0 :   arg3 = (double)jarg3; 
    4317           0 :   arg4 = (double)jarg4; 
    4318           0 :   arg5 = (double)jarg5; 
    4319             :   {
    4320           0 :     CPLErrorReset();
    4321           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetNZMG(arg1,arg2,arg3,arg4,arg5);
    4322           0 :     CPLErr eclass = CPLGetLastErrorType();
    4323           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4324           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4325             :       
    4326             :       
    4327             :       
    4328             :     }
    4329             :   }
    4330             :   {
    4331             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4332           0 :     jresult = result;
    4333             :   }
    4334             :   {
    4335             :     /* %typemap(ret) OGRErr */
    4336             :     
    4337             :   }
    4338           0 :   return jresult;
    4339             : }
    4340             : 
    4341             : 
    4342           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetOS___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    4343             :   int jresult ;
    4344           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4345             :   double arg2 ;
    4346             :   double arg3 ;
    4347             :   double arg4 ;
    4348             :   double arg5 ;
    4349             :   double arg6 ;
    4350             :   OGRErr result;
    4351             :   
    4352           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4353           0 :   arg2 = (double)jarg2; 
    4354           0 :   arg3 = (double)jarg3; 
    4355           0 :   arg4 = (double)jarg4; 
    4356           0 :   arg5 = (double)jarg5; 
    4357           0 :   arg6 = (double)jarg6; 
    4358             :   {
    4359           0 :     CPLErrorReset();
    4360           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetOS(arg1,arg2,arg3,arg4,arg5,arg6);
    4361           0 :     CPLErr eclass = CPLGetLastErrorType();
    4362           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4363           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4364             :       
    4365             :       
    4366             :       
    4367             :     }
    4368             :   }
    4369             :   {
    4370             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4371           0 :     jresult = result;
    4372             :   }
    4373             :   {
    4374             :     /* %typemap(ret) OGRErr */
    4375             :     
    4376             :   }
    4377           0 :   return jresult;
    4378             : }
    4379             : 
    4380             : 
    4381           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetOrthographic___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    4382             :   int jresult ;
    4383           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4384             :   double arg2 ;
    4385             :   double arg3 ;
    4386             :   double arg4 ;
    4387             :   double arg5 ;
    4388             :   OGRErr result;
    4389             :   
    4390           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4391           0 :   arg2 = (double)jarg2; 
    4392           0 :   arg3 = (double)jarg3; 
    4393           0 :   arg4 = (double)jarg4; 
    4394           0 :   arg5 = (double)jarg5; 
    4395             :   {
    4396           0 :     CPLErrorReset();
    4397           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetOrthographic(arg1,arg2,arg3,arg4,arg5);
    4398           0 :     CPLErr eclass = CPLGetLastErrorType();
    4399           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4400           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4401             :       
    4402             :       
    4403             :       
    4404             :     }
    4405             :   }
    4406             :   {
    4407             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4408           0 :     jresult = result;
    4409             :   }
    4410             :   {
    4411             :     /* %typemap(ret) OGRErr */
    4412             :     
    4413             :   }
    4414           0 :   return jresult;
    4415             : }
    4416             : 
    4417             : 
    4418           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetPolyconic___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    4419             :   int jresult ;
    4420           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4421             :   double arg2 ;
    4422             :   double arg3 ;
    4423             :   double arg4 ;
    4424             :   double arg5 ;
    4425             :   OGRErr result;
    4426             :   
    4427           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4428           0 :   arg2 = (double)jarg2; 
    4429           0 :   arg3 = (double)jarg3; 
    4430           0 :   arg4 = (double)jarg4; 
    4431           0 :   arg5 = (double)jarg5; 
    4432             :   {
    4433           0 :     CPLErrorReset();
    4434           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetPolyconic(arg1,arg2,arg3,arg4,arg5);
    4435           0 :     CPLErr eclass = CPLGetLastErrorType();
    4436           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4437           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4438             :       
    4439             :       
    4440             :       
    4441             :     }
    4442             :   }
    4443             :   {
    4444             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4445           0 :     jresult = result;
    4446             :   }
    4447             :   {
    4448             :     /* %typemap(ret) OGRErr */
    4449             :     
    4450             :   }
    4451           0 :   return jresult;
    4452             : }
    4453             : 
    4454             : 
    4455           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetPS___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    4456             :   int jresult ;
    4457           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4458             :   double arg2 ;
    4459             :   double arg3 ;
    4460             :   double arg4 ;
    4461             :   double arg5 ;
    4462             :   double arg6 ;
    4463             :   OGRErr result;
    4464             :   
    4465           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4466           0 :   arg2 = (double)jarg2; 
    4467           0 :   arg3 = (double)jarg3; 
    4468           0 :   arg4 = (double)jarg4; 
    4469           0 :   arg5 = (double)jarg5; 
    4470           0 :   arg6 = (double)jarg6; 
    4471             :   {
    4472           0 :     CPLErrorReset();
    4473           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetPS(arg1,arg2,arg3,arg4,arg5,arg6);
    4474           0 :     CPLErr eclass = CPLGetLastErrorType();
    4475           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4476           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4477             :       
    4478             :       
    4479             :       
    4480             :     }
    4481             :   }
    4482             :   {
    4483             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4484           0 :     jresult = result;
    4485             :   }
    4486             :   {
    4487             :     /* %typemap(ret) OGRErr */
    4488             :     
    4489             :   }
    4490           0 :   return jresult;
    4491             : }
    4492             : 
    4493             : 
    4494           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetRobinson___(void * jarg1, double jarg2, double jarg3, double jarg4) {
    4495             :   int jresult ;
    4496           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4497             :   double arg2 ;
    4498             :   double arg3 ;
    4499             :   double arg4 ;
    4500             :   OGRErr result;
    4501             :   
    4502           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4503           0 :   arg2 = (double)jarg2; 
    4504           0 :   arg3 = (double)jarg3; 
    4505           0 :   arg4 = (double)jarg4; 
    4506             :   {
    4507           0 :     CPLErrorReset();
    4508           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetRobinson(arg1,arg2,arg3,arg4);
    4509           0 :     CPLErr eclass = CPLGetLastErrorType();
    4510           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4511           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4512             :       
    4513             :       
    4514             :       
    4515             :     }
    4516             :   }
    4517             :   {
    4518             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4519           0 :     jresult = result;
    4520             :   }
    4521             :   {
    4522             :     /* %typemap(ret) OGRErr */
    4523             :     
    4524             :   }
    4525           0 :   return jresult;
    4526             : }
    4527             : 
    4528             : 
    4529           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetSinusoidal___(void * jarg1, double jarg2, double jarg3, double jarg4) {
    4530             :   int jresult ;
    4531           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4532             :   double arg2 ;
    4533             :   double arg3 ;
    4534             :   double arg4 ;
    4535             :   OGRErr result;
    4536             :   
    4537           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4538           0 :   arg2 = (double)jarg2; 
    4539           0 :   arg3 = (double)jarg3; 
    4540           0 :   arg4 = (double)jarg4; 
    4541             :   {
    4542           0 :     CPLErrorReset();
    4543           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetSinusoidal(arg1,arg2,arg3,arg4);
    4544           0 :     CPLErr eclass = CPLGetLastErrorType();
    4545           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4546           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4547             :       
    4548             :       
    4549             :       
    4550             :     }
    4551             :   }
    4552             :   {
    4553             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4554           0 :     jresult = result;
    4555             :   }
    4556             :   {
    4557             :     /* %typemap(ret) OGRErr */
    4558             :     
    4559             :   }
    4560           0 :   return jresult;
    4561             : }
    4562             : 
    4563             : 
    4564           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetStereographic___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    4565             :   int jresult ;
    4566           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4567             :   double arg2 ;
    4568             :   double arg3 ;
    4569             :   double arg4 ;
    4570             :   double arg5 ;
    4571             :   double arg6 ;
    4572             :   OGRErr result;
    4573             :   
    4574           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4575           0 :   arg2 = (double)jarg2; 
    4576           0 :   arg3 = (double)jarg3; 
    4577           0 :   arg4 = (double)jarg4; 
    4578           0 :   arg5 = (double)jarg5; 
    4579           0 :   arg6 = (double)jarg6; 
    4580             :   {
    4581           0 :     CPLErrorReset();
    4582           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetStereographic(arg1,arg2,arg3,arg4,arg5,arg6);
    4583           0 :     CPLErr eclass = CPLGetLastErrorType();
    4584           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4585           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4586             :       
    4587             :       
    4588             :       
    4589             :     }
    4590             :   }
    4591             :   {
    4592             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4593           0 :     jresult = result;
    4594             :   }
    4595             :   {
    4596             :     /* %typemap(ret) OGRErr */
    4597             :     
    4598             :   }
    4599           0 :   return jresult;
    4600             : }
    4601             : 
    4602             : 
    4603           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetSOC___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    4604             :   int jresult ;
    4605           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4606             :   double arg2 ;
    4607             :   double arg3 ;
    4608             :   double arg4 ;
    4609             :   double arg5 ;
    4610             :   OGRErr result;
    4611             :   
    4612           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4613           0 :   arg2 = (double)jarg2; 
    4614           0 :   arg3 = (double)jarg3; 
    4615           0 :   arg4 = (double)jarg4; 
    4616           0 :   arg5 = (double)jarg5; 
    4617             :   {
    4618           0 :     CPLErrorReset();
    4619           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetSOC(arg1,arg2,arg3,arg4,arg5);
    4620           0 :     CPLErr eclass = CPLGetLastErrorType();
    4621           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4622           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4623             :       
    4624             :       
    4625             :       
    4626             :     }
    4627             :   }
    4628             :   {
    4629             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4630           0 :     jresult = result;
    4631             :   }
    4632             :   {
    4633             :     /* %typemap(ret) OGRErr */
    4634             :     
    4635             :   }
    4636           0 :   return jresult;
    4637             : }
    4638             : 
    4639             : 
    4640           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetTM___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    4641             :   int jresult ;
    4642           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4643             :   double arg2 ;
    4644             :   double arg3 ;
    4645             :   double arg4 ;
    4646             :   double arg5 ;
    4647             :   double arg6 ;
    4648             :   OGRErr result;
    4649             :   
    4650           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4651           0 :   arg2 = (double)jarg2; 
    4652           0 :   arg3 = (double)jarg3; 
    4653           0 :   arg4 = (double)jarg4; 
    4654           0 :   arg5 = (double)jarg5; 
    4655           0 :   arg6 = (double)jarg6; 
    4656             :   {
    4657           0 :     CPLErrorReset();
    4658           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetTM(arg1,arg2,arg3,arg4,arg5,arg6);
    4659           0 :     CPLErr eclass = CPLGetLastErrorType();
    4660           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4661           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4662             :       
    4663             :       
    4664             :       
    4665             :     }
    4666             :   }
    4667             :   {
    4668             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4669           0 :     jresult = result;
    4670             :   }
    4671             :   {
    4672             :     /* %typemap(ret) OGRErr */
    4673             :     
    4674             :   }
    4675           0 :   return jresult;
    4676             : }
    4677             : 
    4678             : 
    4679           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetTMVariant___(void * jarg1, char * jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7) {
    4680             :   int jresult ;
    4681           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4682           0 :   char *arg2 = (char *) 0 ;
    4683             :   double arg3 ;
    4684             :   double arg4 ;
    4685             :   double arg5 ;
    4686             :   double arg6 ;
    4687             :   double arg7 ;
    4688             :   OGRErr result;
    4689             :   
    4690           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4691           0 :   arg2 = (char *)jarg2; 
    4692           0 :   arg3 = (double)jarg3; 
    4693           0 :   arg4 = (double)jarg4; 
    4694           0 :   arg5 = (double)jarg5; 
    4695           0 :   arg6 = (double)jarg6; 
    4696           0 :   arg7 = (double)jarg7; 
    4697             :   {
    4698           0 :     CPLErrorReset();
    4699           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetTMVariant(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7);
    4700           0 :     CPLErr eclass = CPLGetLastErrorType();
    4701           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4702           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4703             :       
    4704             :       
    4705             :       
    4706             :     }
    4707             :   }
    4708             :   {
    4709             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4710           0 :     jresult = result;
    4711             :   }
    4712             :   {
    4713             :     /* %typemap(ret) OGRErr */
    4714             :     
    4715             :   }
    4716           0 :   return jresult;
    4717             : }
    4718             : 
    4719             : 
    4720           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetTMG___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    4721             :   int jresult ;
    4722           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4723             :   double arg2 ;
    4724             :   double arg3 ;
    4725             :   double arg4 ;
    4726             :   double arg5 ;
    4727             :   OGRErr result;
    4728             :   
    4729           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4730           0 :   arg2 = (double)jarg2; 
    4731           0 :   arg3 = (double)jarg3; 
    4732           0 :   arg4 = (double)jarg4; 
    4733           0 :   arg5 = (double)jarg5; 
    4734             :   {
    4735           0 :     CPLErrorReset();
    4736           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetTMG(arg1,arg2,arg3,arg4,arg5);
    4737           0 :     CPLErr eclass = CPLGetLastErrorType();
    4738           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4739           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4740             :       
    4741             :       
    4742             :       
    4743             :     }
    4744             :   }
    4745             :   {
    4746             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4747           0 :     jresult = result;
    4748             :   }
    4749             :   {
    4750             :     /* %typemap(ret) OGRErr */
    4751             :     
    4752             :   }
    4753           0 :   return jresult;
    4754             : }
    4755             : 
    4756             : 
    4757           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetTMSO___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    4758             :   int jresult ;
    4759           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4760             :   double arg2 ;
    4761             :   double arg3 ;
    4762             :   double arg4 ;
    4763             :   double arg5 ;
    4764             :   double arg6 ;
    4765             :   OGRErr result;
    4766             :   
    4767           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4768           0 :   arg2 = (double)jarg2; 
    4769           0 :   arg3 = (double)jarg3; 
    4770           0 :   arg4 = (double)jarg4; 
    4771           0 :   arg5 = (double)jarg5; 
    4772           0 :   arg6 = (double)jarg6; 
    4773             :   {
    4774           0 :     CPLErrorReset();
    4775           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetTMSO(arg1,arg2,arg3,arg4,arg5,arg6);
    4776           0 :     CPLErr eclass = CPLGetLastErrorType();
    4777           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4778           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4779             :       
    4780             :       
    4781             :       
    4782             :     }
    4783             :   }
    4784             :   {
    4785             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4786           0 :     jresult = result;
    4787             :   }
    4788             :   {
    4789             :     /* %typemap(ret) OGRErr */
    4790             :     
    4791             :   }
    4792           0 :   return jresult;
    4793             : }
    4794             : 
    4795             : 
    4796           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetVDG___(void * jarg1, double jarg2, double jarg3, double jarg4) {
    4797             :   int jresult ;
    4798           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4799             :   double arg2 ;
    4800             :   double arg3 ;
    4801             :   double arg4 ;
    4802             :   OGRErr result;
    4803             :   
    4804           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4805           0 :   arg2 = (double)jarg2; 
    4806           0 :   arg3 = (double)jarg3; 
    4807           0 :   arg4 = (double)jarg4; 
    4808             :   {
    4809           0 :     CPLErrorReset();
    4810           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetVDG(arg1,arg2,arg3,arg4);
    4811           0 :     CPLErr eclass = CPLGetLastErrorType();
    4812           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4813           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4814             :       
    4815             :       
    4816             :       
    4817             :     }
    4818             :   }
    4819             :   {
    4820             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4821           0 :     jresult = result;
    4822             :   }
    4823             :   {
    4824             :     /* %typemap(ret) OGRErr */
    4825             :     
    4826             :   }
    4827           0 :   return jresult;
    4828             : }
    4829             : 
    4830             : 
    4831           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetVerticalPerspective___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7) {
    4832             :   int jresult ;
    4833           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4834             :   double arg2 ;
    4835             :   double arg3 ;
    4836             :   double arg4 ;
    4837             :   double arg5 ;
    4838             :   double arg6 ;
    4839             :   double arg7 ;
    4840             :   OGRErr result;
    4841             :   
    4842           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4843           0 :   arg2 = (double)jarg2; 
    4844           0 :   arg3 = (double)jarg3; 
    4845           0 :   arg4 = (double)jarg4; 
    4846           0 :   arg5 = (double)jarg5; 
    4847           0 :   arg6 = (double)jarg6; 
    4848           0 :   arg7 = (double)jarg7; 
    4849             :   {
    4850           0 :     CPLErrorReset();
    4851           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetVerticalPerspective(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    4852           0 :     CPLErr eclass = CPLGetLastErrorType();
    4853           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4854           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4855             :       
    4856             :       
    4857             :       
    4858             :     }
    4859             :   }
    4860             :   {
    4861             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4862           0 :     jresult = result;
    4863             :   }
    4864             :   {
    4865             :     /* %typemap(ret) OGRErr */
    4866             :     
    4867             :   }
    4868           0 :   return jresult;
    4869             : }
    4870             : 
    4871             : 
    4872           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetWellKnownGeogCS___(void * jarg1, char * jarg2) {
    4873             :   int jresult ;
    4874           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4875           0 :   char *arg2 = (char *) 0 ;
    4876             :   OGRErr result;
    4877             :   
    4878           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4879           0 :   arg2 = (char *)jarg2; 
    4880             :   {
    4881           0 :     if (!arg2) {
    4882             :       {
    4883           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    4884             :       };
    4885             :     }
    4886             :   }
    4887             :   {
    4888           0 :     CPLErrorReset();
    4889           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetWellKnownGeogCS(arg1,(char const *)arg2);
    4890           0 :     CPLErr eclass = CPLGetLastErrorType();
    4891           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4892           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4893             :       
    4894             :       
    4895             :       
    4896             :     }
    4897             :   }
    4898             :   {
    4899             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4900           0 :     jresult = result;
    4901             :   }
    4902             :   {
    4903             :     /* %typemap(ret) OGRErr */
    4904             :     
    4905             :   }
    4906           0 :   return jresult;
    4907             : }
    4908             : 
    4909             : 
    4910           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetFromUserInput__SWIG_0___(void * jarg1, char * jarg2) {
    4911             :   int jresult ;
    4912           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4913           0 :   char *arg2 = (char *) 0 ;
    4914             :   OGRErr result;
    4915             :   
    4916           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4917           0 :   arg2 = (char *)jarg2; 
    4918             :   {
    4919           0 :     if (!arg2) {
    4920             :       {
    4921           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    4922             :       };
    4923             :     }
    4924             :   }
    4925             :   {
    4926           0 :     CPLErrorReset();
    4927           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetFromUserInput__SWIG_0(arg1,(char const *)arg2);
    4928           0 :     CPLErr eclass = CPLGetLastErrorType();
    4929           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4930           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4931             :       
    4932             :       
    4933             :       
    4934             :     }
    4935             :   }
    4936             :   {
    4937             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4938           0 :     jresult = result;
    4939             :   }
    4940             :   {
    4941             :     /* %typemap(ret) OGRErr */
    4942             :     
    4943             :   }
    4944           0 :   return jresult;
    4945             : }
    4946             : 
    4947             : 
    4948           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetFromUserInput__SWIG_1___(void * jarg1, char * jarg2, void * jarg3) {
    4949             :   int jresult ;
    4950           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4951           0 :   char *arg2 = (char *) 0 ;
    4952           0 :   char **arg3 = (char **) 0 ;
    4953             :   OGRErr result;
    4954             :   
    4955           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4956           0 :   arg2 = (char *)jarg2; 
    4957           0 :   arg3 = (char **)jarg3; 
    4958             :   {
    4959           0 :     if (!arg2) {
    4960             :       {
    4961           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    4962             :       };
    4963             :     }
    4964             :   }
    4965             :   {
    4966           0 :     CPLErrorReset();
    4967           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetFromUserInput__SWIG_1(arg1,(char const *)arg2,arg3);
    4968           0 :     CPLErr eclass = CPLGetLastErrorType();
    4969           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    4970           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    4971             :       
    4972             :       
    4973             :       
    4974             :     }
    4975             :   }
    4976             :   {
    4977             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    4978           0 :     jresult = result;
    4979             :   }
    4980             :   {
    4981             :     /* %typemap(ret) OGRErr */
    4982             :     
    4983             :   }
    4984           0 :   return jresult;
    4985             : }
    4986             : 
    4987             : 
    4988           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_CopyGeogCSFrom___(void * jarg1, void * jarg2) {
    4989             :   int jresult ;
    4990           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    4991           0 :   OSRSpatialReferenceShadow *arg2 = (OSRSpatialReferenceShadow *) 0 ;
    4992             :   OGRErr result;
    4993             :   
    4994           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    4995           0 :   arg2 = (OSRSpatialReferenceShadow *)jarg2; 
    4996             :   {
    4997           0 :     if (!arg2) {
    4998             :       {
    4999           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5000             :       };
    5001             :     }
    5002             :   }
    5003             :   {
    5004           0 :     CPLErrorReset();
    5005           0 :     result = (OGRErr)OSRSpatialReferenceShadow_CopyGeogCSFrom(arg1,arg2);
    5006           0 :     CPLErr eclass = CPLGetLastErrorType();
    5007           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5008           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5009             :       
    5010             :       
    5011             :       
    5012             :     }
    5013             :   }
    5014             :   {
    5015             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5016           0 :     jresult = result;
    5017             :   }
    5018             :   {
    5019             :     /* %typemap(ret) OGRErr */
    5020             :     
    5021             :   }
    5022           0 :   return jresult;
    5023             : }
    5024             : 
    5025             : 
    5026           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetTOWGS84___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8) {
    5027             :   int jresult ;
    5028           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5029             :   double arg2 ;
    5030             :   double arg3 ;
    5031             :   double arg4 ;
    5032           0 :   double arg5 = (double) 0.0 ;
    5033           0 :   double arg6 = (double) 0.0 ;
    5034           0 :   double arg7 = (double) 0.0 ;
    5035           0 :   double arg8 = (double) 0.0 ;
    5036             :   OGRErr result;
    5037             :   
    5038           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5039           0 :   arg2 = (double)jarg2; 
    5040           0 :   arg3 = (double)jarg3; 
    5041           0 :   arg4 = (double)jarg4; 
    5042           0 :   arg5 = (double)jarg5; 
    5043           0 :   arg6 = (double)jarg6; 
    5044           0 :   arg7 = (double)jarg7; 
    5045           0 :   arg8 = (double)jarg8; 
    5046             :   {
    5047           0 :     CPLErrorReset();
    5048           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetTOWGS84(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    5049           0 :     CPLErr eclass = CPLGetLastErrorType();
    5050           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5051           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5052             :       
    5053             :       
    5054             :       
    5055             :     }
    5056             :   }
    5057             :   {
    5058             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5059           0 :     jresult = result;
    5060             :   }
    5061             :   {
    5062             :     /* %typemap(ret) OGRErr */
    5063             :     
    5064             :   }
    5065           0 :   return jresult;
    5066             : }
    5067             : 
    5068             : 
    5069           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_HasTOWGS84___(void * jarg1) {
    5070             :   unsigned int jresult ;
    5071           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5072             :   bool result;
    5073             :   
    5074           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5075             :   {
    5076           0 :     CPLErrorReset();
    5077           0 :     result = (bool)OSRSpatialReferenceShadow_HasTOWGS84(arg1);
    5078           0 :     CPLErr eclass = CPLGetLastErrorType();
    5079           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5080           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5081             :       
    5082             :       
    5083             :       
    5084             :     }
    5085             :   }
    5086           0 :   jresult = result; 
    5087           0 :   return jresult;
    5088             : }
    5089             : 
    5090             : 
    5091           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_GetTOWGS84___(void * jarg1, void * jarg2) {
    5092             :   int jresult ;
    5093           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5094             :   double *arg2 ;
    5095             :   OGRErr result;
    5096             :   
    5097           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5098             :   {
    5099             :     /* %typemap(in) (double argout[ANY]) */
    5100           0 :     arg2 = (double *)jarg2;
    5101             :   }
    5102             :   {
    5103           0 :     CPLErrorReset();
    5104           0 :     result = (OGRErr)OSRSpatialReferenceShadow_GetTOWGS84(arg1,arg2);
    5105           0 :     CPLErr eclass = CPLGetLastErrorType();
    5106           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5107           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5108             :       
    5109             :       
    5110             :       
    5111             :     }
    5112             :   }
    5113             :   {
    5114             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5115           0 :     jresult = result;
    5116             :   }
    5117             :   {
    5118             :     /* %typemap(ret) OGRErr */
    5119             :     
    5120             :   }
    5121           0 :   return jresult;
    5122             : }
    5123             : 
    5124             : 
    5125           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_AddGuessedTOWGS84___(void * jarg1) {
    5126             :   int jresult ;
    5127           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5128             :   OGRErr result;
    5129             :   
    5130           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5131             :   {
    5132           0 :     CPLErrorReset();
    5133           0 :     result = (OGRErr)OSRSpatialReferenceShadow_AddGuessedTOWGS84(arg1);
    5134           0 :     CPLErr eclass = CPLGetLastErrorType();
    5135           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5136           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5137             :       
    5138             :       
    5139             :       
    5140             :     }
    5141             :   }
    5142             :   {
    5143             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5144           0 :     jresult = result;
    5145             :   }
    5146             :   {
    5147             :     /* %typemap(ret) OGRErr */
    5148             :     
    5149             :   }
    5150           0 :   return jresult;
    5151             : }
    5152             : 
    5153             : 
    5154           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetLocalCS___(void * jarg1, char * jarg2) {
    5155             :   int jresult ;
    5156           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5157           0 :   char *arg2 = (char *) 0 ;
    5158             :   OGRErr result;
    5159             :   
    5160           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5161           0 :   arg2 = (char *)jarg2; 
    5162             :   {
    5163           0 :     CPLErrorReset();
    5164           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetLocalCS(arg1,(char const *)arg2);
    5165           0 :     CPLErr eclass = CPLGetLastErrorType();
    5166           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5167           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5168             :       
    5169             :       
    5170             :       
    5171             :     }
    5172             :   }
    5173             :   {
    5174             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5175           0 :     jresult = result;
    5176             :   }
    5177             :   {
    5178             :     /* %typemap(ret) OGRErr */
    5179             :     
    5180             :   }
    5181           0 :   return jresult;
    5182             : }
    5183             : 
    5184             : 
    5185           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetGeogCS___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, double jarg5, double jarg6, char * jarg7, double jarg8, char * jarg9, double jarg10) {
    5186             :   int jresult ;
    5187           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5188           0 :   char *arg2 = (char *) 0 ;
    5189           0 :   char *arg3 = (char *) 0 ;
    5190           0 :   char *arg4 = (char *) 0 ;
    5191             :   double arg5 ;
    5192             :   double arg6 ;
    5193           0 :   char *arg7 = (char *) "Greenwich" ;
    5194           0 :   double arg8 = (double) 0.0 ;
    5195           0 :   char *arg9 = (char *) "degree" ;
    5196           0 :   double arg10 = (double) 0.0174532925199433 ;
    5197             :   OGRErr result;
    5198             :   
    5199           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5200           0 :   arg2 = (char *)jarg2; 
    5201           0 :   arg3 = (char *)jarg3; 
    5202           0 :   arg4 = (char *)jarg4; 
    5203           0 :   arg5 = (double)jarg5; 
    5204           0 :   arg6 = (double)jarg6; 
    5205           0 :   arg7 = (char *)jarg7; 
    5206           0 :   arg8 = (double)jarg8; 
    5207           0 :   arg9 = (char *)jarg9; 
    5208           0 :   arg10 = (double)jarg10; 
    5209             :   {
    5210           0 :     CPLErrorReset();
    5211           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetGeogCS(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,(char const *)arg7,arg8,(char const *)arg9,arg10);
    5212           0 :     CPLErr eclass = CPLGetLastErrorType();
    5213           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5214           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5215             :       
    5216             :       
    5217             :       
    5218             :     }
    5219             :   }
    5220             :   {
    5221             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5222           0 :     jresult = result;
    5223             :   }
    5224             :   {
    5225             :     /* %typemap(ret) OGRErr */
    5226             :     
    5227             :   }
    5228           0 :   return jresult;
    5229             : }
    5230             : 
    5231             : 
    5232           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetProjCS___(void * jarg1, char * jarg2) {
    5233             :   int jresult ;
    5234           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5235           0 :   char *arg2 = (char *) "unnamed" ;
    5236             :   OGRErr result;
    5237             :   
    5238           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5239           0 :   arg2 = (char *)jarg2; 
    5240             :   {
    5241           0 :     if (!arg2) {
    5242             :       {
    5243           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5244             :       };
    5245             :     }
    5246             :   }
    5247             :   {
    5248           0 :     CPLErrorReset();
    5249           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetProjCS(arg1,(char const *)arg2);
    5250           0 :     CPLErr eclass = CPLGetLastErrorType();
    5251           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5252           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5253             :       
    5254             :       
    5255             :       
    5256             :     }
    5257             :   }
    5258             :   {
    5259             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5260           0 :     jresult = result;
    5261             :   }
    5262             :   {
    5263             :     /* %typemap(ret) OGRErr */
    5264             :     
    5265             :   }
    5266           0 :   return jresult;
    5267             : }
    5268             : 
    5269             : 
    5270           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetGeocCS___(void * jarg1, char * jarg2) {
    5271             :   int jresult ;
    5272           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5273           0 :   char *arg2 = (char *) "unnamed" ;
    5274             :   OGRErr result;
    5275             :   
    5276           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5277           0 :   arg2 = (char *)jarg2; 
    5278             :   {
    5279           0 :     if (!arg2) {
    5280             :       {
    5281           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5282             :       };
    5283             :     }
    5284             :   }
    5285             :   {
    5286           0 :     CPLErrorReset();
    5287           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetGeocCS(arg1,(char const *)arg2);
    5288           0 :     CPLErr eclass = CPLGetLastErrorType();
    5289           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5290           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5291             :       
    5292             :       
    5293             :       
    5294             :     }
    5295             :   }
    5296             :   {
    5297             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5298           0 :     jresult = result;
    5299             :   }
    5300             :   {
    5301             :     /* %typemap(ret) OGRErr */
    5302             :     
    5303             :   }
    5304           0 :   return jresult;
    5305             : }
    5306             : 
    5307             : 
    5308           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetVertCS___(void * jarg1, char * jarg2, char * jarg3, int jarg4) {
    5309             :   int jresult ;
    5310           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5311           0 :   char *arg2 = (char *) "unnamed" ;
    5312           0 :   char *arg3 = (char *) "unnamed" ;
    5313           0 :   int arg4 = (int) 0 ;
    5314             :   OGRErr result;
    5315             :   
    5316           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5317           0 :   arg2 = (char *)jarg2; 
    5318           0 :   arg3 = (char *)jarg3; 
    5319           0 :   arg4 = (int)jarg4; 
    5320             :   {
    5321           0 :     CPLErrorReset();
    5322           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetVertCS(arg1,(char const *)arg2,(char const *)arg3,arg4);
    5323           0 :     CPLErr eclass = CPLGetLastErrorType();
    5324           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5325           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5326             :       
    5327             :       
    5328             :       
    5329             :     }
    5330             :   }
    5331             :   {
    5332             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5333           0 :     jresult = result;
    5334             :   }
    5335             :   {
    5336             :     /* %typemap(ret) OGRErr */
    5337             :     
    5338             :   }
    5339           0 :   return jresult;
    5340             : }
    5341             : 
    5342             : 
    5343           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_SetCompoundCS___(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {
    5344             :   int jresult ;
    5345           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5346           0 :   char *arg2 = (char *) 0 ;
    5347           0 :   OSRSpatialReferenceShadow *arg3 = (OSRSpatialReferenceShadow *) 0 ;
    5348           0 :   OSRSpatialReferenceShadow *arg4 = (OSRSpatialReferenceShadow *) 0 ;
    5349             :   OGRErr result;
    5350             :   
    5351           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5352           0 :   arg2 = (char *)jarg2; 
    5353           0 :   arg3 = (OSRSpatialReferenceShadow *)jarg3; 
    5354           0 :   arg4 = (OSRSpatialReferenceShadow *)jarg4; 
    5355             :   {
    5356           0 :     if (!arg2) {
    5357             :       {
    5358           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5359             :       };
    5360             :     }
    5361             :   }
    5362             :   {
    5363           0 :     if (!arg3) {
    5364             :       {
    5365           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5366             :       };
    5367             :     }
    5368             :   }
    5369             :   {
    5370           0 :     if (!arg4) {
    5371             :       {
    5372           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5373             :       };
    5374             :     }
    5375             :   }
    5376             :   {
    5377           0 :     CPLErrorReset();
    5378           0 :     result = (OGRErr)OSRSpatialReferenceShadow_SetCompoundCS(arg1,(char const *)arg2,arg3,arg4);
    5379           0 :     CPLErr eclass = CPLGetLastErrorType();
    5380           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5381           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5382             :       
    5383             :       
    5384             :       
    5385             :     }
    5386             :   }
    5387             :   {
    5388             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5389           0 :     jresult = result;
    5390             :   }
    5391             :   {
    5392             :     /* %typemap(ret) OGRErr */
    5393             :     
    5394             :   }
    5395           0 :   return jresult;
    5396             : }
    5397             : 
    5398             : 
    5399           1 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromWkt___(void * jarg1, void * jarg2) {
    5400             :   int jresult ;
    5401           1 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5402           1 :   char **arg2 = (char **) 0 ;
    5403             :   OGRErr result;
    5404             :   
    5405           1 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5406             :   /* %typemap(in) (char **ignorechange) */
    5407           1 :   char * savearg = *((char **)jarg2);
    5408           1 :   arg2 = (char **)jarg2;
    5409             :   {
    5410           1 :     CPLErrorReset();
    5411           1 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromWkt(arg1,arg2);
    5412           1 :     CPLErr eclass = CPLGetLastErrorType();
    5413           1 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5414           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5415             :       
    5416             :       
    5417             :       
    5418             :     }
    5419             :   }
    5420             :   {
    5421             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5422           1 :     jresult = result;
    5423             :   }
    5424             :   /* %typemap(argout) (char **ignorechange) */
    5425           1 :   if ((*arg2 - savearg) > 0)
    5426           0 :   memmove(savearg, *arg2, strlen(*arg2)+1);
    5427           1 :   *arg2 = savearg;
    5428             :   {
    5429             :     /* %typemap(ret) OGRErr */
    5430             :     
    5431             :   }
    5432           1 :   return jresult;
    5433             : }
    5434             : 
    5435             : 
    5436           2 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromProj4___(void * jarg1, char * jarg2) {
    5437             :   int jresult ;
    5438           2 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5439           2 :   char *arg2 = (char *) 0 ;
    5440             :   OGRErr result;
    5441             :   
    5442           2 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5443           2 :   arg2 = (char *)jarg2; 
    5444             :   {
    5445           2 :     CPLErrorReset();
    5446           2 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromProj4(arg1,arg2);
    5447           2 :     CPLErr eclass = CPLGetLastErrorType();
    5448           2 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5449           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5450             :       
    5451             :       
    5452             :       
    5453             :     }
    5454             :   }
    5455             :   {
    5456             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5457           2 :     jresult = result;
    5458             :   }
    5459             :   {
    5460             :     /* %typemap(ret) OGRErr */
    5461             :     
    5462             :   }
    5463           2 :   return jresult;
    5464             : }
    5465             : 
    5466             : 
    5467           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromUrl___(void * jarg1, char * jarg2) {
    5468             :   int jresult ;
    5469           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5470           0 :   char *arg2 = (char *) 0 ;
    5471             :   OGRErr result;
    5472             :   
    5473           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5474           0 :   arg2 = (char *)jarg2; 
    5475             :   {
    5476           0 :     if (!arg2) {
    5477             :       {
    5478           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5479             :       };
    5480             :     }
    5481             :   }
    5482             :   {
    5483           0 :     CPLErrorReset();
    5484           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromUrl(arg1,arg2);
    5485           0 :     CPLErr eclass = CPLGetLastErrorType();
    5486           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5487           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5488             :       
    5489             :       
    5490             :       
    5491             :     }
    5492             :   }
    5493             :   {
    5494             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5495           0 :     jresult = result;
    5496             :   }
    5497             :   {
    5498             :     /* %typemap(ret) OGRErr */
    5499             :     
    5500             :   }
    5501           0 :   return jresult;
    5502             : }
    5503             : 
    5504             : 
    5505           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromESRI___(void * jarg1, void * jarg2) {
    5506             :   int jresult ;
    5507           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5508           0 :   char **arg2 = (char **) 0 ;
    5509             :   OGRErr result;
    5510             :   
    5511           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5512           0 :   arg2 = (char **)jarg2; 
    5513             :   {
    5514           0 :     CPLErrorReset();
    5515           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromESRI(arg1,arg2);
    5516           0 :     CPLErr eclass = CPLGetLastErrorType();
    5517           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5518           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5519             :       
    5520             :       
    5521             :       
    5522             :     }
    5523             :   }
    5524             :   {
    5525             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5526           0 :     jresult = result;
    5527             :   }
    5528             :   {
    5529             :     /* %typemap(ret) OGRErr */
    5530             :     
    5531             :   }
    5532           0 :   return jresult;
    5533             : }
    5534             : 
    5535             : 
    5536           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromEPSG___(void * jarg1, int jarg2) {
    5537             :   int jresult ;
    5538           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5539             :   int arg2 ;
    5540             :   OGRErr result;
    5541             :   
    5542           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5543           0 :   arg2 = (int)jarg2; 
    5544             :   {
    5545           0 :     CPLErrorReset();
    5546           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromEPSG(arg1,arg2);
    5547           0 :     CPLErr eclass = CPLGetLastErrorType();
    5548           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5549           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5550             :       
    5551             :       
    5552             :       
    5553             :     }
    5554             :   }
    5555             :   {
    5556             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5557           0 :     jresult = result;
    5558             :   }
    5559             :   {
    5560             :     /* %typemap(ret) OGRErr */
    5561             :     
    5562             :   }
    5563           0 :   return jresult;
    5564             : }
    5565             : 
    5566             : 
    5567           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromEPSGA___(void * jarg1, int jarg2) {
    5568             :   int jresult ;
    5569           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5570             :   int arg2 ;
    5571             :   OGRErr result;
    5572             :   
    5573           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5574           0 :   arg2 = (int)jarg2; 
    5575             :   {
    5576           0 :     CPLErrorReset();
    5577           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromEPSGA(arg1,arg2);
    5578           0 :     CPLErr eclass = CPLGetLastErrorType();
    5579           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5580           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5581             :       
    5582             :       
    5583             :       
    5584             :     }
    5585             :   }
    5586             :   {
    5587             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5588           0 :     jresult = result;
    5589             :   }
    5590             :   {
    5591             :     /* %typemap(ret) OGRErr */
    5592             :     
    5593             :   }
    5594           0 :   return jresult;
    5595             : }
    5596             : 
    5597             : 
    5598           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromPCI___(void * jarg1, char * jarg2, char * jarg3, void * jarg4) {
    5599             :   int jresult ;
    5600           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5601           0 :   char *arg2 = (char *) 0 ;
    5602           0 :   char *arg3 = (char *) "METRE" ;
    5603           0 :   double *arg4 = (double *) (double *)0 ;
    5604             :   OGRErr result;
    5605             :   
    5606           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5607           0 :   arg2 = (char *)jarg2; 
    5608           0 :   arg3 = (char *)jarg3; 
    5609             :   {
    5610             :     /* %typemap(in) (double argin[ANY]) */
    5611           0 :     arg4 = (double *)jarg4;
    5612             :   }
    5613             :   {
    5614           0 :     CPLErrorReset();
    5615           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromPCI(arg1,(char const *)arg2,(char const *)arg3,arg4);
    5616           0 :     CPLErr eclass = CPLGetLastErrorType();
    5617           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5618           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5619             :       
    5620             :       
    5621             :       
    5622             :     }
    5623             :   }
    5624             :   {
    5625             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5626           0 :     jresult = result;
    5627             :   }
    5628             :   {
    5629             :     /* %typemap(ret) OGRErr */
    5630             :     
    5631             :   }
    5632           0 :   return jresult;
    5633             : }
    5634             : 
    5635             : 
    5636           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromUSGS___(void * jarg1, long jarg2, long jarg3, void * jarg4, long jarg5) {
    5637             :   int jresult ;
    5638           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5639             :   long arg2 ;
    5640           0 :   long arg3 = (long) 0 ;
    5641           0 :   double *arg4 = (double *) (double *)0 ;
    5642           0 :   long arg5 = (long) 0 ;
    5643             :   OGRErr result;
    5644             :   
    5645           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5646           0 :   arg2 = (long)jarg2; 
    5647           0 :   arg3 = (long)jarg3; 
    5648             :   {
    5649             :     /* %typemap(in) (double argin[ANY]) */
    5650           0 :     arg4 = (double *)jarg4;
    5651             :   }
    5652           0 :   arg5 = (long)jarg5; 
    5653             :   {
    5654           0 :     CPLErrorReset();
    5655           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromUSGS(arg1,arg2,arg3,arg4,arg5);
    5656           0 :     CPLErr eclass = CPLGetLastErrorType();
    5657           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5658           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5659             :       
    5660             :       
    5661             :       
    5662             :     }
    5663             :   }
    5664             :   {
    5665             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5666           0 :     jresult = result;
    5667             :   }
    5668             :   {
    5669             :     /* %typemap(ret) OGRErr */
    5670             :     
    5671             :   }
    5672           0 :   return jresult;
    5673             : }
    5674             : 
    5675             : 
    5676           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromXML___(void * jarg1, char * jarg2) {
    5677             :   int jresult ;
    5678           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5679           0 :   char *arg2 = (char *) 0 ;
    5680             :   OGRErr result;
    5681             :   
    5682           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5683           0 :   arg2 = (char *)jarg2; 
    5684             :   {
    5685           0 :     CPLErrorReset();
    5686           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromXML(arg1,(char const *)arg2);
    5687           0 :     CPLErr eclass = CPLGetLastErrorType();
    5688           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5689           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5690             :       
    5691             :       
    5692             :       
    5693             :     }
    5694             :   }
    5695             :   {
    5696             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5697           0 :     jresult = result;
    5698             :   }
    5699             :   {
    5700             :     /* %typemap(ret) OGRErr */
    5701             :     
    5702             :   }
    5703           0 :   return jresult;
    5704             : }
    5705             : 
    5706             : 
    5707           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromERM___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) {
    5708             :   int jresult ;
    5709           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5710           0 :   char *arg2 = (char *) 0 ;
    5711           0 :   char *arg3 = (char *) 0 ;
    5712           0 :   char *arg4 = (char *) 0 ;
    5713             :   OGRErr result;
    5714             :   
    5715           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5716           0 :   arg2 = (char *)jarg2; 
    5717           0 :   arg3 = (char *)jarg3; 
    5718           0 :   arg4 = (char *)jarg4; 
    5719             :   {
    5720           0 :     if (!arg2) {
    5721             :       {
    5722           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5723             :       };
    5724             :     }
    5725             :   }
    5726             :   {
    5727           0 :     if (!arg3) {
    5728             :       {
    5729           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5730             :       };
    5731             :     }
    5732             :   }
    5733             :   {
    5734           0 :     CPLErrorReset();
    5735           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromERM(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
    5736           0 :     CPLErr eclass = CPLGetLastErrorType();
    5737           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5738           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5739             :       
    5740             :       
    5741             :       
    5742             :     }
    5743             :   }
    5744             :   {
    5745             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5746           0 :     jresult = result;
    5747             :   }
    5748             :   {
    5749             :     /* %typemap(ret) OGRErr */
    5750             :     
    5751             :   }
    5752           0 :   return jresult;
    5753             : }
    5754             : 
    5755             : 
    5756           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromMICoordSys___(void * jarg1, char * jarg2) {
    5757             :   int jresult ;
    5758           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5759           0 :   char *arg2 = (char *) 0 ;
    5760             :   OGRErr result;
    5761             :   
    5762           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5763           0 :   arg2 = (char *)jarg2; 
    5764             :   {
    5765           0 :     CPLErrorReset();
    5766           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromMICoordSys(arg1,(char const *)arg2);
    5767           0 :     CPLErr eclass = CPLGetLastErrorType();
    5768           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5769           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5770             :       
    5771             :       
    5772             :       
    5773             :     }
    5774             :   }
    5775             :   {
    5776             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5777           0 :     jresult = result;
    5778             :   }
    5779             :   {
    5780             :     /* %typemap(ret) OGRErr */
    5781             :     
    5782             :   }
    5783           0 :   return jresult;
    5784             : }
    5785             : 
    5786             : 
    5787           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromOzi___(void * jarg1, void * jarg2) {
    5788             :   int jresult ;
    5789           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5790           0 :   char **arg2 = (char **) 0 ;
    5791             :   OGRErr result;
    5792             :   
    5793           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5794           0 :   arg2 = (char **)jarg2; 
    5795             :   {
    5796           0 :     if (!arg2) {
    5797             :       {
    5798           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    5799             :       };
    5800             :     }
    5801             :   }
    5802             :   {
    5803           0 :     CPLErrorReset();
    5804           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromOzi(arg1,(char const *const *)arg2);
    5805           0 :     CPLErr eclass = CPLGetLastErrorType();
    5806           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5807           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5808             :       
    5809             :       
    5810             :       
    5811             :     }
    5812             :   }
    5813             :   {
    5814             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5815           0 :     jresult = result;
    5816             :   }
    5817             :   {
    5818             :     /* %typemap(ret) OGRErr */
    5819             :     
    5820             :   }
    5821           0 :   return jresult;
    5822             : }
    5823             : 
    5824             : 
    5825           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ImportFromCF1___(void * jarg1, void * jarg2, char * jarg3) {
    5826             :   int jresult ;
    5827           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5828           0 :   char **arg2 = (char **) 0 ;
    5829           0 :   char *arg3 = (char *) NULL ;
    5830             :   OGRErr result;
    5831             :   
    5832           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5833           0 :   arg2 = (char **)jarg2; 
    5834           0 :   arg3 = (char *)jarg3; 
    5835             :   {
    5836           0 :     CPLErrorReset();
    5837           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ImportFromCF1(arg1,arg2,(char const *)arg3);
    5838           0 :     CPLErr eclass = CPLGetLastErrorType();
    5839           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5840           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5841             :       
    5842             :       
    5843             :       
    5844             :     }
    5845             :   }
    5846             :   {
    5847             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5848           0 :     jresult = result;
    5849             :   }
    5850             :   {
    5851             :     /* %typemap(ret) OGRErr */
    5852             :     
    5853             :   }
    5854           0 :   return jresult;
    5855             : }
    5856             : 
    5857             : 
    5858           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToWkt___(void * jarg1, void * jarg2, void * jarg3) {
    5859             :   int jresult ;
    5860           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5861           0 :   char **arg2 = (char **) 0 ;
    5862           0 :   char **arg3 = (char **) NULL ;
    5863             :   OGRErr result;
    5864             :   
    5865           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5866             :   {
    5867             :     /* %typemap(in) (char **argout) */
    5868           0 :     arg2 = (char **)jarg2;
    5869             :   }
    5870           0 :   arg3 = (char **)jarg3; 
    5871             :   {
    5872           0 :     CPLErrorReset();
    5873           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToWkt(arg1,arg2,arg3);
    5874           0 :     CPLErr eclass = CPLGetLastErrorType();
    5875           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5876           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5877             :       
    5878             :       
    5879             :       
    5880             :     }
    5881             :   }
    5882             :   {
    5883             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5884           0 :     jresult = result;
    5885             :   }
    5886             :   {
    5887             :     /* %typemap(argout) (char **argout) */
    5888             :     char* temp_string;
    5889           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    5890           0 :     if (*arg2)
    5891           0 :     CPLFree(*arg2);
    5892           0 :     *arg2 = temp_string;
    5893             :   }
    5894             :   {
    5895             :     /* %typemap(ret) OGRErr */
    5896             :     
    5897             :   }
    5898           0 :   return jresult;
    5899             : }
    5900             : 
    5901             : 
    5902           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToPrettyWkt___(void * jarg1, void * jarg2, int jarg3) {
    5903             :   int jresult ;
    5904           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5905           0 :   char **arg2 = (char **) 0 ;
    5906           0 :   int arg3 = (int) 0 ;
    5907             :   OGRErr result;
    5908             :   
    5909           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5910             :   {
    5911             :     /* %typemap(in) (char **argout) */
    5912           0 :     arg2 = (char **)jarg2;
    5913             :   }
    5914           0 :   arg3 = (int)jarg3; 
    5915             :   {
    5916           0 :     CPLErrorReset();
    5917           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToPrettyWkt(arg1,arg2,arg3);
    5918           0 :     CPLErr eclass = CPLGetLastErrorType();
    5919           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5920           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5921             :       
    5922             :       
    5923             :       
    5924             :     }
    5925             :   }
    5926             :   {
    5927             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5928           0 :     jresult = result;
    5929             :   }
    5930             :   {
    5931             :     /* %typemap(argout) (char **argout) */
    5932             :     char* temp_string;
    5933           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    5934           0 :     if (*arg2)
    5935           0 :     CPLFree(*arg2);
    5936           0 :     *arg2 = temp_string;
    5937             :   }
    5938             :   {
    5939             :     /* %typemap(ret) OGRErr */
    5940             :     
    5941             :   }
    5942           0 :   return jresult;
    5943             : }
    5944             : 
    5945             : 
    5946           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToPROJJSON___(void * jarg1, void * jarg2, void * jarg3) {
    5947             :   int jresult ;
    5948           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5949           0 :   char **arg2 = (char **) 0 ;
    5950           0 :   char **arg3 = (char **) NULL ;
    5951             :   OGRErr result;
    5952             :   
    5953           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5954             :   {
    5955             :     /* %typemap(in) (char **argout) */
    5956           0 :     arg2 = (char **)jarg2;
    5957             :   }
    5958           0 :   arg3 = (char **)jarg3; 
    5959             :   {
    5960           0 :     CPLErrorReset();
    5961           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToPROJJSON(arg1,arg2,arg3);
    5962           0 :     CPLErr eclass = CPLGetLastErrorType();
    5963           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    5964           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    5965             :       
    5966             :       
    5967             :       
    5968             :     }
    5969             :   }
    5970             :   {
    5971             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    5972           0 :     jresult = result;
    5973             :   }
    5974             :   {
    5975             :     /* %typemap(argout) (char **argout) */
    5976             :     char* temp_string;
    5977           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    5978           0 :     if (*arg2)
    5979           0 :     CPLFree(*arg2);
    5980           0 :     *arg2 = temp_string;
    5981             :   }
    5982             :   {
    5983             :     /* %typemap(ret) OGRErr */
    5984             :     
    5985             :   }
    5986           0 :   return jresult;
    5987             : }
    5988             : 
    5989             : 
    5990           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToProj4___(void * jarg1, void * jarg2) {
    5991             :   int jresult ;
    5992           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    5993           0 :   char **arg2 = (char **) 0 ;
    5994             :   OGRErr result;
    5995             :   
    5996           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    5997             :   {
    5998             :     /* %typemap(in) (char **argout) */
    5999           0 :     arg2 = (char **)jarg2;
    6000             :   }
    6001             :   {
    6002           0 :     CPLErrorReset();
    6003           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToProj4(arg1,arg2);
    6004           0 :     CPLErr eclass = CPLGetLastErrorType();
    6005           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6006           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6007             :       
    6008             :       
    6009             :       
    6010             :     }
    6011             :   }
    6012             :   {
    6013             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6014           0 :     jresult = result;
    6015             :   }
    6016             :   {
    6017             :     /* %typemap(argout) (char **argout) */
    6018             :     char* temp_string;
    6019           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    6020           0 :     if (*arg2)
    6021           0 :     CPLFree(*arg2);
    6022           0 :     *arg2 = temp_string;
    6023             :   }
    6024             :   {
    6025             :     /* %typemap(ret) OGRErr */
    6026             :     
    6027             :   }
    6028           0 :   return jresult;
    6029             : }
    6030             : 
    6031             : 
    6032           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToPCI___(void * jarg1, void * jarg2, void * jarg3) {
    6033             :   int jresult ;
    6034           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6035           0 :   char **arg2 = (char **) 0 ;
    6036           0 :   char **arg3 = (char **) 0 ;
    6037             :   double **arg4 ;
    6038             :   double *argout4[17] ;
    6039             :   OGRErr result;
    6040             :   
    6041             :   {
    6042             :     /* %typemap(in,numinputs=0) (double *argout4[ANY]) */
    6043           0 :     arg4 = (double**)&argout4;
    6044             :   }
    6045           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6046             :   {
    6047             :     /* %typemap(in) (char **argout) */
    6048           0 :     arg2 = (char **)jarg2;
    6049             :   }
    6050             :   {
    6051             :     /* %typemap(in) (char **argout) */
    6052           0 :     arg3 = (char **)jarg3;
    6053             :   }
    6054             :   {
    6055           0 :     CPLErrorReset();
    6056           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToPCI(arg1,arg2,arg3,arg4);
    6057           0 :     CPLErr eclass = CPLGetLastErrorType();
    6058           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6059           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6060             :       
    6061             :       
    6062             :       
    6063             :     }
    6064             :   }
    6065             :   {
    6066             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6067           0 :     jresult = result;
    6068             :   }
    6069             :   {
    6070             :     /* %typemap(argout) (char **argout) */
    6071             :     char* temp_string;
    6072           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    6073           0 :     if (*arg2)
    6074           0 :     CPLFree(*arg2);
    6075           0 :     *arg2 = temp_string;
    6076             :   }
    6077             :   {
    6078             :     /* %typemap(argout) (char **argout) */
    6079             :     char* temp_string;
    6080           0 :     temp_string = SWIG_csharp_string_callback(*arg3);
    6081           0 :     if (*arg3)
    6082           0 :     CPLFree(*arg3);
    6083           0 :     *arg3 = temp_string;
    6084             :   }
    6085             :   {
    6086             :     /* %typemap(argout) (double *argout[ANY]) */
    6087             :     
    6088             :   }
    6089             :   {
    6090             :     /* %typemap(freearg) (double *argout[ANY]) */
    6091             :     
    6092             :   }
    6093             :   {
    6094             :     /* %typemap(ret) OGRErr */
    6095             :     
    6096             :   }
    6097           0 :   return jresult;
    6098             : }
    6099             : 
    6100             : 
    6101           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToUSGS___(void * jarg1, long * jarg2, long * jarg3, long * jarg5) {
    6102             :   int jresult ;
    6103           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6104           0 :   long *arg2 = (long *) 0 ;
    6105           0 :   long *arg3 = (long *) 0 ;
    6106             :   double **arg4 ;
    6107           0 :   long *arg5 = (long *) 0 ;
    6108             :   double *argout4[15] ;
    6109             :   OGRErr result;
    6110             :   
    6111             :   {
    6112             :     /* %typemap(in,numinputs=0) (double *argout4[ANY]) */
    6113           0 :     arg4 = (double**)&argout4;
    6114             :   }
    6115           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6116           0 :   arg2 = (long *)jarg2; 
    6117           0 :   arg3 = (long *)jarg3; 
    6118           0 :   arg5 = (long *)jarg5; 
    6119             :   {
    6120           0 :     CPLErrorReset();
    6121           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToUSGS(arg1,arg2,arg3,arg4,arg5);
    6122           0 :     CPLErr eclass = CPLGetLastErrorType();
    6123           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6124           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6125             :       
    6126             :       
    6127             :       
    6128             :     }
    6129             :   }
    6130             :   {
    6131             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6132           0 :     jresult = result;
    6133             :   }
    6134             :   {
    6135             :     /* %typemap(argout) (double *argout[ANY]) */
    6136             :     
    6137             :   }
    6138             :   {
    6139             :     /* %typemap(freearg) (double *argout[ANY]) */
    6140             :     
    6141             :   }
    6142             :   {
    6143             :     /* %typemap(ret) OGRErr */
    6144             :     
    6145             :   }
    6146           0 :   return jresult;
    6147             : }
    6148             : 
    6149             : 
    6150           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToERM___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) {
    6151             :   int jresult ;
    6152           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6153           0 :   char **arg2 = (char **) 0 ;
    6154           0 :   char **arg3 = (char **) 0 ;
    6155           0 :   char **arg4 = (char **) 0 ;
    6156             :   OGRErr result;
    6157             :   
    6158           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6159             :   {
    6160             :     /* %typemap(in) (char **argout) */
    6161           0 :     arg2 = (char **)jarg2;
    6162             :   }
    6163             :   {
    6164             :     /* %typemap(in) (char **argout) */
    6165           0 :     arg3 = (char **)jarg3;
    6166             :   }
    6167             :   {
    6168             :     /* %typemap(in) (char **argout) */
    6169           0 :     arg4 = (char **)jarg4;
    6170             :   }
    6171             :   {
    6172           0 :     CPLErrorReset();
    6173           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToERM(arg1,arg2,arg3,arg4);
    6174           0 :     CPLErr eclass = CPLGetLastErrorType();
    6175           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6176           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6177             :       
    6178             :       
    6179             :       
    6180             :     }
    6181             :   }
    6182             :   {
    6183             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6184           0 :     jresult = result;
    6185             :   }
    6186             :   {
    6187             :     /* %typemap(argout) (char **argout) */
    6188             :     char* temp_string;
    6189           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    6190           0 :     if (*arg2)
    6191           0 :     CPLFree(*arg2);
    6192           0 :     *arg2 = temp_string;
    6193             :   }
    6194             :   {
    6195             :     /* %typemap(argout) (char **argout) */
    6196             :     char* temp_string;
    6197           0 :     temp_string = SWIG_csharp_string_callback(*arg3);
    6198           0 :     if (*arg3)
    6199           0 :     CPLFree(*arg3);
    6200           0 :     *arg3 = temp_string;
    6201             :   }
    6202             :   {
    6203             :     /* %typemap(argout) (char **argout) */
    6204             :     char* temp_string;
    6205           0 :     temp_string = SWIG_csharp_string_callback(*arg4);
    6206           0 :     if (*arg4)
    6207           0 :     CPLFree(*arg4);
    6208           0 :     *arg4 = temp_string;
    6209             :   }
    6210             :   {
    6211             :     /* %typemap(ret) OGRErr */
    6212             :     
    6213             :   }
    6214           0 :   return jresult;
    6215             : }
    6216             : 
    6217             : 
    6218           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToXML___(void * jarg1, void * jarg2, char * jarg3) {
    6219             :   int jresult ;
    6220           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6221           0 :   char **arg2 = (char **) 0 ;
    6222           0 :   char *arg3 = (char *) "" ;
    6223             :   OGRErr result;
    6224             :   
    6225           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6226             :   {
    6227             :     /* %typemap(in) (char **argout) */
    6228           0 :     arg2 = (char **)jarg2;
    6229             :   }
    6230           0 :   arg3 = (char *)jarg3; 
    6231             :   {
    6232           0 :     CPLErrorReset();
    6233           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToXML(arg1,arg2,(char const *)arg3);
    6234           0 :     CPLErr eclass = CPLGetLastErrorType();
    6235           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6236           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6237             :       
    6238             :       
    6239             :       
    6240             :     }
    6241             :   }
    6242             :   {
    6243             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6244           0 :     jresult = result;
    6245             :   }
    6246             :   {
    6247             :     /* %typemap(argout) (char **argout) */
    6248             :     char* temp_string;
    6249           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    6250           0 :     if (*arg2)
    6251           0 :     CPLFree(*arg2);
    6252           0 :     *arg2 = temp_string;
    6253             :   }
    6254             :   {
    6255             :     /* %typemap(ret) OGRErr */
    6256             :     
    6257             :   }
    6258           0 :   return jresult;
    6259             : }
    6260             : 
    6261             : 
    6262           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToMICoordSys___(void * jarg1, void * jarg2) {
    6263             :   int jresult ;
    6264           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6265           0 :   char **arg2 = (char **) 0 ;
    6266             :   OGRErr result;
    6267             :   
    6268           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6269             :   {
    6270             :     /* %typemap(in) (char **argout) */
    6271           0 :     arg2 = (char **)jarg2;
    6272             :   }
    6273             :   {
    6274           0 :     CPLErrorReset();
    6275           0 :     result = (OGRErr)OSRSpatialReferenceShadow_ExportToMICoordSys(arg1,arg2);
    6276           0 :     CPLErr eclass = CPLGetLastErrorType();
    6277           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6278           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6279             :       
    6280             :       
    6281             :       
    6282             :     }
    6283             :   }
    6284             :   {
    6285             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6286           0 :     jresult = result;
    6287             :   }
    6288             :   {
    6289             :     /* %typemap(argout) (char **argout) */
    6290             :     char* temp_string;
    6291           0 :     temp_string = SWIG_csharp_string_callback(*arg2);
    6292           0 :     if (*arg2)
    6293           0 :     CPLFree(*arg2);
    6294           0 :     *arg2 = temp_string;
    6295             :   }
    6296             :   {
    6297             :     /* %typemap(ret) OGRErr */
    6298             :     
    6299             :   }
    6300           0 :   return jresult;
    6301             : }
    6302             : 
    6303             : 
    6304           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToCF1___(void * jarg1, void * jarg2) {
    6305             :   void * jresult ;
    6306           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6307           0 :   char **arg2 = (char **) NULL ;
    6308           0 :   char **result = 0 ;
    6309             :   
    6310           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6311           0 :   arg2 = (char **)jarg2; 
    6312             :   {
    6313           0 :     CPLErrorReset();
    6314           0 :     result = (char **)OSRSpatialReferenceShadow_ExportToCF1(arg1,arg2);
    6315           0 :     CPLErr eclass = CPLGetLastErrorType();
    6316           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6317           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6318             :       
    6319             :       
    6320             :       
    6321             :     }
    6322             :   }
    6323           0 :   jresult = (void *)result; 
    6324           0 :   return jresult;
    6325             : }
    6326             : 
    6327             : 
    6328           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ExportToCF1Units___(void * jarg1, void * jarg2) {
    6329             :   char * jresult ;
    6330           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6331           0 :   char **arg2 = (char **) NULL ;
    6332           0 :   retStringAndCPLFree *result = 0 ;
    6333             :   
    6334           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6335           0 :   arg2 = (char **)jarg2; 
    6336             :   {
    6337           0 :     CPLErrorReset();
    6338           0 :     result = (retStringAndCPLFree *)OSRSpatialReferenceShadow_ExportToCF1Units(arg1,arg2);
    6339           0 :     CPLErr eclass = CPLGetLastErrorType();
    6340           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6341           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6342             :       
    6343             :       
    6344             :       
    6345             :     }
    6346             :   }
    6347             :   
    6348             :   /* %typemap(out) (retStringAndCPLFree*) */
    6349           0 :   if(result)
    6350             :   {
    6351           0 :     jresult = SWIG_csharp_string_callback((const char *)result);
    6352           0 :     CPLFree(result);
    6353             :   }
    6354             :   else
    6355             :   {
    6356           0 :     jresult = NULL;
    6357             :   }
    6358             :   
    6359           0 :   return jresult;
    6360             : }
    6361             : 
    6362             : 
    6363           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_CloneGeogCS___(void * jarg1) {
    6364             :   void * jresult ;
    6365           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6366           0 :   OSRSpatialReferenceShadow *result = 0 ;
    6367             :   
    6368           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6369             :   {
    6370           0 :     CPLErrorReset();
    6371           0 :     result = (OSRSpatialReferenceShadow *)OSRSpatialReferenceShadow_CloneGeogCS(arg1);
    6372           0 :     CPLErr eclass = CPLGetLastErrorType();
    6373           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6374           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6375             :       
    6376             :       
    6377             :       
    6378             :     }
    6379             :   }
    6380           0 :   jresult = (void *)result; 
    6381           0 :   return jresult;
    6382             : }
    6383             : 
    6384             : 
    6385           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_Clone___(void * jarg1) {
    6386             :   void * jresult ;
    6387           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6388           0 :   OSRSpatialReferenceShadow *result = 0 ;
    6389             :   
    6390           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6391             :   {
    6392           0 :     CPLErrorReset();
    6393           0 :     result = (OSRSpatialReferenceShadow *)OSRSpatialReferenceShadow_Clone(arg1);
    6394           0 :     CPLErr eclass = CPLGetLastErrorType();
    6395           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6396           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6397             :       
    6398             :       
    6399             :       
    6400             :     }
    6401             :   }
    6402           0 :   jresult = (void *)result; 
    6403           0 :   return jresult;
    6404             : }
    6405             : 
    6406             : 
    6407           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_StripVertical___(void * jarg1) {
    6408             :   int jresult ;
    6409           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6410             :   OGRErr result;
    6411             :   
    6412           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6413             :   {
    6414           0 :     CPLErrorReset();
    6415           0 :     result = (OGRErr)OSRSpatialReferenceShadow_StripVertical(arg1);
    6416           0 :     CPLErr eclass = CPLGetLastErrorType();
    6417           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6418           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6419             :       
    6420             :       
    6421             :       
    6422             :     }
    6423             :   }
    6424             :   {
    6425             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6426           0 :     jresult = result;
    6427             :   }
    6428             :   {
    6429             :     /* %typemap(ret) OGRErr */
    6430             :     
    6431             :   }
    6432           0 :   return jresult;
    6433             : }
    6434             : 
    6435             : 
    6436           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_Validate___(void * jarg1) {
    6437             :   int jresult ;
    6438           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6439             :   OGRErr result;
    6440             :   
    6441           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6442             :   {
    6443           0 :     CPLErrorReset();
    6444           0 :     result = (OGRErr)OSRSpatialReferenceShadow_Validate(arg1);
    6445           0 :     CPLErr eclass = CPLGetLastErrorType();
    6446           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6447           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6448             :       
    6449             :       
    6450             :       
    6451             :     }
    6452             :   }
    6453             :   {
    6454             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6455           0 :     jresult = result;
    6456             :   }
    6457             :   {
    6458             :     /* %typemap(ret) OGRErr */
    6459             :     
    6460             :   }
    6461           0 :   return jresult;
    6462             : }
    6463             : 
    6464             : 
    6465           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_MorphToESRI___(void * jarg1) {
    6466             :   int jresult ;
    6467           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6468             :   OGRErr result;
    6469             :   
    6470           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6471             :   {
    6472           0 :     CPLErrorReset();
    6473           0 :     result = (OGRErr)OSRSpatialReferenceShadow_MorphToESRI(arg1);
    6474           0 :     CPLErr eclass = CPLGetLastErrorType();
    6475           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6476           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6477             :       
    6478             :       
    6479             :       
    6480             :     }
    6481             :   }
    6482             :   {
    6483             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6484           0 :     jresult = result;
    6485             :   }
    6486             :   {
    6487             :     /* %typemap(ret) OGRErr */
    6488             :     
    6489             :   }
    6490           0 :   return jresult;
    6491             : }
    6492             : 
    6493             : 
    6494           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_MorphFromESRI___(void * jarg1) {
    6495             :   int jresult ;
    6496           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6497             :   OGRErr result;
    6498             :   
    6499           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6500             :   {
    6501           0 :     CPLErrorReset();
    6502           0 :     result = (OGRErr)OSRSpatialReferenceShadow_MorphFromESRI(arg1);
    6503           0 :     CPLErr eclass = CPLGetLastErrorType();
    6504           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6505           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6506             :       
    6507             :       
    6508             :       
    6509             :     }
    6510             :   }
    6511             :   {
    6512             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6513           0 :     jresult = result;
    6514             :   }
    6515             :   {
    6516             :     /* %typemap(ret) OGRErr */
    6517             :     
    6518             :   }
    6519           0 :   return jresult;
    6520             : }
    6521             : 
    6522             : 
    6523           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_ConvertToOtherProjection___(void * jarg1, char * jarg2, void * jarg3) {
    6524             :   void * jresult ;
    6525           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6526           0 :   char *arg2 = (char *) 0 ;
    6527           0 :   char **arg3 = (char **) NULL ;
    6528           0 :   OSRSpatialReferenceShadow *result = 0 ;
    6529             :   
    6530           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6531           0 :   arg2 = (char *)jarg2; 
    6532           0 :   arg3 = (char **)jarg3; 
    6533             :   {
    6534           0 :     CPLErrorReset();
    6535           0 :     result = (OSRSpatialReferenceShadow *)OSRSpatialReferenceShadow_ConvertToOtherProjection(arg1,(char const *)arg2,arg3);
    6536           0 :     CPLErr eclass = CPLGetLastErrorType();
    6537           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6538           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6539             :       
    6540             :       
    6541             :       
    6542             :     }
    6543             :   }
    6544           0 :   jresult = (void *)result; 
    6545           0 :   return jresult;
    6546             : }
    6547             : 
    6548             : 
    6549           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_PromoteTo3D___(void * jarg1, char * jarg2) {
    6550             :   int jresult ;
    6551           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6552           0 :   char *arg2 = (char *) NULL ;
    6553             :   OGRErr result;
    6554             :   
    6555           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6556           0 :   arg2 = (char *)jarg2; 
    6557             :   {
    6558           0 :     CPLErrorReset();
    6559           0 :     result = (OGRErr)OSRSpatialReferenceShadow_PromoteTo3D(arg1,(char const *)arg2);
    6560           0 :     CPLErr eclass = CPLGetLastErrorType();
    6561           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6562           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6563             :       
    6564             :       
    6565             :       
    6566             :     }
    6567             :   }
    6568             :   {
    6569             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6570           0 :     jresult = result;
    6571             :   }
    6572             :   {
    6573             :     /* %typemap(ret) OGRErr */
    6574             :     
    6575             :   }
    6576           0 :   return jresult;
    6577             : }
    6578             : 
    6579             : 
    6580           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_SpatialReference_DemoteTo2D___(void * jarg1, char * jarg2) {
    6581             :   int jresult ;
    6582           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6583           0 :   char *arg2 = (char *) NULL ;
    6584             :   OGRErr result;
    6585             :   
    6586           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6587           0 :   arg2 = (char *)jarg2; 
    6588             :   {
    6589           0 :     CPLErrorReset();
    6590           0 :     result = (OGRErr)OSRSpatialReferenceShadow_DemoteTo2D(arg1,(char const *)arg2);
    6591           0 :     CPLErr eclass = CPLGetLastErrorType();
    6592           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6593           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6594             :       
    6595             :       
    6596             :       
    6597             :     }
    6598             :   }
    6599             :   {
    6600             :     /* %typemap(out,fragment="OGRErrMessages",canthrow=1) OGRErr */
    6601           0 :     jresult = result;
    6602             :   }
    6603             :   {
    6604             :     /* %typemap(ret) OGRErr */
    6605             :     
    6606             :   }
    6607           0 :   return jresult;
    6608             : }
    6609             : 
    6610             : 
    6611           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_new_CoordinateTransformationOptions___() {
    6612             :   void * jresult ;
    6613           0 :   OGRCoordinateTransformationOptions *result = 0 ;
    6614             :   
    6615             :   {
    6616           0 :     CPLErrorReset();
    6617           0 :     result = (OGRCoordinateTransformationOptions *)new_OGRCoordinateTransformationOptions();
    6618           0 :     CPLErr eclass = CPLGetLastErrorType();
    6619           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6620           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6621             :       
    6622             :       
    6623             :       
    6624             :     }
    6625             :   }
    6626           0 :   jresult = (void *)result; 
    6627           0 :   return jresult;
    6628             : }
    6629             : 
    6630             : 
    6631           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_delete_CoordinateTransformationOptions___(void * jarg1) {
    6632           0 :   OGRCoordinateTransformationOptions *arg1 = (OGRCoordinateTransformationOptions *) 0 ;
    6633             :   
    6634           0 :   arg1 = (OGRCoordinateTransformationOptions *)jarg1; 
    6635             :   {
    6636           0 :     CPLErrorReset();
    6637           0 :     delete_OGRCoordinateTransformationOptions(arg1);
    6638           0 :     CPLErr eclass = CPLGetLastErrorType();
    6639           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6640           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6641             :       
    6642             :       
    6643             :       
    6644             :     }
    6645             :   }
    6646           0 : }
    6647             : 
    6648             : 
    6649           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformationOptions_SetAreaOfInterest___(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5) {
    6650             :   unsigned int jresult ;
    6651           0 :   OGRCoordinateTransformationOptions *arg1 = (OGRCoordinateTransformationOptions *) 0 ;
    6652             :   double arg2 ;
    6653             :   double arg3 ;
    6654             :   double arg4 ;
    6655             :   double arg5 ;
    6656             :   bool result;
    6657             :   
    6658           0 :   arg1 = (OGRCoordinateTransformationOptions *)jarg1; 
    6659           0 :   arg2 = (double)jarg2; 
    6660           0 :   arg3 = (double)jarg3; 
    6661           0 :   arg4 = (double)jarg4; 
    6662           0 :   arg5 = (double)jarg5; 
    6663             :   {
    6664           0 :     CPLErrorReset();
    6665           0 :     result = (bool)OGRCoordinateTransformationOptions_SetAreaOfInterest(arg1,arg2,arg3,arg4,arg5);
    6666           0 :     CPLErr eclass = CPLGetLastErrorType();
    6667           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6668           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6669             :       
    6670             :       
    6671             :       
    6672             :     }
    6673             :   }
    6674           0 :   jresult = result; 
    6675           0 :   return jresult;
    6676             : }
    6677             : 
    6678             : 
    6679           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformationOptions_SetOperation___(void * jarg1, char * jarg2, unsigned int jarg3) {
    6680             :   unsigned int jresult ;
    6681           0 :   OGRCoordinateTransformationOptions *arg1 = (OGRCoordinateTransformationOptions *) 0 ;
    6682           0 :   char *arg2 = (char *) 0 ;
    6683           0 :   bool arg3 = (bool) false ;
    6684             :   bool result;
    6685             :   
    6686           0 :   arg1 = (OGRCoordinateTransformationOptions *)jarg1; 
    6687           0 :   arg2 = (char *)jarg2; 
    6688           0 :   arg3 = jarg3 ? true : false; 
    6689             :   {
    6690           0 :     CPLErrorReset();
    6691           0 :     result = (bool)OGRCoordinateTransformationOptions_SetOperation(arg1,(char const *)arg2,arg3);
    6692           0 :     CPLErr eclass = CPLGetLastErrorType();
    6693           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6694           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6695             :       
    6696             :       
    6697             :       
    6698             :     }
    6699             :   }
    6700           0 :   jresult = result; 
    6701           0 :   return jresult;
    6702             : }
    6703             : 
    6704             : 
    6705           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformationOptions_SetDesiredAccuracy___(void * jarg1, double jarg2) {
    6706             :   unsigned int jresult ;
    6707           0 :   OGRCoordinateTransformationOptions *arg1 = (OGRCoordinateTransformationOptions *) 0 ;
    6708             :   double arg2 ;
    6709             :   bool result;
    6710             :   
    6711           0 :   arg1 = (OGRCoordinateTransformationOptions *)jarg1; 
    6712           0 :   arg2 = (double)jarg2; 
    6713             :   {
    6714           0 :     CPLErrorReset();
    6715           0 :     result = (bool)OGRCoordinateTransformationOptions_SetDesiredAccuracy(arg1,arg2);
    6716           0 :     CPLErr eclass = CPLGetLastErrorType();
    6717           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6718           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6719             :       
    6720             :       
    6721             :       
    6722             :     }
    6723             :   }
    6724           0 :   jresult = result; 
    6725           0 :   return jresult;
    6726             : }
    6727             : 
    6728             : 
    6729           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformationOptions_SetBallparkAllowed___(void * jarg1, unsigned int jarg2) {
    6730             :   unsigned int jresult ;
    6731           0 :   OGRCoordinateTransformationOptions *arg1 = (OGRCoordinateTransformationOptions *) 0 ;
    6732             :   bool arg2 ;
    6733             :   bool result;
    6734             :   
    6735           0 :   arg1 = (OGRCoordinateTransformationOptions *)jarg1; 
    6736           0 :   arg2 = jarg2 ? true : false; 
    6737             :   {
    6738           0 :     CPLErrorReset();
    6739           0 :     result = (bool)OGRCoordinateTransformationOptions_SetBallparkAllowed(arg1,arg2);
    6740           0 :     CPLErr eclass = CPLGetLastErrorType();
    6741           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6742           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6743             :       
    6744             :       
    6745             :       
    6746             :     }
    6747             :   }
    6748           0 :   jresult = result; 
    6749           0 :   return jresult;
    6750             : }
    6751             : 
    6752             : 
    6753           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformationOptions_SetOnlyBest___(void * jarg1, unsigned int jarg2) {
    6754             :   unsigned int jresult ;
    6755           0 :   OGRCoordinateTransformationOptions *arg1 = (OGRCoordinateTransformationOptions *) 0 ;
    6756             :   bool arg2 ;
    6757             :   bool result;
    6758             :   
    6759           0 :   arg1 = (OGRCoordinateTransformationOptions *)jarg1; 
    6760           0 :   arg2 = jarg2 ? true : false; 
    6761             :   {
    6762           0 :     CPLErrorReset();
    6763           0 :     result = (bool)OGRCoordinateTransformationOptions_SetOnlyBest(arg1,arg2);
    6764           0 :     CPLErr eclass = CPLGetLastErrorType();
    6765           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6766           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6767             :       
    6768             :       
    6769             :       
    6770             :     }
    6771             :   }
    6772           0 :   jresult = result; 
    6773           0 :   return jresult;
    6774             : }
    6775             : 
    6776             : 
    6777           1 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_new_CoordinateTransformation__SWIG_0___(void * jarg1, void * jarg2) {
    6778             :   void * jresult ;
    6779           1 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6780           1 :   OSRSpatialReferenceShadow *arg2 = (OSRSpatialReferenceShadow *) 0 ;
    6781           1 :   OSRCoordinateTransformationShadow *result = 0 ;
    6782             :   
    6783           1 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6784           1 :   arg2 = (OSRSpatialReferenceShadow *)jarg2; 
    6785             :   {
    6786           1 :     CPLErrorReset();
    6787           1 :     result = (OSRCoordinateTransformationShadow *)new_OSRCoordinateTransformationShadow__SWIG_0(arg1,arg2);
    6788           1 :     CPLErr eclass = CPLGetLastErrorType();
    6789           1 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6790           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6791             :       
    6792             :       
    6793             :       
    6794             :     }
    6795             :   }
    6796           1 :   jresult = (void *)result; 
    6797           1 :   return jresult;
    6798             : }
    6799             : 
    6800             : 
    6801           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_new_CoordinateTransformation__SWIG_1___(void * jarg1, void * jarg2, void * jarg3) {
    6802             :   void * jresult ;
    6803           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    6804           0 :   OSRSpatialReferenceShadow *arg2 = (OSRSpatialReferenceShadow *) 0 ;
    6805           0 :   OGRCoordinateTransformationOptions *arg3 = (OGRCoordinateTransformationOptions *) 0 ;
    6806           0 :   OSRCoordinateTransformationShadow *result = 0 ;
    6807             :   
    6808           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    6809           0 :   arg2 = (OSRSpatialReferenceShadow *)jarg2; 
    6810           0 :   arg3 = (OGRCoordinateTransformationOptions *)jarg3; 
    6811             :   {
    6812           0 :     CPLErrorReset();
    6813           0 :     result = (OSRCoordinateTransformationShadow *)new_OSRCoordinateTransformationShadow__SWIG_1(arg1,arg2,arg3);
    6814           0 :     CPLErr eclass = CPLGetLastErrorType();
    6815           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6816           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6817             :       
    6818             :       
    6819             :       
    6820             :     }
    6821             :   }
    6822           0 :   jresult = (void *)result; 
    6823           0 :   return jresult;
    6824             : }
    6825             : 
    6826             : 
    6827           1 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_delete_CoordinateTransformation___(void * jarg1) {
    6828           1 :   OSRCoordinateTransformationShadow *arg1 = (OSRCoordinateTransformationShadow *) 0 ;
    6829             :   
    6830           1 :   arg1 = (OSRCoordinateTransformationShadow *)jarg1; 
    6831             :   {
    6832           1 :     CPLErrorReset();
    6833           1 :     delete_OSRCoordinateTransformationShadow(arg1);
    6834           1 :     CPLErr eclass = CPLGetLastErrorType();
    6835           1 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6836           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6837             :       
    6838             :       
    6839             :       
    6840             :     }
    6841             :   }
    6842           1 : }
    6843             : 
    6844             : 
    6845           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformation_GetInverse___(void * jarg1) {
    6846             :   void * jresult ;
    6847           0 :   OSRCoordinateTransformationShadow *arg1 = (OSRCoordinateTransformationShadow *) 0 ;
    6848           0 :   OSRCoordinateTransformationShadow *result = 0 ;
    6849             :   
    6850           0 :   arg1 = (OSRCoordinateTransformationShadow *)jarg1; 
    6851             :   {
    6852           0 :     CPLErrorReset();
    6853           0 :     result = (OSRCoordinateTransformationShadow *)OSRCoordinateTransformationShadow_GetInverse(arg1);
    6854           0 :     CPLErr eclass = CPLGetLastErrorType();
    6855           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6856           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6857             :       
    6858             :       
    6859             :       
    6860             :     }
    6861             :   }
    6862           0 :   jresult = (void *)result; 
    6863           0 :   return jresult;
    6864             : }
    6865             : 
    6866             : 
    6867           1 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformation_TransformPoint__SWIG_0___(void * jarg1, void * jarg2) {
    6868           1 :   OSRCoordinateTransformationShadow *arg1 = (OSRCoordinateTransformationShadow *) 0 ;
    6869             :   double *arg2 ;
    6870             :   
    6871           1 :   arg1 = (OSRCoordinateTransformationShadow *)jarg1; 
    6872             :   {
    6873             :     /* %typemap(in) (double argin[ANY]) */
    6874           1 :     arg2 = (double *)jarg2;
    6875             :   }
    6876             :   {
    6877           1 :     CPLErrorReset();
    6878           1 :     OSRCoordinateTransformationShadow_TransformPoint__SWIG_0(arg1,arg2);
    6879           1 :     CPLErr eclass = CPLGetLastErrorType();
    6880           1 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6881           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6882             :       
    6883             :       
    6884             :       
    6885             :     }
    6886             :   }
    6887           1 : }
    6888             : 
    6889             : 
    6890           1 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformation_TransformPoint__SWIG_2___(void * jarg1, void * jarg2, double jarg3, double jarg4, double jarg5) {
    6891           1 :   OSRCoordinateTransformationShadow *arg1 = (OSRCoordinateTransformationShadow *) 0 ;
    6892             :   double *arg2 ;
    6893             :   double arg3 ;
    6894             :   double arg4 ;
    6895           1 :   double arg5 = (double) 0.0 ;
    6896             :   
    6897           1 :   arg1 = (OSRCoordinateTransformationShadow *)jarg1; 
    6898             :   {
    6899             :     /* %typemap(in) (double argout[ANY]) */
    6900           1 :     arg2 = (double *)jarg2;
    6901             :   }
    6902           1 :   arg3 = (double)jarg3; 
    6903           1 :   arg4 = (double)jarg4; 
    6904           1 :   arg5 = (double)jarg5; 
    6905             :   {
    6906           1 :     CPLErrorReset();
    6907           1 :     OSRCoordinateTransformationShadow_TransformPoint__SWIG_2(arg1,arg2,arg3,arg4,arg5);
    6908           1 :     CPLErr eclass = CPLGetLastErrorType();
    6909           1 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6910           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6911             :       
    6912             :       
    6913             :       
    6914             :     }
    6915             :   }
    6916           1 : }
    6917             : 
    6918             : 
    6919           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformation_TransformPoint__SWIG_3___(void * jarg1, void * jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    6920           0 :   OSRCoordinateTransformationShadow *arg1 = (OSRCoordinateTransformationShadow *) 0 ;
    6921             :   double *arg2 ;
    6922             :   double arg3 ;
    6923             :   double arg4 ;
    6924             :   double arg5 ;
    6925             :   double arg6 ;
    6926             :   
    6927           0 :   arg1 = (OSRCoordinateTransformationShadow *)jarg1; 
    6928             :   {
    6929             :     /* %typemap(in) (double argout[ANY]) */
    6930           0 :     arg2 = (double *)jarg2;
    6931             :   }
    6932           0 :   arg3 = (double)jarg3; 
    6933           0 :   arg4 = (double)jarg4; 
    6934           0 :   arg5 = (double)jarg5; 
    6935           0 :   arg6 = (double)jarg6; 
    6936             :   {
    6937           0 :     CPLErrorReset();
    6938           0 :     OSRCoordinateTransformationShadow_TransformPoint__SWIG_3(arg1,arg2,arg3,arg4,arg5,arg6);
    6939           0 :     CPLErr eclass = CPLGetLastErrorType();
    6940           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6941           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6942             :       
    6943             :       
    6944             :       
    6945             :     }
    6946             :   }
    6947           0 : }
    6948             : 
    6949             : 
    6950           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformation_TransformPointWithErrorCode___(void * jarg1, void * jarg2, double jarg3, double jarg4, double jarg5, double jarg6) {
    6951             :   int jresult ;
    6952           0 :   OSRCoordinateTransformationShadow *arg1 = (OSRCoordinateTransformationShadow *) 0 ;
    6953             :   double *arg2 ;
    6954             :   double arg3 ;
    6955             :   double arg4 ;
    6956             :   double arg5 ;
    6957             :   double arg6 ;
    6958             :   int result;
    6959             :   
    6960           0 :   arg1 = (OSRCoordinateTransformationShadow *)jarg1; 
    6961             :   {
    6962             :     /* %typemap(in) (double argout[ANY]) */
    6963           0 :     arg2 = (double *)jarg2;
    6964             :   }
    6965           0 :   arg3 = (double)jarg3; 
    6966           0 :   arg4 = (double)jarg4; 
    6967           0 :   arg5 = (double)jarg5; 
    6968           0 :   arg6 = (double)jarg6; 
    6969             :   {
    6970           0 :     CPLErrorReset();
    6971           0 :     result = (int)OSRCoordinateTransformationShadow_TransformPointWithErrorCode(arg1,arg2,arg3,arg4,arg5,arg6);
    6972           0 :     CPLErr eclass = CPLGetLastErrorType();
    6973           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    6974           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    6975             :       
    6976             :       
    6977             :       
    6978             :     }
    6979             :   }
    6980           0 :   jresult = result; 
    6981           0 :   return jresult;
    6982             : }
    6983             : 
    6984             : 
    6985           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformation_TransformPoints___(void * jarg1, int jarg2, void * jarg3, void * jarg4, void * jarg5) {
    6986           0 :   OSRCoordinateTransformationShadow *arg1 = (OSRCoordinateTransformationShadow *) 0 ;
    6987             :   int arg2 ;
    6988           0 :   double *arg3 = (double *) 0 ;
    6989           0 :   double *arg4 = (double *) 0 ;
    6990           0 :   double *arg5 = (double *) 0 ;
    6991             :   
    6992           0 :   arg1 = (OSRCoordinateTransformationShadow *)jarg1; 
    6993           0 :   arg2 = (int)jarg2; 
    6994             :   {
    6995             :     /* %typemap(in) (double argout[ANY]) */
    6996           0 :     arg3 = (double *)jarg3;
    6997             :   }
    6998             :   {
    6999             :     /* %typemap(in) (double argout[ANY]) */
    7000           0 :     arg4 = (double *)jarg4;
    7001             :   }
    7002             :   {
    7003             :     /* %typemap(in) (double argout[ANY]) */
    7004           0 :     arg5 = (double *)jarg5;
    7005             :   }
    7006             :   {
    7007           0 :     CPLErrorReset();
    7008           0 :     OSRCoordinateTransformationShadow_TransformPoints(arg1,arg2,arg3,arg4,arg5);
    7009           0 :     CPLErr eclass = CPLGetLastErrorType();
    7010           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7011           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7012             :       
    7013             :       
    7014             :       
    7015             :     }
    7016             :   }
    7017           0 : }
    7018             : 
    7019             : 
    7020           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_CoordinateTransformation_TransformBounds___(void * jarg1, void * jarg2, double jarg3, double jarg4, double jarg5, double jarg6, int jarg7) {
    7021           0 :   OSRCoordinateTransformationShadow *arg1 = (OSRCoordinateTransformationShadow *) 0 ;
    7022             :   double *arg2 ;
    7023             :   double arg3 ;
    7024             :   double arg4 ;
    7025             :   double arg5 ;
    7026             :   double arg6 ;
    7027             :   int arg7 ;
    7028             :   
    7029           0 :   arg1 = (OSRCoordinateTransformationShadow *)jarg1; 
    7030             :   {
    7031             :     /* %typemap(in) (double argout[ANY]) */
    7032           0 :     arg2 = (double *)jarg2;
    7033             :   }
    7034           0 :   arg3 = (double)jarg3; 
    7035           0 :   arg4 = (double)jarg4; 
    7036           0 :   arg5 = (double)jarg5; 
    7037           0 :   arg6 = (double)jarg6; 
    7038           0 :   arg7 = (int)jarg7; 
    7039             :   {
    7040           0 :     CPLErrorReset();
    7041           0 :     OSRCoordinateTransformationShadow_TransformBounds(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
    7042           0 :     CPLErr eclass = CPLGetLastErrorType();
    7043           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7044           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7045             :       
    7046             :       
    7047             :       
    7048             :     }
    7049             :   }
    7050           0 : }
    7051             : 
    7052             : 
    7053           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_CreateCoordinateTransformation___(void * jarg1, void * jarg2, void * jarg3) {
    7054             :   void * jresult ;
    7055           0 :   OSRSpatialReferenceShadow *arg1 = (OSRSpatialReferenceShadow *) 0 ;
    7056           0 :   OSRSpatialReferenceShadow *arg2 = (OSRSpatialReferenceShadow *) 0 ;
    7057           0 :   OGRCoordinateTransformationOptions *arg3 = (OGRCoordinateTransformationOptions *) NULL ;
    7058           0 :   OSRCoordinateTransformationShadow *result = 0 ;
    7059             :   
    7060           0 :   arg1 = (OSRSpatialReferenceShadow *)jarg1; 
    7061           0 :   arg2 = (OSRSpatialReferenceShadow *)jarg2; 
    7062           0 :   arg3 = (OGRCoordinateTransformationOptions *)jarg3; 
    7063             :   {
    7064           0 :     CPLErrorReset();
    7065           0 :     result = (OSRCoordinateTransformationShadow *)CreateCoordinateTransformation(arg1,arg2,arg3);
    7066           0 :     CPLErr eclass = CPLGetLastErrorType();
    7067           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7068           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7069             :       
    7070             :       
    7071             :       
    7072             :     }
    7073             :   }
    7074           0 :   jresult = (void *)result; 
    7075           0 :   return jresult;
    7076             : }
    7077             : 
    7078             : 
    7079          20 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_auth_name_get___(void * jarg1) {
    7080             :   char * jresult ;
    7081          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7082          20 :   char *result = 0 ;
    7083             :   
    7084          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7085             :   {
    7086          20 :     CPLErrorReset();
    7087          20 :     result = (char *)OSRCRSInfo_auth_name_get(arg1);
    7088          20 :     CPLErr eclass = CPLGetLastErrorType();
    7089          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7090           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7091             :       
    7092             :       
    7093             :       
    7094             :     }
    7095             :   }
    7096          20 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7097          20 :   return jresult;
    7098             : }
    7099             : 
    7100             : 
    7101          20 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_code_get___(void * jarg1) {
    7102             :   char * jresult ;
    7103          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7104          20 :   char *result = 0 ;
    7105             :   
    7106          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7107             :   {
    7108          20 :     CPLErrorReset();
    7109          20 :     result = (char *)OSRCRSInfo_code_get(arg1);
    7110          20 :     CPLErr eclass = CPLGetLastErrorType();
    7111          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7112           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7113             :       
    7114             :       
    7115             :       
    7116             :     }
    7117             :   }
    7118          20 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7119          20 :   return jresult;
    7120             : }
    7121             : 
    7122             : 
    7123          20 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_name_get___(void * jarg1) {
    7124             :   char * jresult ;
    7125          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7126          20 :   char *result = 0 ;
    7127             :   
    7128          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7129             :   {
    7130          20 :     CPLErrorReset();
    7131          20 :     result = (char *)OSRCRSInfo_name_get(arg1);
    7132          20 :     CPLErr eclass = CPLGetLastErrorType();
    7133          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7134           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7135             :       
    7136             :       
    7137             :       
    7138             :     }
    7139             :   }
    7140          20 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7141          20 :   return jresult;
    7142             : }
    7143             : 
    7144             : 
    7145          20 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_type_get___(void * jarg1) {
    7146             :   int jresult ;
    7147          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7148             :   OSRCRSType result;
    7149             :   
    7150          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7151             :   {
    7152          20 :     CPLErrorReset();
    7153          20 :     result = (OSRCRSType)OSRCRSInfo_type_get(arg1);
    7154          20 :     CPLErr eclass = CPLGetLastErrorType();
    7155          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7156           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7157             :       
    7158             :       
    7159             :       
    7160             :     }
    7161             :   }
    7162          20 :   jresult = (int)result; 
    7163          20 :   return jresult;
    7164             : }
    7165             : 
    7166             : 
    7167          20 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_deprecated_get___(void * jarg1) {
    7168             :   unsigned int jresult ;
    7169          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7170             :   bool result;
    7171             :   
    7172          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7173             :   {
    7174          20 :     CPLErrorReset();
    7175          20 :     result = (bool)OSRCRSInfo_deprecated_get(arg1);
    7176          20 :     CPLErr eclass = CPLGetLastErrorType();
    7177          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7178           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7179             :       
    7180             :       
    7181             :       
    7182             :     }
    7183             :   }
    7184          20 :   jresult = result; 
    7185          20 :   return jresult;
    7186             : }
    7187             : 
    7188             : 
    7189          20 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_bbox_valid_get___(void * jarg1) {
    7190             :   unsigned int jresult ;
    7191          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7192             :   bool result;
    7193             :   
    7194          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7195             :   {
    7196          20 :     CPLErrorReset();
    7197          20 :     result = (bool)OSRCRSInfo_bbox_valid_get(arg1);
    7198          20 :     CPLErr eclass = CPLGetLastErrorType();
    7199          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7200           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7201             :       
    7202             :       
    7203             :       
    7204             :     }
    7205             :   }
    7206          20 :   jresult = result; 
    7207          20 :   return jresult;
    7208             : }
    7209             : 
    7210             : 
    7211          20 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_west_lon_degree_get___(void * jarg1) {
    7212             :   double jresult ;
    7213          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7214             :   double result;
    7215             :   
    7216          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7217             :   {
    7218          20 :     CPLErrorReset();
    7219          20 :     result = (double)OSRCRSInfo_west_lon_degree_get(arg1);
    7220          20 :     CPLErr eclass = CPLGetLastErrorType();
    7221          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7222           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7223             :       
    7224             :       
    7225             :       
    7226             :     }
    7227             :   }
    7228          20 :   jresult = result; 
    7229          20 :   return jresult;
    7230             : }
    7231             : 
    7232             : 
    7233          20 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_south_lat_degree_get___(void * jarg1) {
    7234             :   double jresult ;
    7235          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7236             :   double result;
    7237             :   
    7238          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7239             :   {
    7240          20 :     CPLErrorReset();
    7241          20 :     result = (double)OSRCRSInfo_south_lat_degree_get(arg1);
    7242          20 :     CPLErr eclass = CPLGetLastErrorType();
    7243          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7244           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7245             :       
    7246             :       
    7247             :       
    7248             :     }
    7249             :   }
    7250          20 :   jresult = result; 
    7251          20 :   return jresult;
    7252             : }
    7253             : 
    7254             : 
    7255          20 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_east_lon_degree_get___(void * jarg1) {
    7256             :   double jresult ;
    7257          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7258             :   double result;
    7259             :   
    7260          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7261             :   {
    7262          20 :     CPLErrorReset();
    7263          20 :     result = (double)OSRCRSInfo_east_lon_degree_get(arg1);
    7264          20 :     CPLErr eclass = CPLGetLastErrorType();
    7265          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7266           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7267             :       
    7268             :       
    7269             :       
    7270             :     }
    7271             :   }
    7272          20 :   jresult = result; 
    7273          20 :   return jresult;
    7274             : }
    7275             : 
    7276             : 
    7277          20 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_north_lat_degree_get___(void * jarg1) {
    7278             :   double jresult ;
    7279          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7280             :   double result;
    7281             :   
    7282          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7283             :   {
    7284          20 :     CPLErrorReset();
    7285          20 :     result = (double)OSRCRSInfo_north_lat_degree_get(arg1);
    7286          20 :     CPLErr eclass = CPLGetLastErrorType();
    7287          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7288           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7289             :       
    7290             :       
    7291             :       
    7292             :     }
    7293             :   }
    7294          20 :   jresult = result; 
    7295          20 :   return jresult;
    7296             : }
    7297             : 
    7298             : 
    7299          20 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_area_name_get___(void * jarg1) {
    7300             :   char * jresult ;
    7301          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7302          20 :   char *result = 0 ;
    7303             :   
    7304          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7305             :   {
    7306          20 :     CPLErrorReset();
    7307          20 :     result = (char *)OSRCRSInfo_area_name_get(arg1);
    7308          20 :     CPLErr eclass = CPLGetLastErrorType();
    7309          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7310           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7311             :       
    7312             :       
    7313             :       
    7314             :     }
    7315             :   }
    7316          20 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7317          20 :   return jresult;
    7318             : }
    7319             : 
    7320             : 
    7321          20 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_CRSInfo_projection_method_get___(void * jarg1) {
    7322             :   char * jresult ;
    7323          20 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7324          20 :   char *result = 0 ;
    7325             :   
    7326          20 :   arg1 = (OSRCRSInfo *)jarg1; 
    7327             :   {
    7328          20 :     CPLErrorReset();
    7329          20 :     result = (char *)OSRCRSInfo_projection_method_get(arg1);
    7330          20 :     CPLErr eclass = CPLGetLastErrorType();
    7331          20 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7332           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7333             :       
    7334             :       
    7335             :       
    7336             :     }
    7337             :   }
    7338          20 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7339          20 :   return jresult;
    7340             : }
    7341             : 
    7342             : 
    7343           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_new_CRSInfo___(char * jarg1, char * jarg2, char * jarg3, int jarg4, unsigned int jarg5, unsigned int jarg6, double jarg7, double jarg8, double jarg9, double jarg10, char * jarg11, char * jarg12) {
    7344             :   void * jresult ;
    7345           0 :   char *arg1 = (char *) 0 ;
    7346           0 :   char *arg2 = (char *) 0 ;
    7347           0 :   char *arg3 = (char *) 0 ;
    7348             :   OSRCRSType arg4 ;
    7349             :   bool arg5 ;
    7350             :   bool arg6 ;
    7351             :   double arg7 ;
    7352             :   double arg8 ;
    7353             :   double arg9 ;
    7354             :   double arg10 ;
    7355           0 :   char *arg11 = (char *) 0 ;
    7356           0 :   char *arg12 = (char *) 0 ;
    7357           0 :   OSRCRSInfo *result = 0 ;
    7358             :   
    7359           0 :   arg1 = (char *)jarg1; 
    7360           0 :   arg2 = (char *)jarg2; 
    7361           0 :   arg3 = (char *)jarg3; 
    7362           0 :   arg4 = (OSRCRSType)jarg4; 
    7363           0 :   arg5 = jarg5 ? true : false; 
    7364           0 :   arg6 = jarg6 ? true : false; 
    7365           0 :   arg7 = (double)jarg7; 
    7366           0 :   arg8 = (double)jarg8; 
    7367           0 :   arg9 = (double)jarg9; 
    7368           0 :   arg10 = (double)jarg10; 
    7369           0 :   arg11 = (char *)jarg11; 
    7370           0 :   arg12 = (char *)jarg12; 
    7371             :   {
    7372           0 :     if (!arg3) {
    7373             :       {
    7374           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7375             :       };
    7376             :     }
    7377             :   }
    7378             :   {
    7379           0 :     CPLErrorReset();
    7380           0 :     result = (OSRCRSInfo *)new_OSRCRSInfo((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(char const *)arg11,(char const *)arg12);
    7381           0 :     CPLErr eclass = CPLGetLastErrorType();
    7382           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7383           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7384             :       
    7385             :       
    7386             :       
    7387             :     }
    7388             :   }
    7389           0 :   jresult = (void *)result; 
    7390           0 :   return jresult;
    7391             : }
    7392             : 
    7393             : 
    7394           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_delete_CRSInfo___(void * jarg1) {
    7395           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7396             :   
    7397           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7398             :   {
    7399           0 :     CPLErrorReset();
    7400           0 :     delete_OSRCRSInfo(arg1);
    7401           0 :     CPLErr eclass = CPLGetLastErrorType();
    7402           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7403           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7404             :       
    7405             :       
    7406             :       
    7407             :     }
    7408             :   }
    7409           0 : }
    7410             : 
    7411             : 
    7412           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_auth_name_get___(void * jarg1) {
    7413             :   char * jresult ;
    7414           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7415           0 :   char *result = 0 ;
    7416             :   
    7417           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7418             :   {
    7419           0 :     if (!arg1) {
    7420             :       {
    7421           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7422             :       };
    7423             :     }
    7424             :   }
    7425             :   {
    7426           0 :     CPLErrorReset();
    7427           0 :     result = (char *)OSRCRSInfo_auth_name_get(arg1);
    7428           0 :     CPLErr eclass = CPLGetLastErrorType();
    7429           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7430           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7431             :       
    7432             :       
    7433             :       
    7434             :     }
    7435             :   }
    7436           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7437           0 :   return jresult;
    7438             : }
    7439             : 
    7440             : 
    7441           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_code_get___(void * jarg1) {
    7442             :   char * jresult ;
    7443           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7444           0 :   char *result = 0 ;
    7445             :   
    7446           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7447             :   {
    7448           0 :     if (!arg1) {
    7449             :       {
    7450           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7451             :       };
    7452             :     }
    7453             :   }
    7454             :   {
    7455           0 :     CPLErrorReset();
    7456           0 :     result = (char *)OSRCRSInfo_code_get(arg1);
    7457           0 :     CPLErr eclass = CPLGetLastErrorType();
    7458           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7459           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7460             :       
    7461             :       
    7462             :       
    7463             :     }
    7464             :   }
    7465           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7466           0 :   return jresult;
    7467             : }
    7468             : 
    7469             : 
    7470           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_name_get___(void * jarg1) {
    7471             :   char * jresult ;
    7472           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7473           0 :   char *result = 0 ;
    7474             :   
    7475           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7476             :   {
    7477           0 :     if (!arg1) {
    7478             :       {
    7479           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7480             :       };
    7481             :     }
    7482             :   }
    7483             :   {
    7484           0 :     CPLErrorReset();
    7485           0 :     result = (char *)OSRCRSInfo_name_get(arg1);
    7486           0 :     CPLErr eclass = CPLGetLastErrorType();
    7487           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7488           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7489             :       
    7490             :       
    7491             :       
    7492             :     }
    7493             :   }
    7494           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7495           0 :   return jresult;
    7496             : }
    7497             : 
    7498             : 
    7499           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_type_get___(void * jarg1) {
    7500             :   int jresult ;
    7501           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7502             :   OSRCRSType result;
    7503             :   
    7504           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7505             :   {
    7506           0 :     if (!arg1) {
    7507             :       {
    7508           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7509             :       };
    7510             :     }
    7511             :   }
    7512             :   {
    7513           0 :     CPLErrorReset();
    7514           0 :     result = (OSRCRSType)OSRCRSInfo_type_get(arg1);
    7515           0 :     CPLErr eclass = CPLGetLastErrorType();
    7516           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7517           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7518             :       
    7519             :       
    7520             :       
    7521             :     }
    7522             :   }
    7523           0 :   jresult = (int)result; 
    7524           0 :   return jresult;
    7525             : }
    7526             : 
    7527             : 
    7528           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_deprecated_get___(void * jarg1) {
    7529             :   unsigned int jresult ;
    7530           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7531             :   bool result;
    7532             :   
    7533           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7534             :   {
    7535           0 :     if (!arg1) {
    7536             :       {
    7537           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7538             :       };
    7539             :     }
    7540             :   }
    7541             :   {
    7542           0 :     CPLErrorReset();
    7543           0 :     result = (bool)OSRCRSInfo_deprecated_get(arg1);
    7544           0 :     CPLErr eclass = CPLGetLastErrorType();
    7545           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7546           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7547             :       
    7548             :       
    7549             :       
    7550             :     }
    7551             :   }
    7552           0 :   jresult = result; 
    7553           0 :   return jresult;
    7554             : }
    7555             : 
    7556             : 
    7557           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_bbox_valid_get___(void * jarg1) {
    7558             :   unsigned int jresult ;
    7559           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7560             :   bool result;
    7561             :   
    7562           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7563             :   {
    7564           0 :     if (!arg1) {
    7565             :       {
    7566           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7567             :       };
    7568             :     }
    7569             :   }
    7570             :   {
    7571           0 :     CPLErrorReset();
    7572           0 :     result = (bool)OSRCRSInfo_bbox_valid_get(arg1);
    7573           0 :     CPLErr eclass = CPLGetLastErrorType();
    7574           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7575           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7576             :       
    7577             :       
    7578             :       
    7579             :     }
    7580             :   }
    7581           0 :   jresult = result; 
    7582           0 :   return jresult;
    7583             : }
    7584             : 
    7585             : 
    7586           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_west_lon_degree_get___(void * jarg1) {
    7587             :   double jresult ;
    7588           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7589             :   double result;
    7590             :   
    7591           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7592             :   {
    7593           0 :     if (!arg1) {
    7594             :       {
    7595           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7596             :       };
    7597             :     }
    7598             :   }
    7599             :   {
    7600           0 :     CPLErrorReset();
    7601           0 :     result = (double)OSRCRSInfo_west_lon_degree_get(arg1);
    7602           0 :     CPLErr eclass = CPLGetLastErrorType();
    7603           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7604           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7605             :       
    7606             :       
    7607             :       
    7608             :     }
    7609             :   }
    7610           0 :   jresult = result; 
    7611           0 :   return jresult;
    7612             : }
    7613             : 
    7614             : 
    7615           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_south_lat_degree_get___(void * jarg1) {
    7616             :   double jresult ;
    7617           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7618             :   double result;
    7619             :   
    7620           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7621             :   {
    7622           0 :     if (!arg1) {
    7623             :       {
    7624           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7625             :       };
    7626             :     }
    7627             :   }
    7628             :   {
    7629           0 :     CPLErrorReset();
    7630           0 :     result = (double)OSRCRSInfo_south_lat_degree_get(arg1);
    7631           0 :     CPLErr eclass = CPLGetLastErrorType();
    7632           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7633           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7634             :       
    7635             :       
    7636             :       
    7637             :     }
    7638             :   }
    7639           0 :   jresult = result; 
    7640           0 :   return jresult;
    7641             : }
    7642             : 
    7643             : 
    7644           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_east_lon_degree_get___(void * jarg1) {
    7645             :   double jresult ;
    7646           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7647             :   double result;
    7648             :   
    7649           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7650             :   {
    7651           0 :     if (!arg1) {
    7652             :       {
    7653           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7654             :       };
    7655             :     }
    7656             :   }
    7657             :   {
    7658           0 :     CPLErrorReset();
    7659           0 :     result = (double)OSRCRSInfo_east_lon_degree_get(arg1);
    7660           0 :     CPLErr eclass = CPLGetLastErrorType();
    7661           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7662           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7663             :       
    7664             :       
    7665             :       
    7666             :     }
    7667             :   }
    7668           0 :   jresult = result; 
    7669           0 :   return jresult;
    7670             : }
    7671             : 
    7672             : 
    7673           0 : SWIGEXPORT double SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_north_lat_degree_get___(void * jarg1) {
    7674             :   double jresult ;
    7675           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7676             :   double result;
    7677             :   
    7678           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7679             :   {
    7680           0 :     if (!arg1) {
    7681             :       {
    7682           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7683             :       };
    7684             :     }
    7685             :   }
    7686             :   {
    7687           0 :     CPLErrorReset();
    7688           0 :     result = (double)OSRCRSInfo_north_lat_degree_get(arg1);
    7689           0 :     CPLErr eclass = CPLGetLastErrorType();
    7690           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7691           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7692             :       
    7693             :       
    7694             :       
    7695             :     }
    7696             :   }
    7697           0 :   jresult = result; 
    7698           0 :   return jresult;
    7699             : }
    7700             : 
    7701             : 
    7702           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_area_name_get___(void * jarg1) {
    7703             :   char * jresult ;
    7704           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7705           0 :   char *result = 0 ;
    7706             :   
    7707           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7708             :   {
    7709           0 :     if (!arg1) {
    7710             :       {
    7711           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7712             :       };
    7713             :     }
    7714             :   }
    7715             :   {
    7716           0 :     CPLErrorReset();
    7717           0 :     result = (char *)OSRCRSInfo_area_name_get(arg1);
    7718           0 :     CPLErr eclass = CPLGetLastErrorType();
    7719           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7720           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7721             :       
    7722             :       
    7723             :       
    7724             :     }
    7725             :   }
    7726           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7727           0 :   return jresult;
    7728             : }
    7729             : 
    7730             : 
    7731           0 : SWIGEXPORT char * SWIGSTDCALL CSharp_OSGeofOSR_OSRCRSInfo_projection_method_get___(void * jarg1) {
    7732             :   char * jresult ;
    7733           0 :   OSRCRSInfo *arg1 = (OSRCRSInfo *) 0 ;
    7734           0 :   char *result = 0 ;
    7735             :   
    7736           0 :   arg1 = (OSRCRSInfo *)jarg1; 
    7737             :   {
    7738           0 :     if (!arg1) {
    7739             :       {
    7740           0 :         SWIG_CSharpException(SWIG_ValueError, "Received a NULL pointer."); return 0; 
    7741             :       };
    7742             :     }
    7743             :   }
    7744             :   {
    7745           0 :     CPLErrorReset();
    7746           0 :     result = (char *)OSRCRSInfo_projection_method_get(arg1);
    7747           0 :     CPLErr eclass = CPLGetLastErrorType();
    7748           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7749           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7750             :       
    7751             :       
    7752             :       
    7753             :     }
    7754             :   }
    7755           0 :   jresult = SWIG_csharp_string_callback((const char *)result); 
    7756           0 :   return jresult;
    7757             : }
    7758             : 
    7759             : 
    7760           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_SetPROJSearchPath___(char * jarg1) {
    7761           0 :   char *arg1 = (char *) 0 ;
    7762             :   
    7763           0 :   arg1 = (char *)jarg1; 
    7764             :   {
    7765           0 :     CPLErrorReset();
    7766           0 :     SetPROJSearchPath((char const *)arg1);
    7767           0 :     CPLErr eclass = CPLGetLastErrorType();
    7768           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7769           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7770             :       
    7771             :       
    7772             :       
    7773             :     }
    7774             :   }
    7775           0 : }
    7776             : 
    7777             : 
    7778           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_SetPROJSearchPaths___(void * jarg1) {
    7779           0 :   char **arg1 = (char **) 0 ;
    7780             :   
    7781           0 :   arg1 = (char **)jarg1; 
    7782             :   {
    7783           0 :     CPLErrorReset();
    7784           0 :     SetPROJSearchPaths(arg1);
    7785           0 :     CPLErr eclass = CPLGetLastErrorType();
    7786           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7787           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7788             :       
    7789             :       
    7790             :       
    7791             :     }
    7792             :   }
    7793           0 : }
    7794             : 
    7795             : 
    7796           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_GetPROJSearchPaths___() {
    7797             :   void * jresult ;
    7798           0 :   char **result = 0 ;
    7799             :   
    7800             :   {
    7801           0 :     CPLErrorReset();
    7802           0 :     result = (char **)GetPROJSearchPaths();
    7803           0 :     CPLErr eclass = CPLGetLastErrorType();
    7804           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7805           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7806             :       
    7807             :       
    7808             :       
    7809             :     }
    7810             :   }
    7811           0 :   jresult = result; 
    7812           0 :   return jresult;
    7813             : }
    7814             : 
    7815             : 
    7816           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_GetPROJVersionMajor___() {
    7817             :   int jresult ;
    7818             :   int result;
    7819             :   
    7820             :   {
    7821           0 :     CPLErrorReset();
    7822           0 :     result = (int)GetPROJVersionMajor();
    7823           0 :     CPLErr eclass = CPLGetLastErrorType();
    7824           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7825           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7826             :       
    7827             :       
    7828             :       
    7829             :     }
    7830             :   }
    7831           0 :   jresult = result; 
    7832           0 :   return jresult;
    7833             : }
    7834             : 
    7835             : 
    7836           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_GetPROJVersionMinor___() {
    7837             :   int jresult ;
    7838             :   int result;
    7839             :   
    7840             :   {
    7841           0 :     CPLErrorReset();
    7842           0 :     result = (int)GetPROJVersionMinor();
    7843           0 :     CPLErr eclass = CPLGetLastErrorType();
    7844           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7845           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7846             :       
    7847             :       
    7848             :       
    7849             :     }
    7850             :   }
    7851           0 :   jresult = result; 
    7852           0 :   return jresult;
    7853             : }
    7854             : 
    7855             : 
    7856           0 : SWIGEXPORT int SWIGSTDCALL CSharp_OSGeofOSR_GetPROJVersionMicro___() {
    7857             :   int jresult ;
    7858             :   int result;
    7859             :   
    7860             :   {
    7861           0 :     CPLErrorReset();
    7862           0 :     result = (int)GetPROJVersionMicro();
    7863           0 :     CPLErr eclass = CPLGetLastErrorType();
    7864           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7865           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7866             :       
    7867             :       
    7868             :       
    7869             :     }
    7870             :   }
    7871           0 :   jresult = result; 
    7872           0 :   return jresult;
    7873             : }
    7874             : 
    7875             : 
    7876           0 : SWIGEXPORT unsigned int SWIGSTDCALL CSharp_OSGeofOSR_GetPROJEnableNetwork___() {
    7877             :   unsigned int jresult ;
    7878             :   bool result;
    7879             :   
    7880             :   {
    7881           0 :     CPLErrorReset();
    7882           0 :     result = (bool)GetPROJEnableNetwork();
    7883           0 :     CPLErr eclass = CPLGetLastErrorType();
    7884           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7885           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7886             :       
    7887             :       
    7888             :       
    7889             :     }
    7890             :   }
    7891           0 :   jresult = result; 
    7892           0 :   return jresult;
    7893             : }
    7894             : 
    7895             : 
    7896           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_SetPROJEnableNetwork___(unsigned int jarg1) {
    7897             :   bool arg1 ;
    7898             :   
    7899           0 :   arg1 = jarg1 ? true : false; 
    7900             :   {
    7901           0 :     CPLErrorReset();
    7902           0 :     SetPROJEnableNetwork(arg1);
    7903           0 :     CPLErr eclass = CPLGetLastErrorType();
    7904           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7905           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7906             :       
    7907             :       
    7908             :       
    7909             :     }
    7910             :   }
    7911           0 : }
    7912             : 
    7913             : 
    7914           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_SetPROJAuxDbPath___(char * jarg1) {
    7915           0 :   char *arg1 = (char *) 0 ;
    7916             :   
    7917           0 :   arg1 = (char *)jarg1; 
    7918             :   {
    7919           0 :     CPLErrorReset();
    7920           0 :     SetPROJAuxDbPath((char const *)arg1);
    7921           0 :     CPLErr eclass = CPLGetLastErrorType();
    7922           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7923           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7924             :       
    7925             :       
    7926             :       
    7927             :     }
    7928             :   }
    7929           0 : }
    7930             : 
    7931             : 
    7932           0 : SWIGEXPORT void SWIGSTDCALL CSharp_OSGeofOSR_SetPROJAuxDbPaths___(void * jarg1) {
    7933           0 :   char **arg1 = (char **) 0 ;
    7934             :   
    7935           0 :   arg1 = (char **)jarg1; 
    7936             :   {
    7937           0 :     CPLErrorReset();
    7938           0 :     SetPROJAuxDbPaths(arg1);
    7939           0 :     CPLErr eclass = CPLGetLastErrorType();
    7940           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7941           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7942             :       
    7943             :       
    7944             :       
    7945             :     }
    7946             :   }
    7947           0 : }
    7948             : 
    7949             : 
    7950           0 : SWIGEXPORT void * SWIGSTDCALL CSharp_OSGeofOSR_GetPROJAuxDbPaths___() {
    7951             :   void * jresult ;
    7952           0 :   char **result = 0 ;
    7953             :   
    7954             :   {
    7955           0 :     CPLErrorReset();
    7956           0 :     result = (char **)GetPROJAuxDbPaths();
    7957           0 :     CPLErr eclass = CPLGetLastErrorType();
    7958           0 :     if ( eclass == CE_Failure || eclass == CE_Fatal ) {
    7959           0 :       SWIG_CSharpException(SWIG_RuntimeError, CPLGetLastErrorMsg());
    7960             :       
    7961             :       
    7962             :       
    7963             :     }
    7964             :   }
    7965           0 :   jresult = result; 
    7966           0 :   return jresult;
    7967             : }
    7968             : 
    7969             : 
    7970             : #ifdef __cplusplus
    7971             : }
    7972             : #endif
    7973             : 

Generated by: LCOV version 1.14