utmzone

Select UTM zone given latitude and longitude

Syntax

zone = utmzone
zone = utmzone(lat,long)
zone = utmzone(mat),
[latlim,lonlim] = utmzone(zone)
lim = utmzone(zone)

Description

zone = utmzone selects a Universal Transverse Mercator (UTM) zone with a graphical user interface. Returns the UTM zone designation as a character vector.

zone = utmzone(lat,long) returns the UTM zone containing the geographic coordinates. If lat and long are vectors, the zone containing the geographic mean of the data set is returned. The geographic coordinates must be in units of degrees.

zone = utmzone(mat), where mat is of the form [lat long].

[latlim,lonlim] = utmzone(zone) returns the geographic limits of the zone, where zone is a valid UTM zone designation. Valid UTM zones designations are numbers, or numbers followed by a single letter. For example, '31' or '31N'. The returned limits are in units of degrees.

lim = utmzone(zone) returns the limits in a single vector output.

Background

The Universal Transverse Mercator (UTM) system of projections tiles the world into quadrangles called zones. This function can be used to identify which zone is used for a geographic area and, conversely, what geographic limits apply to a UTM zone.

Examples

[latlim,lonlim] = utmzone('12F')

latlim =
   -56   -48
lonlim =
  -114  -108

utmzone(latlim,lonlim)

ans =
12F

Limitations

The UTM zone system is based on a regular division of the globe, with the exception of a few zones in northern Europe. utmzone does not account for these deviations.

See Also

Introduced before R2006a