toUtmOrNull

fun toUtmOrNull(point: Point, utmConversionMode: UtmConversionMode, addSpaces: Boolean): String?

Returns a formatted coordinate in Universal Transverse Mercator (UTM) notation representing the given point's location. Example output for a point in the southern hemisphere: utm_conversion_mode | add_spaces | Example output -------------------------------------------- | ------------------- | ------------------- UtmConversionMode.LatitudeBandIndicators | false | 30U4898846199881 UtmConversionMode.LatitudeBandIndicators | true | 30U 489884 6199881 UtmConversionMode.NorthSouthIndicators | false | 30N4898846199881 UtmConversionMode.NorthSouthIndicators | true | 30N 489884 6199881

The point must have a spatial reference. Returns null on error.

Return

A UTM notation string representing the position of the given point.

Since

200.1.0