Learn R Programming

GEOmap (version 2.5-11)

UTMzone: UTM zone information

Description

Return the UTM zone information

Usage

UTMzone(lat, lon = NA)

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

Arguments

lat

latitude

lon

longitude

Author

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

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.

See Also

setPROJ, UTM.xy, UTM.ll, DATUMinfo

Examples

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

Run the code above in your browser using DataLab