Converts a collection of MapPoint geometries to a collection of coordinate notation strings in the World Geographic Reference system (GEOREF) format.
Syntax
Remarks
Parameters
- points
- A IEnumerable of MapPoint representing the locations to be converted. Each MapPoint must share the same SpatialReference.
- numberOfDigits
- A System.Int32 indicating the precision of each half of the numeric portion of the returned coordinate. Must not be 0. A value of 1 or 2 will return a coordinate to 1 minute precision (e.g. MKPG1214). A value of 3 represents 0.1 minutes (e.g. MKPG120140). A value of 4 represents 0.01 minutes (e.g. MKPG12001400).
- roundToNearestWholeNumber
- true if the GEOREF coordinate should be rounded to produce a lower precision coordinate notation; otherwise false to truncate the coordinate notation.
Return Value
A
IList of
System.String of coordinate notations representing the locations defined by the MapPoints.
Exceptions
Requirements
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8
See Also