Skip to contents

Finds the UTM zone for a geographic coordinate

Usage

geo2utm(x, lat = NULL)

Arguments

x

Longitude in decimal degrees. Can also be a numeric vector of length 2 containing longitude and latitude values.

lat

Latitude in decimal degrees (omit if x is a vector of long and lat)

Value

The EPSG number of the correct UTM zone

Details

This will return the EPSG number of the UTM zone in which x falls