public void SetUp() { Dictionary <CoordinateOperationParameter, Object> parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.LatitudeOfNaturalOrigin, Angle.FromDegree(-16, 15, 00)); parameters.Add(CoordinateOperationParameters.LongitudeOfNaturalOrigin, Angle.FromDegree(179, 20, 00)); parameters.Add(CoordinateOperationParameters.FalseEasting, Length.Convert(Length.FromClarkesChain(12513.318), UnitsOfMeasurement.ClarkesFoot)); parameters.Add(CoordinateOperationParameters.FalseNorthing, Length.Convert(Length.FromClarkesChain(16628.885), UnitsOfMeasurement.ClarkesFoot)); Ellipsoid ellipsoid = Ellipsoid.FromSemiMinorAxis("EPSG::7034", "Clarke 1880", Length.FromClarkesFoot(20926202), Length.FromClarkesFoot(20854895)); AreaOfUse areaOfUse = TestUtilities.ReferenceProvider.AreasOfUse["EPSG::1262"]; this.projection = new HyperbolicCassiniSoldnerProjection("EPSG::9833", "Vanua Levu Grid", parameters, ellipsoid, areaOfUse); }
public void SetUp() { Dictionary <CoordinateOperationParameter, Object> parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.LatitudeOfNaturalOrigin, Angle.FromDegree(10, 26, 30)); parameters.Add(CoordinateOperationParameters.LongitudeOfNaturalOrigin, Angle.FromDegree(-61, 20, 0)); parameters.Add(CoordinateOperationParameters.FalseEasting, Length.FromClarkesLink(430000)); parameters.Add(CoordinateOperationParameters.FalseNorthing, Length.FromClarkesLink(325000)); _projection = new CassiniSoldnerProjection("EPSG::19925", "Trinidad Grid", parameters, Ellipsoids.Clarke1858.ReMeasure(UnitsOfMeasurement.ClarkesLink), AreasOfUse.TrinidadAndTobago); parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.LatitudeOfNaturalOrigin, Angle.FromDegree(-16, 15, 00)); parameters.Add(CoordinateOperationParameters.LongitudeOfNaturalOrigin, Angle.FromDegree(179, 20, 00)); parameters.Add(CoordinateOperationParameters.FalseEasting, Length.Convert(Length.FromClarkesChain(12513.318), UnitsOfMeasurement.ClarkesFoot)); parameters.Add(CoordinateOperationParameters.FalseNorthing, Length.Convert(Length.FromClarkesChain(16628.885), UnitsOfMeasurement.ClarkesFoot)); _hyperbolicProjection = new HyperbolicCassiniSoldnerProjection("EPSG::9833", "Vanua Levu Grid", parameters, Ellipsoids.Clarke1880, AreasOfUse.World); }