public int ExportToUSGS(out int code, out int zone, out int datum)
        {
            int ret = OsrPINVOKE.SpatialReference_ExportToUSGS(swigCPtr, out code, out zone, out datum);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetIGH()
        {
            int ret = OsrPINVOKE.SpatialReference_SetIGH(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetGnomonic(double clat, double clong, double fe, double fn)
        {
            int ret = OsrPINVOKE.SpatialReference_SetGnomonic(swigCPtr, clat, clong, fe, fn);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public double GetInvFlattening()
        {
            double ret = OsrPINVOKE.SpatialReference_GetInvFlattening(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetEquirectangular2(double clat, double clong, double pseudostdparallellat, double fe, double fn)
        {
            int ret = OsrPINVOKE.SpatialReference_SetEquirectangular2(swigCPtr, clat, clong, pseudostdparallellat, fe, fn);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int AutoIdentifyEPSG()
        {
            int ret = OsrPINVOKE.SpatialReference_AutoIdentifyEPSG(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetNormProjParm(string name, double val)
        {
            int ret = OsrPINVOKE.SpatialReference_SetNormProjParm(swigCPtr, name, val);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int EPSGTreatsAsNorthingEasting()
        {
            int ret = OsrPINVOKE.SpatialReference_EPSGTreatsAsNorthingEasting(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetAuthority(string pszTargetKey, string pszAuthority, int nCode)
        {
            int ret = OsrPINVOKE.SpatialReference_SetAuthority(swigCPtr, pszTargetKey, pszAuthority, nCode);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int MorphFromESRI()
        {
            int ret = OsrPINVOKE.SpatialReference_MorphFromESRI(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int IsGeographic()
        {
            int ret = OsrPINVOKE.SpatialReference_IsGeographic(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int FixupOrdering()
        {
            int ret = OsrPINVOKE.SpatialReference_FixupOrdering(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int IsSameVertCS(SpatialReference rhs)
        {
            int ret = OsrPINVOKE.SpatialReference_IsSameVertCS(swigCPtr, SpatialReference.getCPtr(rhs));

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int ExportToMICoordSys(out string argout)
        {
            int ret = OsrPINVOKE.SpatialReference_ExportToMICoordSys(swigCPtr, out argout);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetUTM(int zone, int north)
        {
            int ret = OsrPINVOKE.SpatialReference_SetUTM(swigCPtr, zone, north);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public string GetAttrValue(string name, int child)
        {
            string ret = OsrPINVOKE.SpatialReference_GetAttrValue(swigCPtr, name, child);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetStatePlane(int zone, int is_nad83, string unitsname, double units)
        {
            int ret = OsrPINVOKE.SpatialReference_SetStatePlane(swigCPtr, zone, is_nad83, unitsname, units);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetAttrValue(string name, string value)
        {
            int ret = OsrPINVOKE.SpatialReference_SetAttrValue(swigCPtr, name, value);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetProjection(string arg)
        {
            int ret = OsrPINVOKE.SpatialReference_SetProjection(swigCPtr, arg);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetAngularUnits(string name, double to_radians)
        {
            int ret = OsrPINVOKE.SpatialReference_SetAngularUnits(swigCPtr, name, to_radians);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public double GetNormProjParm(string name, double default_val)
        {
            double ret = OsrPINVOKE.SpatialReference_GetNormProjParm(swigCPtr, name, default_val);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public double GetAngularUnits()
        {
            double ret = OsrPINVOKE.SpatialReference_GetAngularUnits(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetEckertVI(double cm, double fe, double fn)
        {
            int ret = OsrPINVOKE.SpatialReference_SetEckertVI(swigCPtr, cm, fe, fn);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetLinearUnitsAndUpdateParameters(string name, double to_meters)
        {
            int ret = OsrPINVOKE.SpatialReference_SetLinearUnitsAndUpdateParameters(swigCPtr, name, to_meters);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetGaussSchreiberTMercator(double clat, double clong, double sc, double fe, double fn)
        {
            int ret = OsrPINVOKE.SpatialReference_SetGaussSchreiberTMercator(swigCPtr, clat, clong, sc, fe, fn);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public string GetLinearUnitsName()
        {
            string ret = OsrPINVOKE.SpatialReference_GetLinearUnitsName(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetGEOS(double cm, double satelliteheight, double fe, double fn)
        {
            int ret = OsrPINVOKE.SpatialReference_SetGEOS(swigCPtr, cm, satelliteheight, fe, fn);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public string GetAuthorityName(string target_key)
        {
            string ret = OsrPINVOKE.SpatialReference_GetAuthorityName(swigCPtr, target_key);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int SetHOM(double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn)
        {
            int ret = OsrPINVOKE.SpatialReference_SetHOM(swigCPtr, clat, clong, azimuth, recttoskew, scale, fe, fn);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public int ExportToPCI(out string proj, out string units)
        {
            int ret = OsrPINVOKE.SpatialReference_ExportToPCI(swigCPtr, out proj, out units);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }