R/utils.R
get_utm_zone.Rd
Get the UTM zone of a spatial object
get_utm_zone(x)
Object in any class accepted by as_bbox()
as_bbox()
The EPSG code of the UTM zone
# Get EPSG code for UTM zone of Bucharest bb <- c(xmin = 25.97, ymin = 44.33, xmax = 26.23, ymax = 44.54) get_utm_zone(bb) #> [1] 32635