This document is archived and information here might be outdated. Recommended version. |
Returns the GARS description of a point.
[Visual Basic .NET] Public Function GetGARSFromCoords ( _ ) As String
[C#] public string GetGARSFromCoords ( );
[C++]
HRESULT GetGARSFromCoords(
void
);
The GetGARSFromCoords method returns an alphanumeric string from a Point that has either geographic or projected coordinates. The Point must have a spatial reference that has a defined coordinate system. The Global Area Reference System (GARS) is used for military referencing. More information is at http://earth-info.nga.mil/GandG/coordsys/grids/gars.html
longitude=-100.0
latitude=40.0
GARS=161LW37