Method FromUtm
FromUtm(String, SpatialReference, UtmConversionMode)
Parses a coordinate in the Universal Transverse Mercator (UTM) notation and returns a Map
Declaration
public static MapPoint FromUtm(string coordinates, SpatialReference spatialReference, UtmConversionMode utmConversionMode)
Parameters
Type | Name | Description |
---|---|---|
System. |
coordinates | The UTM notation string for the coordinate. |
Spatial |
spatialReference | An optional Spatial |
Utm |
utmConversionMode | The latitude notation scheme used by the given UTM coordinate: either a latitudinal band or a hemisphere designator. |
Returns
Type | Description |
---|---|
Map |
A Map |
Remarks
The provided spatialReference
parameter must have an ellipsoid and datum matching those used
by the source of the UTM string. If no Spatial
UTM notation examples |
---|
30U 489885 6199877 |
30U4898856199877 |
30N 489885 6199877 (using N/S indicator) |
489885.32,6199877.36,30U (this form supports sub-meter precision) |
Exceptions
Type | Condition |
---|---|
System. |
|
Arc |
Given coordinates could not be parsed or converted. |
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 |