Example #1
0
        public SpatialReference CloneGeogCS()
        {
            IntPtr           cPtr = OsrPINVOKE.SpatialReference_CloneGeogCS(swigCPtr);
            SpatialReference ret  = (cPtr == IntPtr.Zero) ? null : new SpatialReference(cPtr, true, ThisOwn_true());

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