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

Generated by: LCOV version 1.14