本文整理汇总了C#中ProjectionInfo.ParseEsriString方法的典型用法代码示例。如果您正苦于以下问题:C# ProjectionInfo.ParseEsriString方法的具体用法?C# ProjectionInfo.ParseEsriString怎么用?C# ProjectionInfo.ParseEsriString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ProjectionInfo
的用法示例。
在下文中一共展示了ProjectionInfo.ParseEsriString方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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";
}