Main Content

utmzoneui

Identify UTM zone by clicking map

    Description

    example

    zone = utmzoneui opens the Pick UTM Zone dialog box, which enables you to interactively identify a Universal Transverse Mercator (UTM) zone by clicking a world map. For more information about UTM zones, see Create UTM Maps.

    zone = utmzoneui(zoneIn) opens the Pick UTM Zone dialog box and highlights the specified zone on a world map.

    Examples

    collapse all

    Open the Pick UTM Zone dialog box.

    zone = utmzoneui

    Identify a zone in Europe by clicking the map. The function highlights the zone on the map and displays the zone in the UTM Zone box.

    Pick UTM Zone dialog box

    Return the UTM zone by clicking Accept.

    zone =
    
        '31T'

    Open the Pick UTM Zone dialog box.

    zone = utmzoneui

    View zone 19F on the map by typing 19F in the UTM Zone box and pressing Enter.

    Pick UTM Zone dialog box

    Return the UTM zone by clicking Accept.

    zone =
    
        '19F'

    Input Arguments

    collapse all

    Initial UTM zone, specified as a character vector or a string scalar in one of these forms:

    • Zone number and latitude band letter — An integer from 1 to 60 followed by a letter from C to X (excluding I and O), such as "19T". The letters are case-insensitive. The letters N and S refer to latitude band letters, not the northern and southern hemispheres. When you specify a zone number and latitude band letter, the Pick UTM Zone dialog box highlights the zone.

    • Zone number — An integer from 1 to 60, such as "19". When you specify a zone number, the Pick UTM Zone dialog box highlights all the latitude bands that correspond to the zone number.

    Data Types: char | string

    Output Arguments

    collapse all

    UTM zone, returned as a character vector.

    The UTM zone returned by the utmzoneui function contains a zone number or a zone number and a latitude band letter. Zone numbers are integers from 1 to 60 and latitude band letters are letters from C to X (excluding I and O). The letters N and S refer to latitude band letters, not the northern and southern hemispheres.

    Data Types: char

    Alternative Functionality

    The utmzone function enables you to:

    • Identify UTM zones from latitude and longitude coordinates.

    • Find the latitude and longitude limits of UTM zones.

    Version History

    Introduced before R2006a

    expand all