Returns the GARS description of a point.
[Visual Basic .NET] Public Function GetGARSFromCoords ( _ ) As String
[C#] public string GetGARSFromCoords ( );
[C++]
HRESULT GetGARSFromCoords(
BSTR* GARSString
);
[C++]Parameters
GARSString [out, retval] GARSString is a parameter of type BSTR
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
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