UTMzone: UTM zone information

View source: R/UTMzone.R

UTMzoneR Documentation

UTM zone information

Description

Return the UTM zone information

Usage

UTMzone(lat, lon = NA)

Arguments

lat

latitude

lon

longitude

Details

The function works two ways: If the lat-lon are numeric and lon is not NA then the UTM zone information is returned. If lon is NA and lat is one of the UTM zones, then the lat-lon information for that zone is returned.

Value

list:

zone

Character, zone designation

LON

longitude range of the zone

LAT

latitude range of the zone

CEN

center of the zone, used for projections

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

setPROJ, UTM.xy, UTM.ll, DATUMinfo

Examples

lat = 40.5
  lon = -73.50
UTMzone(lat, lon)
##  or
UTMzone("18T")

GEOmap documentation built on Sept. 1, 2023, 5:09 p.m.