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 |
Boolean | 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. |
|
Argument |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 100.15 |
Relevant samples
Format coordinates: Format coordinates in a variety of common notations.