public void SetUp() { Dictionary <CoordinateOperationParameter, Object> parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.LatitudeOfNaturalOrigin, Angle.FromDegree(90)); parameters.Add(CoordinateOperationParameters.LongitudeOfNaturalOrigin, Angle.FromDegree(0)); parameters.Add(CoordinateOperationParameters.ScaleFactorAtNaturalOrigin, 0.994); parameters.Add(CoordinateOperationParameters.FalseEasting, Length.FromMetre(2000000)); parameters.Add(CoordinateOperationParameters.FalseNorthing, Length.FromMetre(2000000)); _projectionA = new PolarStereographicAProjection("EPSG::16061", "Universal Polar Stereographic North", parameters, Ellipsoids.WGS1984, AreasOfUse.World_60NTo90N); parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.LatitudeOfStandardParallel, Angle.FromDegree(-71)); parameters.Add(CoordinateOperationParameters.LongitudeOfOrigin, Angle.FromDegree(70)); parameters.Add(CoordinateOperationParameters.FalseEasting, Length.FromMetre(6000000)); parameters.Add(CoordinateOperationParameters.FalseNorthing, Length.FromMetre(6000000)); _projectionB = new PolarStereographicBProjection("EPSG::19993", "Australian Antarctic Polar Stereographic", parameters, Ellipsoids.WGS1984, AreasOfUse.World); parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.LatitudeOfStandardParallel, Angle.FromDegree(-67)); parameters.Add(CoordinateOperationParameters.LongitudeOfOrigin, Angle.FromDegree(140)); parameters.Add(CoordinateOperationParameters.EastingAtFalseOrigin, Length.FromMetre(300000)); parameters.Add(CoordinateOperationParameters.NorthingAtFalseOrigin, Length.FromMetre(200000)); _projectionC = new PolarStereographicCProjection("EPSG::19983", "Terre Adelie Polar Stereographic ", parameters, Ellipsoids.International1924, AreasOfUse.World); }
public void SetUp() { Dictionary <CoordinateOperationParameter, Object> parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.LatitudeOfNaturalOrigin, Angle.FromDegree(90)); parameters.Add(CoordinateOperationParameters.LongitudeOfNaturalOrigin, Angle.FromDegree(0)); parameters.Add(CoordinateOperationParameters.ScaleFactorAtNaturalOrigin, 0.994); parameters.Add(CoordinateOperationParameters.FalseEasting, Length.FromMetre(2000000)); parameters.Add(CoordinateOperationParameters.FalseNorthing, Length.FromMetre(2000000)); Ellipsoid ellipsoid = Ellipsoid.FromSemiMinorAxis("EPSG::7030", "WGS 1984", 6378137, 6356752.314); AreaOfUse areaOfUse = TestUtilities.ReferenceProvider.AreasOfUse["EPSG::1996"]; this.projection = new PolarStereographicAProjection("EPSG::16061", "Universal Polar Stereographic North", parameters, ellipsoid, areaOfUse); }