ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / SpatialReferenceBuilder Class / CreateWgs84UtmFromLocation Method
The longitude in decimal degrees of the location point. Must be between -180 and 180 inclusive.
The latitude in decimal degrees of the location point. Must be between -90 and 90 inclusive.

In This Topic
    CreateWgs84UtmFromLocation Method
    In This Topic
    Creates a WGS84 UTM zone spatial reference
    Syntax
    public static SpatialReference CreateWgs84UtmFromLocation( 
       double longitude,
       double latitude
    )
    Public Shared Function CreateWgs84UtmFromLocation( _
       ByVal longitude As Double, _
       ByVal latitude As Double _
    ) As SpatialReference

    Parameters

    longitude
    The longitude in decimal degrees of the location point. Must be between -180 and 180 inclusive.
    latitude
    The latitude in decimal degrees of the location point. Must be between -90 and 90 inclusive.

    Return Value

    WGS84 UTM zone spatial reference
    Exceptions
    ExceptionDescription
    The double argument is NaN.
    Invalid longitude or latitude value.
    Remarks
    The UTM (Universal Transverse Mercator) coordinate system divides the world into sixty north-south zones, each 6 degrees of longitude wide. Zone 1 begins at 180W, Zone 2 begins at 174W, Zone 3 begins at 168W, and so on. Each zone has a separate definited for the northern and southern hemisphere. For example, the point with coordinates (123.7, -22.3) is in WGS_1984_UTM_Zone_51S, and the point with coordinate (123.7, 22.3) is in WGS_1984_UTM_Zone_51N.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also