Exemple #1
0
        public override PJ Init()
        {
            // Alaska ellipsoid
            COMPLEX[] ABe=new COMPLEX[]
            {
                new COMPLEX(0.9945303, 0.0),
                new COMPLEX(0.0052083, -0.0027404),
                new COMPLEX(0.0072721, 0.0048181),
                new COMPLEX(-0.0151089, -0.1932526),
                new COMPLEX(0.0642675, -0.1381226),
                new COMPLEX(0.3582802, -0.2884586)
            };

            // Alaska sphere
            COMPLEX[] ABs=new COMPLEX[]
            {
                new COMPLEX(0.9972523, 0.0),
                new COMPLEX(0.0052513, -0.0041175),
                new COMPLEX(0.0074606, 0.0048125),
                new COMPLEX(-0.0153783, -0.1968253),
                new COMPLEX(0.0636871, -0.1408027),
                new COMPLEX(0.3660976, -0.2937382)
            };

            n=5;
            lam0=Proj.DEG_TO_RAD*-152.0;
            phi0=Proj.DEG_TO_RAD*64.0;

            if(es!=0)
            { // fixed ellipsoid/sphere
                zcoeff=ABe;
                a=6378206.4;
                es=0.00676866;
                e=Math.Sqrt(es);
            }
            else
            {
                zcoeff=ABs;
                a=6370997.0;
            }

            return setup();
        }
Exemple #2
0
        public override PJ Init()
        {
            // 48 United States
            COMPLEX[] AB=new COMPLEX[]
            {
                new COMPLEX(0.98879, 0.0),
                new COMPLEX(0.0, 0.0),
                new COMPLEX(-0.050909, 0.0),
                new COMPLEX(0.0, 0.0),
                new COMPLEX(0.075528, 0.0)
            };

            n=4;
            lam0=Proj.DEG_TO_RAD*-96.0;
            phi0=Proj.DEG_TO_RAD*-39.0;
            zcoeff=AB;
            es=0.0;
            a=6370997.0;

            return setup();
        }
Exemple #3
0
        public override PJ Init()
        {
            // Lee Oblated Stereographic
            COMPLEX[] AB=new COMPLEX[]
            {
                new COMPLEX(0.721316, 0.0),
                new COMPLEX(0.0, 0.0),
                new COMPLEX(-0.0088162, -0.00617325)
            };

            n=2;
            lam0=Proj.DEG_TO_RAD*-165.0;
            phi0=Proj.DEG_TO_RAD*-10.0;
            zcoeff=AB;
            es=0.0;

            return setup();
        }
Exemple #4
0
        public override PJ Init()
        {
            // Miller Oblated Stereographic
            COMPLEX[] AB=new COMPLEX[]
            {
                new COMPLEX(0.924500, 0.0),
                new COMPLEX(0.0, 0.0),
                new COMPLEX(0.019430, 0.0)
            };

            n=2;
            lam0=Proj.DEG_TO_RAD*20.0;
            phi0=Proj.DEG_TO_RAD*18.0;
            zcoeff=AB;
            es=0.0;

            return setup();
        }
Exemple #5
0
        public override PJ Init()
        {
            // GS50 ellipsoid
            COMPLEX[] ABe=new COMPLEX[]
            {
                new COMPLEX(0.9827497, 0.0),
                new COMPLEX(0.0210669, 0.0053804),
                new COMPLEX(-0.1031415, -0.0571664),
                new COMPLEX(-0.0323337, -0.0322847),
                new COMPLEX(0.0502303, 0.1211983),
                new COMPLEX(0.0251805, 0.0895678),
                new COMPLEX(-0.0012315, -0.1416121),
                new COMPLEX(0.0072202, -0.1317091),
                new COMPLEX(-0.0194029, 0.0759677),
                new COMPLEX(-0.0210072, 0.0834037)
            };

            // GS50 sphere
            COMPLEX[] ABs=new COMPLEX[]
            {
                new COMPLEX(0.9842990, 0.0),
                new COMPLEX(0.0211642, 0.0037608),
                new COMPLEX(-0.1036018, -0.0575102),
                new COMPLEX(-0.0329095, -0.0320119),
                new COMPLEX(0.0499471, 0.1223335),
                new COMPLEX(0.0260460, 0.0899805),
                new COMPLEX(0.0007388, -0.1435792),
                new COMPLEX(0.0075848, -0.1334108),
                new COMPLEX(-0.0216473, 0.0776645),
                new COMPLEX(-0.0225161, 0.0853673)
            };

            n=9;
            lam0=Proj.DEG_TO_RAD*-120.0;
            phi0=Proj.DEG_TO_RAD*45.0;

            if(es!=0)
            { // fixed ellipsoid/sphere
                zcoeff=ABe;
                a=6378206.4;
                es=0.00676866;
                e=Math.Sqrt(es);
            }
            else
            {
                zcoeff=ABs;
                a=6370997.0;
            }

            return setup();
        }