Method ToUtm
ToUtm(MapPoint, UtmConversionMode, Boolean)
Returns a formatted coordinate string in Universal Transverse Mercator (UTM) notation
representing the given Map
Declaration
public static string ToUtm(MapPoint point, UtmConversionMode utmConversionMode, bool addSpaces)
Parameters
Type | Name | Description |
---|---|---|
Map |
point | The coordinate to be represented in UTM notation.
It must have a Spatial |
Utm |
utmConversionMode | The Utm |
System. |
addSpaces | If |
Returns
Type | Description |
---|---|
System. |
A UTM notation string representing the position of the given Map |
Remarks
Example output for a point in the southern hemisphere:
utmConversionMode parameter value |
addSpaces parameter value |
Example output |
---|---|---|
Latitude |
false | 30U4898846199881 |
Latitude |
true | 30U 489884 6199881 |
North |
false | 30N4898846199881 |
North |
true | 30N 489884 6199881 |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
Relevant samples
Format coordinates: Format coordinates in a variety of common notations.