This document is archived and information here might be outdated. Recommended version. |
Returns the GeoRef description of a point.
[Visual Basic .NET] Public Function GetGeoRefFromCoords ( _ ByVal numDigits As Integer, _ ByVal numericRounding As Boolean _ ) As String
[C#] public string GetGeoRefFromCoords ( int numDigits, bool numericRounding );
[C++]
HRESULT GetGeoRefFromCoords(
long numDigits,
VARIANT_BOOL numericRounding
);
[C++]
Parameters numDigits
numDigits is a parameter of type long numericRounding
numericRounding is a parameter of type bool
The GetGeoRefFromCoords 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 World Geographic Reference System (GEOREF) is used for military referencing. More information is at http://earth-info.nga.mil/GandG/coordsys/grids/referencesys.html.
longitude=-100.0
latitude=40.0
Georef=FJFL000000 (precision is 3 which determines a location to 0.1 minute)