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

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

Definition

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

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

Example

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

See Also