Finds the UTM zone for a geographic coordinate

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

Value

A crs object of the correct UTM zone

Details

This will return a crs object (from the sf package) for the correct UTM zone.