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); }