MilitaryGridReferenceSystem(String, Int32, String, Double, Double, Double, Double) Constructor

Creates an MilitaryGridReferenceSystem (MGRS) object with a custom datum(ellipsoid).

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public MilitaryGridReferenceSystem(
	string latz,
	int longz,
	string d,
	double e,
	double n,
	double rad,
	double flt
)

Parameters

latz  String
MGRS Latitude Band Grid Zone Designation (Letter)
longz  Int32
MGRS Longitude Band Grid Zone Designation (Number)
d  String
MGRS 100,000 Meter Square Identifier (2 Letter)
e  Double
Easting
n  Double
Northing
rad  Double
Equatorial Radius
flt  Double
Inverse Flattening

Example

C#
MilitaryGridReferenceSystem mgrs = new MilitaryGridReferenceSystem("N", 21, "SA", 66037, 61982, 6378160.000, 298.25);

See Also