Ejemplo n.º 1
0
        public SpatialReference ConvertToOtherProjection(string other_projection, string[] options)
        {
            IntPtr           cPtr = OsrPINVOKE.SpatialReference_ConvertToOtherProjection(swigCPtr, other_projection, (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null);
            SpatialReference ret  = (cPtr == IntPtr.Zero) ? null : new SpatialReference(cPtr, true, ThisOwn_true());

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