当前位置: 首页>>代码示例>>C#>>正文


C# ProjectionInfo类代码示例

本文整理汇总了C#中ProjectionInfo的典型用法代码示例。如果您正苦于以下问题:C# ProjectionInfo类的具体用法?C# ProjectionInfo怎么用?C# ProjectionInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ProjectionInfo类属于命名空间,在下文中一共展示了ProjectionInfo类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SouthAmerica

        /// <summary>
        /// Creates a new instance of SouthAmerica
        /// </summary>
        public SouthAmerica()
        {
            SouthAmericaAlbersEqualAreaConic = new ProjectionInfo("+proj=aea +lat_1=-5 +lat_2=-42 +lat_0=-32 +lon_0=-60 +x_0=0 +y_0=0 +ellps=aust_SA +units=m +no_defs ");
            SouthAmericaEquidistantConic = new ProjectionInfo("+proj=eqdc +lat_0=0 +lon_0=0 +lat_1=-5 +lat_2=-42 +x_0=0 +y_0=0 +ellps=aust_SA +units=m +no_defs ");
            SouthAmericaLambertConformalConic = new ProjectionInfo("+proj=lcc +lat_1=-5 +lat_2=-42 +lat_0=-32 +lon_0=-60 +x_0=0 +y_0=0 +ellps=aust_SA +units=m +no_defs ");

        }
开发者ID:zhongshuiyuan,项目名称:mapwindowsix,代码行数:10,代码来源:SouthAmerica.cs

示例2: Antarctica

        /// <summary>
        /// Creates a new instance of Antarctica
        /// </summary>
        public Antarctica()
        {
            AustralianAntarctic1998 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=GRS80 +no_defs ");
            CampAreaAstro = ProjectionInfo.FromProj4String("+proj=longlat +ellps=intl +no_defs ");
            DeceptionIsland = ProjectionInfo.FromProj4String("+proj=longlat +ellps=clrk80 +no_defs ");
            Petrels1972 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=intl +no_defs ");
            PointeGeologiePerroud1950 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=intl +no_defs ");

            AustralianAntarctic1998.IsLatLon = true;
            CampAreaAstro.IsLatLon = true;
            DeceptionIsland.IsLatLon = true;
            Petrels1972.IsLatLon = true;
            PointeGeologiePerroud1950.IsLatLon = true;

            AustralianAntarctic1998.GeographicInfo.Name = "GCS_Australian_Antarctic_1998";
            CampAreaAstro.GeographicInfo.Name = "GCS_Camp_Area";
            DeceptionIsland.GeographicInfo.Name = "GCS_Deception_Island";
            Petrels1972.GeographicInfo.Name = "GCS_Petrels_1972";
            PointeGeologiePerroud1950.GeographicInfo.Name = "GCS_Pointe_Geologie_Perroud_1950";

            AustralianAntarctic1998.GeographicInfo.Datum.Name = "D_Australian_Antarctic_1998";
            CampAreaAstro.GeographicInfo.Datum.Name = "D_Camp_Area";
            DeceptionIsland.GeographicInfo.Datum.Name = "D_Deception_Island";
            Petrels1972.GeographicInfo.Datum.Name = "D_Petrels_1972";
            PointeGeologiePerroud1950.GeographicInfo.Datum.Name = "D_Pointe_Geologie_Perroud_1950";
        }
开发者ID:DIVEROVIEDO,项目名称:DotSpatial,代码行数:29,代码来源:Antarctica.cs

示例3: WorldSpheroid

        /// <summary>
        /// Creates a new instance of WorldSpheroid
        /// </summary>
        public WorldSpheroid()
        {
            Aitoffsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            Behrmannsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            Bonnesphere = new ProjectionInfo("+proj=bonne +lon_0=0 +lat_1=60 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            CrasterParabolicsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            CylindricalEqualAreasphere = new ProjectionInfo("+proj=cea +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            EckertIIIsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            EckertIIsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            EckertIsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            EckertIVsphere = new ProjectionInfo("+proj=eck4 +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            EckertVIsphere = new ProjectionInfo("+proj=eck6 +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            EckertVsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            EquidistantConicsphere = new ProjectionInfo("+proj=eqdc +lat_0=0 +lon_0=0 +lat_1=60 +lat_2=60 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            EquidistantCylindricalsphere = new ProjectionInfo("+proj=eqc +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            FlatPolarQuarticsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            GallStereographicsphere = new ProjectionInfo("+proj=gall +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            HammerAitoffsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            Loximuthalsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            Mercatorsphere = new ProjectionInfo("+proj=merc +lat_ts=0 +lon_0=0 +k=1.000000 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            MillerCylindricalsphere = new ProjectionInfo("+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +a=6371000 +b=6371000 +units=m +no_defs ");
            Mollweidesphere = new ProjectionInfo("+proj=moll +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            PlateCarreesphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            Polyconicsphere = new ProjectionInfo("+proj=poly +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            QuarticAuthalicsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            Robinsonsphere = new ProjectionInfo("+proj=robin +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            Sinusoidalsphere = new ProjectionInfo("+proj=sinu +lon_0=0 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ");
            Timessphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            VanderGrintenIsphere = new ProjectionInfo("+proj=vandg +lon_0=0 +x_0=0 +y_0=0 +R_A +a=6371000 +b=6371000 +units=m +no_defs ");
            VerticalPerspectivesphere = new ProjectionInfo("+ellps=WGS84 +datum=WGS84 +units=m +no_defs ");
            WinkelIIsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            WinkelIsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");
            WinkelTripelNGSsphere = new ProjectionInfo("+a=6371000 +b=6371000 +units=m +no_defs ");

        }
开发者ID:zhongshuiyuan,项目名称:mapwindowsix,代码行数:38,代码来源:WorldSpheroid.cs

示例4: NorthAmerica

        /// <summary>
        /// Creates a new instance of NorthAmerica
        /// </summary>
        public NorthAmerica()
        {
            AlaskanIslands = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            AmericanSamoa1962 = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            Ammassalik1958 = new ProjectionInfo("+proj=longlat +ellps=intl +no_defs ");
            ATS1977 = new ProjectionInfo("+proj=longlat +a=6378135 +b=6356750.304921594 +no_defs ");
            Barbados = new ProjectionInfo("+proj=longlat +ellps=clrk80 +no_defs ");
            Bermuda1957 = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            Bermuda2000 = new ProjectionInfo("+proj=longlat +ellps=WGS84 +no_defs ");
            CapeCanaveral = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            Guam1963 = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            Helle1954 = new ProjectionInfo("+proj=longlat +ellps=intl +no_defs ");
            Jamaica1875 = new ProjectionInfo("+proj=longlat +a=6378249.138 +b=6356514.959419348 +no_defs ");
            Jamaica1969 = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            NAD1927CGQ77 = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            NAD1927Definition1976 = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            NADMichigan = new ProjectionInfo("+proj=longlat +a=6378450.047 +b=6356826.620025999 +no_defs ");
            NorthAmerican1983CSRS98 = new ProjectionInfo("+proj=longlat +ellps=GRS80 +no_defs ");
            NorthAmerican1983HARN = new ProjectionInfo("+proj=longlat +ellps=GRS80 +no_defs ");
            NorthAmericanDatum1927 = new ProjectionInfo("+proj=longlat +ellps=clrk66 +datum=NAD27 +no_defs ");
            NorthAmericanDatum1983 = new ProjectionInfo("+proj=longlat +ellps=GRS80 +datum=NAD83 +no_defs ");
            OldHawaiian = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            PuertoRico = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            Qornoq = new ProjectionInfo("+proj=longlat +ellps=intl +no_defs ");
            Qornoq1927 = new ProjectionInfo("+proj=longlat +ellps=intl +no_defs ");
            Scoresbysund1952 = new ProjectionInfo("+proj=longlat +ellps=intl +no_defs ");
            StGeorgeIsland = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            StLawrenceIsland = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");
            StPaulIsland = new ProjectionInfo("+proj=longlat +ellps=clrk66 +no_defs ");


        }
开发者ID:zhongshuiyuan,项目名称:mapwindowsix,代码行数:35,代码来源:NorthAmerica.cs

示例5: OnInit

 /// <inheritdoc />
 protected override void OnInit(ProjectionInfo projInfo)
 {
     double phi = 0;
     if (projInfo.StandardParallel1 != null) phi = projInfo.StandardParallel1.Value * Math.PI / 180;
     _rc = Math.Cos(phi);
     if (_rc <= 0) throw new ProjectionException(24);
 }
开发者ID:ExRam,项目名称:DotSpatial-PCL,代码行数:8,代码来源:EquidistantCylindrical.cs

示例6: Europe

        /// <summary>
        /// Creates a new instance of Europe
        /// </summary>
        public Europe()
        {
            EMEP150KilometerGrid = new ProjectionInfo();
            EMEP150KilometerGrid.ParseEsriString("PROJCS[\"EMEP_150_Kilometer_Grid\", GEOGCS[\"GCS_Sphere_EMEP\", DATUM[\"D_Sphere_EMEP\", SPHEROID[\"Sphere_EMEP\", 6370000.0, 0.0]], PRIMEM[\"Greenwich\", 0.0], UNIT[\"Degree\", 0.0174532925199433]], PROJECTION[\"Stereographic_North_Pole\"], PARAMETER[\"False_Easting\", 3.0], PARAMETER[\"False_Northing\", 37.0], PARAMETER[\"Central_Meridian\", -32.0], PARAMETER[\"Standard_Parallel_1\", 60.0], UNIT[\"150_Kilometers\", 150000.0]]");
            EMEP50KilometerGrid = new ProjectionInfo();
            EMEP50KilometerGrid.ParseEsriString("PROJCS[\"EMEP_50_Kilometer_Grid\", GEOGCS[\"GCS_Sphere_EMEP\", DATUM[\"D_Sphere_EMEP\", SPHEROID[\"Sphere_EMEP\", 6370000.0, 0.0]], PRIMEM[\"Greenwich\", 0.0], UNIT[\"Degree\", 0.0174532925199433]], PROJECTION[\"Stereographic_North_Pole\"], PARAMETER[\"False_Easting\", 8.0], PARAMETER[\"False_Northing\", 110.0], PARAMETER[\"Central_Meridian\", -32.0], PARAMETER[\"Standard_Parallel_1\", 60.0], UNIT[\"50_Kilometers\", 50000.0]]");
            ETRS1989LAEA = ProjectionInfo.FromProj4String("+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 +ellps=GRS80 +units=m +no_defs ");
            ETRS1989LCC = ProjectionInfo.FromProj4String("+proj=lcc +lat_1=35 +lat_2=65 +lat_0=52 +lon_0=10 +x_0=4000000 +y_0=2800000 +ellps=GRS80 +units=m +no_defs ");
            EuropeAlbersEqualAreaConic = ProjectionInfo.FromProj4String("+proj=aea +lat_1=43 +lat_2=62 +lat_0=30 +lon_0=10 +x_0=0 +y_0=0 +ellps=intl +units=m +no_defs ");
            EuropeEquidistantConic = ProjectionInfo.FromProj4String("+proj=eqdc +lat_0=0 +lon_0=0 +lat_1=43 +lat_2=62 +x_0=0 +y_0=0 +ellps=intl +units=m +no_defs ");
            EuropeLambertConformalConic = ProjectionInfo.FromProj4String("+proj=lcc +lat_1=43 +lat_2=62 +lat_0=30 +lon_0=10 +x_0=0 +y_0=0 +ellps=intl +units=m +no_defs ");

            EMEP50KilometerGrid.Name = "EMEP_50_Kilometer_Grid";
            ETRS1989LAEA.Name = "ETRS_1989_LAEA";
            ETRS1989LCC.Name = "ETRS_1989_LCC";
            EuropeAlbersEqualAreaConic.Name = "Europe_Albers_Equal_Area_Conic";
            EuropeEquidistantConic.Name = "Europe_Equidistant_Conic";
            EuropeLambertConformalConic.Name = "Europe_Lambert_Conformal_Conic";

            EMEP150KilometerGrid.GeographicInfo.Name = "GCS_Sphere_EMEP";
            EMEP50KilometerGrid.GeographicInfo.Name = "GCS_Sphere_EMEP";
            ETRS1989LAEA.GeographicInfo.Name = "GCS_ETRS_1989";
            ETRS1989LCC.GeographicInfo.Name = "GCS_ETRS_1989";
            EuropeAlbersEqualAreaConic.GeographicInfo.Name = "GCS_European_1950";
            EuropeEquidistantConic.GeographicInfo.Name = "GCS_European_1950";
            EuropeLambertConformalConic.GeographicInfo.Name = "GCS_European_1950";

            EMEP150KilometerGrid.GeographicInfo.Datum.Name = "D_Sphere_EMEP";
            EMEP50KilometerGrid.GeographicInfo.Datum.Name = "D_Sphere_EMEP";
            ETRS1989LAEA.GeographicInfo.Datum.Name = "D_ETRS_1989";
            ETRS1989LCC.GeographicInfo.Datum.Name = "D_ETRS_1989";
            EuropeAlbersEqualAreaConic.GeographicInfo.Datum.Name = "D_European_1950";
            EuropeEquidistantConic.GeographicInfo.Datum.Name = "D_European_1950";
            EuropeLambertConformalConic.GeographicInfo.Datum.Name = "D_European_1950";
        }
开发者ID:DIVEROVIEDO,项目名称:DotSpatial,代码行数:38,代码来源:Europe.cs

示例7: NationalGridsIndia

        /// <summary>
        /// Creates a new instance of IndianSubcontinent
        /// </summary>
        public NationalGridsIndia()
        {
            Kalianpur1880IndiaZone0 = new ProjectionInfo("+proj=lcc +lat_1=39.5 +lat_0=39.5 +lon_0=68 +k_0=0.99846154 +x_0=2153865.73916853 +y_0=2368292.194628102 +a=6377299.36 +b=6356098.35162804 +to_meter=0.9143985307444408 +no_defs ");
            Kalianpur1880IndiaZoneI = new ProjectionInfo("+proj=lcc +lat_1=32.5 +lat_0=32.5 +lon_0=68 +k_0=0.99878641 +x_0=2743195.592233322 +y_0=914398.5307444407 +a=6377299.36 +b=6356098.35162804 +to_meter=0.9143985307444408 +no_defs ");
            Kalianpur1880IndiaZoneIIa = new ProjectionInfo("+proj=lcc +lat_1=26 +lat_0=26 +lon_0=74 +k_0=0.99878641 +x_0=2743195.592233322 +y_0=914398.5307444407 +a=6377299.36 +b=6356098.35162804 +to_meter=0.9143985307444408 +no_defs ");
            Kalianpur1880IndiaZoneIIb = new ProjectionInfo("+proj=lcc +lat_1=26 +lat_0=26 +lon_0=90 +k_0=0.99878641 +x_0=2743195.592233322 +y_0=914398.5307444407 +a=6377299.36 +b=6356098.35162804 +to_meter=0.9143985307444408 +no_defs ");
            Kalianpur1880IndiaZoneIII = new ProjectionInfo("+proj=lcc +lat_1=19 +lat_0=19 +lon_0=80 +k_0=0.99878641 +x_0=2743195.592233322 +y_0=914398.5307444407 +a=6377299.36 +b=6356098.35162804 +to_meter=0.9143985307444408 +no_defs ");
            Kalianpur1880IndiaZoneIV = new ProjectionInfo("+proj=lcc +lat_1=12 +lat_0=12 +lon_0=80 +k_0=0.99878641 +x_0=2743195.592233322 +y_0=914398.5307444407 +a=6377299.36 +b=6356098.35162804 +to_meter=0.9143985307444408 +no_defs ");
            Kalianpur1937IndiaZoneIIb = new ProjectionInfo("+proj=lcc +lat_1=26 +lat_0=26 +lon_0=90 +k_0=0.99878641 +x_0=2743195.5 +y_0=914398.5 +a=6377276.345 +b=6356075.41314024 +units=m +no_defs ");
            Kalianpur1937UTMZone45N = new ProjectionInfo("+proj=utm +zone=45 +a=6377276.345 +b=6356075.41314024 +units=m +no_defs ");
            Kalianpur1937UTMZone46N = new ProjectionInfo("+proj=utm +zone=46 +a=6377276.345 +b=6356075.41314024 +units=m +no_defs ");
            Kalianpur1962IndiaZoneI = new ProjectionInfo("+proj=lcc +lat_1=32.5 +lat_0=32.5 +lon_0=68 +k_0=0.99878641 +x_0=2743196.4 +y_0=914398.8000000001 +a=6377301.243 +b=6356100.230165384 +units=m +no_defs ");
            Kalianpur1962IndiaZoneIIa = new ProjectionInfo("+proj=lcc +lat_1=26 +lat_0=26 +lon_0=74 +k_0=0.99878641 +x_0=2743196.4 +y_0=914398.8000000001 +a=6377301.243 +b=6356100.230165384 +units=m +no_defs ");
            Kalianpur1962UTMZone41N = new ProjectionInfo("+proj=utm +zone=41 +a=6377301.243 +b=6356100.230165384 +units=m +no_defs ");
            Kalianpur1962UTMZone42N = new ProjectionInfo("+proj=utm +zone=42 +a=6377301.243 +b=6356100.230165384 +units=m +no_defs ");
            Kalianpur1962UTMZone43N = new ProjectionInfo("+proj=utm +zone=43 +a=6377301.243 +b=6356100.230165384 +units=m +no_defs ");
            Kalianpur1975IndiaZoneI = new ProjectionInfo("+proj=lcc +lat_1=32.5 +lat_0=32.5 +lon_0=68 +k_0=0.99878641 +x_0=2743185.69 +y_0=914395.23 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975IndiaZoneIIa = new ProjectionInfo("+proj=lcc +lat_1=26 +lat_0=26 +lon_0=74 +k_0=0.99878641 +x_0=2743185.69 +y_0=914395.23 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975IndiaZoneIIb = new ProjectionInfo("+proj=lcc +lat_1=26 +lat_0=26 +lon_0=90 +k_0=0.99878641 +x_0=2743185.69 +y_0=914395.23 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975IndiaZoneIII = new ProjectionInfo("+proj=lcc +lat_1=19 +lat_0=19 +lon_0=80 +k_0=0.99878641 +x_0=2743185.69 +y_0=914395.23 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975IndiaZoneIV = new ProjectionInfo("+proj=lcc +lat_1=12 +lat_0=12 +lon_0=80 +k_0=0.99878641 +x_0=2743185.69 +y_0=914395.23 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975UTMZone42N = new ProjectionInfo("+proj=utm +zone=42 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975UTMZone43N = new ProjectionInfo("+proj=utm +zone=43 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975UTMZone44N = new ProjectionInfo("+proj=utm +zone=44 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975UTMZone45N = new ProjectionInfo("+proj=utm +zone=45 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975UTMZone46N = new ProjectionInfo("+proj=utm +zone=46 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");
            Kalianpur1975UTMZone47N = new ProjectionInfo("+proj=utm +zone=47 +a=6377299.151 +b=6356098.145120132 +units=m +no_defs ");

        }
开发者ID:zhongshuiyuan,项目名称:mapwindowsix,代码行数:32,代码来源:NationalGridsIndia.cs

示例8: Australia

        /// <summary>
        /// Creates a new instance of Australia
        /// </summary>
        public Australia()
        {
            AustralianGeodeticDatum1966 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=aust_SA +no_defs ");
            AustralianGeodeticDatum1984 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=aust_SA +no_defs ");
            ChathamIslands1979 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=intl +no_defs ");
            GeocentricDatumofAustralia1994 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=GRS80 +no_defs ");
            NewZealandGeodeticDatum1949 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=intl +no_defs ");
            NZGD2000 = ProjectionInfo.FromProj4String("+proj=longlat +ellps=GRS80 +no_defs ");

            AustralianGeodeticDatum1966.IsLatLon = true;
            AustralianGeodeticDatum1984.IsLatLon = true;
            ChathamIslands1979.IsLatLon = true;
            GeocentricDatumofAustralia1994.IsLatLon = true;
            NewZealandGeodeticDatum1949.IsLatLon = true;
            NZGD2000.IsLatLon = true;

            AustralianGeodeticDatum1966.GeographicInfo.Name = "GCS_Australian_1966";
            AustralianGeodeticDatum1984.GeographicInfo.Name = "GCS_Australian_1984";
            ChathamIslands1979.GeographicInfo.Name = "GCS_Chatham_Islands_1979";
            GeocentricDatumofAustralia1994.GeographicInfo.Name = "GCS_GDA_1994";
            NewZealandGeodeticDatum1949.GeographicInfo.Name = "GCS_New_Zealand_1949";
            NZGD2000.GeographicInfo.Name = "GCS_NZGD_2000";

            AustralianGeodeticDatum1966.GeographicInfo.Datum.Name = "D_Australian_1966";
            AustralianGeodeticDatum1984.GeographicInfo.Datum.Name = "D_Australian_1984";
            ChathamIslands1979.GeographicInfo.Datum.Name = "D_Chatham_Islands_1979";
            GeocentricDatumofAustralia1994.GeographicInfo.Datum.Name = "D_GDA_1994";
            NewZealandGeodeticDatum1949.GeographicInfo.Datum.Name = "D_New_Zealand_1949";
            NZGD2000.GeographicInfo.Datum.Name = "D_NZGD_2000";
        }
开发者ID:ExRam,项目名称:DotSpatial-PCL,代码行数:33,代码来源:Australia.cs

示例9: UtmNad1927

        /// <summary>
        /// Creates a new instance of UtmNad1927
        /// </summary>
        public UtmNad1927()
        {
            NAD1927UTMZone10N = new ProjectionInfo("+proj=utm +zone=10 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone11N = new ProjectionInfo("+proj=utm +zone=11 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone12N = new ProjectionInfo("+proj=utm +zone=12 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone13N = new ProjectionInfo("+proj=utm +zone=13 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone14N = new ProjectionInfo("+proj=utm +zone=14 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone15N = new ProjectionInfo("+proj=utm +zone=15 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone16N = new ProjectionInfo("+proj=utm +zone=16 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone17N = new ProjectionInfo("+proj=utm +zone=17 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone18N = new ProjectionInfo("+proj=utm +zone=18 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone19N = new ProjectionInfo("+proj=utm +zone=19 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone1N = new ProjectionInfo("+proj=utm +zone=1 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone20N = new ProjectionInfo("+proj=utm +zone=20 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone21N = new ProjectionInfo("+proj=utm +zone=21 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone22N = new ProjectionInfo("+proj=utm +zone=22 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone2N = new ProjectionInfo("+proj=utm +zone=2 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone3N = new ProjectionInfo("+proj=utm +zone=3 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone4N = new ProjectionInfo("+proj=utm +zone=4 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone59N = new ProjectionInfo("+proj=utm +zone=59 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone5N = new ProjectionInfo("+proj=utm +zone=5 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone60N = new ProjectionInfo("+proj=utm +zone=60 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone6N = new ProjectionInfo("+proj=utm +zone=6 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone7N = new ProjectionInfo("+proj=utm +zone=7 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone8N = new ProjectionInfo("+proj=utm +zone=8 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");
            NAD1927UTMZone9N = new ProjectionInfo("+proj=utm +zone=9 +ellps=clrk66 +datum=NAD27 +units=m +no_defs ");

        }
开发者ID:zhongshuiyuan,项目名称:mapwindowsix,代码行数:31,代码来源:UtmNad1927.cs

示例10: NationalGridsSweden

        /// <summary>
        /// Creates a new instance of NationalGridsSweden
        /// </summary>
        public NationalGridsSweden()
        {
            RT380gon = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=18.05827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT3825gonO = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=20.30827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT3825gonV = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=15.80827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT385gonO = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=22.55827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT385gonV = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=13.55827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT3875gonV = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=11.30827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT900gon = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=18.05827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT9025gonO = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=20.30827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT9025gonV = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=15.80827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT905gonO = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=22.55827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT905gonV = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=13.55827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            RT9075gonV = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=11.30827777777778 +k=1.000000 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs ");
            SWEREF991200 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=12 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF991330 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=13.5 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF991415 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=14.25 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF991500 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=15 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF991545 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=15.75 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF991630 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=16.5 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF991715 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=17.25 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF991800 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=18 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF991845 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=18.75 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF992015 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=20.25 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF992145 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=21.75 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF992315 = new ProjectionInfo("+proj=tmerc +lat_0=0 +lon_0=23.25 +k=1.000000 +x_0=150000 +y_0=0 +ellps=GRS80 +units=m +no_defs ");
            SWEREF99TM = new ProjectionInfo("+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs ");

        }
开发者ID:zhongshuiyuan,项目名称:mapwindowsix,代码行数:32,代码来源:NationalGridsSweden.cs

示例11: Asia

        /// <summary>
        /// Creates a new instance of Asia
        /// </summary>
        public Asia()
        {
            AsiaLambertConformalConic = ProjectionInfo.FromProj4String("+proj=lcc +lat_1=30 +lat_2=62 +lat_0=0 +lon_0=105 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ");
            AsiaNorthAlbersEqualAreaConic = ProjectionInfo.FromProj4String("+proj=aea +lat_1=15 +lat_2=65 +lat_0=30 +lon_0=95 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ");
            AsiaNorthEquidistantConic = ProjectionInfo.FromProj4String("+proj=eqdc +lat_0=0 +lon_0=0 +lat_1=15 +lat_2=65 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ");
            AsiaNorthLambertConformalConic = ProjectionInfo.FromProj4String("+proj=lcc +lat_1=15 +lat_2=65 +lat_0=30 +lon_0=95 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ");
            AsiaSouthAlbersEqualAreaConic = ProjectionInfo.FromProj4String("+proj=aea +lat_1=7 +lat_2=-32 +lat_0=-15 +lon_0=125 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ");
            AsiaSouthEquidistantConic = ProjectionInfo.FromProj4String("+proj=eqdc +lat_0=0 +lon_0=0 +lat_1=7 +lat_2=-32 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ");
            AsiaSouthLambertConformalConic = ProjectionInfo.FromProj4String("+proj=lcc +lat_1=7 +lat_2=-32 +lat_0=-15 +lon_0=125 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ");

            AsiaLambertConformalConic.Name = "Asia_Lambert_Conformal_Conic";
            AsiaNorthAlbersEqualAreaConic.Name = "Asia_North_Albers_Equal_Area_Conic";
            AsiaNorthEquidistantConic.Name = "Asia_North_Equidistant_Conic";
            AsiaNorthLambertConformalConic.Name = "Asia_North_Lambert_Conformal_Conic";
            AsiaSouthAlbersEqualAreaConic.Name = "Asia_South_Albers_Equal_Area_Conic";
            AsiaSouthEquidistantConic.Name = "Asia_South_Equidistant_Conic";
            AsiaSouthLambertConformalConic.Name = "Asia_South_Lambert_Conformal_Conic";

            AsiaLambertConformalConic.GeographicInfo.Name = "GCS_WGS_1984";
            AsiaNorthAlbersEqualAreaConic.GeographicInfo.Name = "GCS_WGS_1984";
            AsiaNorthEquidistantConic.GeographicInfo.Name = "GCS_WGS_1984";
            AsiaNorthLambertConformalConic.GeographicInfo.Name = "GCS_WGS_1984";
            AsiaSouthAlbersEqualAreaConic.GeographicInfo.Name = "GCS_WGS_1984";
            AsiaSouthEquidistantConic.GeographicInfo.Name = "GCS_WGS_1984";
            AsiaSouthLambertConformalConic.GeographicInfo.Name = "GCS_WGS_1984";

            AsiaLambertConformalConic.GeographicInfo.Datum.Name = "D_WGS_1984";
            AsiaNorthAlbersEqualAreaConic.GeographicInfo.Datum.Name = "D_WGS_1984";
            AsiaNorthEquidistantConic.GeographicInfo.Datum.Name = "D_WGS_1984";
            AsiaNorthLambertConformalConic.GeographicInfo.Datum.Name = "D_WGS_1984";
            AsiaSouthAlbersEqualAreaConic.GeographicInfo.Datum.Name = "D_WGS_1984";
            AsiaSouthEquidistantConic.GeographicInfo.Datum.Name = "D_WGS_1984";
            AsiaSouthLambertConformalConic.GeographicInfo.Datum.Name = "D_WGS_1984";
        }
开发者ID:ExRam,项目名称:DotSpatial-PCL,代码行数:37,代码来源:Asia.cs

示例12: OnInit

 /// <summary>
 /// Initializes the transform using the parameters from the specified coordinate system information
 /// </summary>
 /// <param name="projInfo">A ProjectionInfo class contains all the standard and custom parameters needed to initialize this transform</param>
 protected override void OnInit(ProjectionInfo projInfo)
 {
     Y0 = projInfo.IsSouth ? 10000000 : 0;
     projInfo.FalseNorthing = Y0;
     X0 = 500000;
     projInfo.FalseEasting = X0;
     int zone;
     if (projInfo.Zone != null)
     {
         zone = projInfo.Zone.Value;
         if (zone <= 0 || zone > 60) throw new ProjectionException(35);
         zone--;
     }
     else
     {
         zone = (int)Math.Floor((Proj.Adjlon(Lam0) + Math.PI) * 30 / Math.PI);
         if (zone < 0) zone = 0;
         if (zone >= 60) zone = 59;
     }
     Lam0 = (zone + .5) * Math.PI / 30.00 - Math.PI;
     projInfo.Lam0 = Lam0;
     K0 = 0.9996;
     Phi0 = 0;
     base.OnInit(projInfo);
 }
开发者ID:DIVEROVIEDO,项目名称:DotSpatial,代码行数:29,代码来源:UniversalTransverseMercator.cs

示例13: OnInit

        /// <summary>
        /// Initializes the transform using the parameters from the specified coordinate system information
        /// </summary>
        /// <param name="projInfo">A ProjectionInfo class contains all the standard and custom parameters needed to initialize this transform</param>
        protected override void OnInit(ProjectionInfo projInfo)
        {
            double pp;

            /* get control point locations */
            double phi1 = projInfo.Phi1;
            double lam1 = projInfo.Lam1;
            double phi2 = projInfo.Phi2;
            double lam2 = projInfo.Lam2;
            if (phi1 == phi2 && lam1 == lam2) throw new ProjectionException(-25);
            Lam0 = Proj.Adjlon(0.5 * (lam1 + lam2));
            _dlam2 = Proj.Adjlon(lam2 - lam1);
            _cp1 = Math.Cos(phi1);
            _cp2 = Math.Cos(phi2);
            _sp1 = Math.Sin(phi1);
            _sp2 = Math.Sin(phi2);
            _cs = _cp1 * _sp2;
            _sc = _sp1 * _cp2;
            _ccs = _cp1 * _cp2 * Math.Sin(_dlam2);
            _z02 = Proj.Aacos(_sp1 * _sp2 + _cp1 * _cp2 * Math.Cos(_dlam2));
            _hz0 = .5 * _z02;
            double a12 = Math.Atan2(_cp2 * Math.Sin(_dlam2),
                                    _cp1 * _sp2 - _sp1 * _cp2 * Math.Cos(_dlam2));
            _ca = Math.Cos(pp = Proj.Aasin(_cp1 * Math.Sin(a12)));
            _sa = Math.Sin(pp);
            _lp = Proj.Adjlon(Math.Atan2(_cp1 * Math.Cos(a12), _sp1) - _hz0);
            _dlam2 *= .5;
            _lamc = HALF_PI - Math.Atan2(Math.Sin(a12) * _sp1, Math.Cos(a12)) - _dlam2;
            _thz0 = Math.Tan(_hz0);
            _rhshz0 = .5 / Math.Sin(_hz0);
            _r2Z0 = 0.5 / _z02;
            _z02 *= _z02;
        }
开发者ID:DIVEROVIEDO,项目名称:DotSpatial,代码行数:37,代码来源:TwoPointEquidistant.cs

示例14: ProjectionInfoConstructorTest2

        public void ProjectionInfoConstructorTest2()
        {
            string proj4String = null;
            var actual = ProjectionInfo.FromProj4String(proj4String);
            var expected = new ProjectionInfo();

            Assert.AreEqual(expected.ToProj4String(), actual.ToProj4String());
        }
开发者ID:joelmuzz,项目名称:DotSpatial,代码行数:8,代码来源:ProjectionInfoTests.cs

示例15: OnInit

 /// <summary>
 /// Initializes the transform using the parameters from the specified coordinate system information
 /// </summary>
 /// <param name="projInfo">A ProjectionInfo class contains all the standard and custom parameters needed to initialize this transform</param>
 protected override void OnInit(ProjectionInfo projInfo)
 {
     Ra = 1 / (A = 6378388.0);
     Lam0 = DEG_TO_RAD * 173;
     Phi0 = DEG_TO_RAD * -41;
     X0 = 2510000;
     Y0 = 6023150;
 }
开发者ID:ExRam,项目名称:DotSpatial-PCL,代码行数:12,代码来源:NewZealandMapGrid.cs


注:本文中的ProjectionInfo类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。