Click or drag to resize

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

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

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.7.1.1
Syntax
C#
public MilitaryGridReferenceSystem(
	string latz,
	int longz,
	string d,
	double e,
	double n,
	double rad,
	double flt
)

Parameters

latz
Type: SystemString
MGRS Latitude Band Grid Zone Designation (Letter)
longz
Type: SystemInt32
MGRS Longitude Band Grid Zone Designation (Number)
d
Type: SystemString
MGRS 100,000 Meter Square Identifier (2 Letter)
e
Type: SystemDouble
Easting
n
Type: SystemDouble
Northing
rad
Type: SystemDouble
Equatorial Radius
flt
Type: SystemDouble
Inverse Flattening
Examples
MilitaryGridReferenceSystem mgrs = new MilitaryGridReferenceSystem("N", 21, "SA", 66037, 61982, 6378160.000, 298.25);
See Also