예제 #1
0
        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);
        }
예제 #2
0
        public int SetIGH()
        {
            int ret = OsrPINVOKE.SpatialReference_SetIGH(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
        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);
        }
예제 #4
0
        public double GetInvFlattening()
        {
            double ret = OsrPINVOKE.SpatialReference_GetInvFlattening(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        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);
        }
예제 #6
0
        public int AutoIdentifyEPSG()
        {
            int ret = OsrPINVOKE.SpatialReference_AutoIdentifyEPSG(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
        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);
        }
예제 #8
0
        public int EPSGTreatsAsNorthingEasting()
        {
            int ret = OsrPINVOKE.SpatialReference_EPSGTreatsAsNorthingEasting(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #9
0
        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);
        }
예제 #10
0
        public int MorphFromESRI()
        {
            int ret = OsrPINVOKE.SpatialReference_MorphFromESRI(swigCPtr);

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

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

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

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

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #15
0
        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);
        }
예제 #16
0
        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);
        }
예제 #17
0
        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);
        }
예제 #18
0
        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);
        }
예제 #19
0
        public int SetProjection(string arg)
        {
            int ret = OsrPINVOKE.SpatialReference_SetProjection(swigCPtr, arg);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #20
0
        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);
        }
예제 #21
0
        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);
        }
예제 #22
0
        public double GetAngularUnits()
        {
            double ret = OsrPINVOKE.SpatialReference_GetAngularUnits(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #23
0
        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);
        }
예제 #24
0
        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);
        }
예제 #25
0
        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);
        }
예제 #26
0
        public string GetLinearUnitsName()
        {
            string ret = OsrPINVOKE.SpatialReference_GetLinearUnitsName(swigCPtr);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #27
0
        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);
        }
예제 #28
0
        public string GetAuthorityName(string target_key)
        {
            string ret = OsrPINVOKE.SpatialReference_GetAuthorityName(swigCPtr, target_key);

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #29
0
        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);
        }
예제 #30
0
        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);
        }