public void SetUp() { Dictionary <CoordinateOperationParameter, Object> parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.GeocenticXOfTopocentricOrigin, Length.FromMetre(3652755.3058)); parameters.Add(CoordinateOperationParameters.GeocenticYOfTopocentricOrigin, Length.FromMetre(319574.6799)); parameters.Add(CoordinateOperationParameters.GeocenticZOfTopocentricOrigin, Length.FromMetre(5201547.3536)); _conversion = new GeocentricToTopocentricConversion(parameters, Ellipsoids.WGS1984); }
public void SetUp() { Dictionary <CoordinateOperationParameter, Object> parameters = new Dictionary <CoordinateOperationParameter, Object>(); parameters.Add(CoordinateOperationParameters.GeocenticXOfTopocentricOrigin, Length.FromMetre(3652755.3058)); parameters.Add(CoordinateOperationParameters.GeocenticYOfTopocentricOrigin, Length.FromMetre(319574.6799)); parameters.Add(CoordinateOperationParameters.GeocenticZOfTopocentricOrigin, Length.FromMetre(5201547.3536)); Ellipsoid ellipsoid = Ellipsoid.FromSemiMinorAxis("EPSG::7030", "WGS 1984", 6378137, 6356752.314); this.conversion = new GeocentricToTopocentricConversion(IdentifiedObject.UserDefinedIdentifier, IdentifiedObject.UserDefinedName, parameters, ellipsoid); }