getUTMZone {utilitiesR}R Documentation

Calculates the UTM zone a longitude falls in.

Description

Calculates the UTM zone a longitude falls in.

Usage

  getUTMZone(long)

Arguments

long

a vector of longitudes.

Details

From Wikipedia[1]:

The UTM system divides the Earth between 80S and 84N latitude into 60 zones, each 6 degrees of longitude in width. Zone 1 covers longitude 180W to 174W; zone numbering increases eastward to zone 60 that covers longitude 174 to 180E.

We take each interval to include the starting longitude and exclude the ending one, so e.g. Zone 1 is [-180, -174); Zone 2 is [-174, -168); ..., Zone 60 is [174, 180).

Value

a vector of the same length as 'long' with the zone the longitude is in.

See Also

http://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system

Other coordinates: formatGPS, GPS2UTM, UTM2GPS


[Package utilitiesR version 2.0 Index]